openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RPY_TABLE_READ_SHORT:
    post:
      tags:
      - SIFD
      operationId: /rfc/RPY_TABLE_READ_SHORT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACTIVATION_TYPE:
                  type: string
                  default: M
                  maxLength: 1
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                TABLE_NAME:
                  type: string
                  maxLength: 30
                TABL_FIELDS:
                  type: array
                  items:
                    type: object
                    properties:
                      TABLNAME:
                        type: string
                        maxLength: 30
                        description: Table Name
                      FIELDNAME:
                        type: string
                        maxLength: 30
                        description: Field Name
                      DTELNAME:
                        type: string
                        maxLength: 30
                        description: Data element (semantic domain)
                      CHECKTABLE:
                        type: string
                        maxLength: 30
                        description: Check table name of the foreign key
                      KEYFLAG:
                        type: string
                        maxLength: 1
                        description: 'Identifies a key field of a table  enumValues: X=Key field,""=No key field'
                        enum:
                        - X
                        - ''
              required:
              - TABLE_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ACTIVATION_TYPE_O:
                    type: string
                    maxLength: 1
                  TABL_INF:
                    type: object
                    properties:
                      TABLNAME:
                        type: string
                        maxLength: 30
                        description: Table Name
                      LANGUAGE:
                        type: string
                        maxLength: 1
                        description: Language Key
                      TABLCLASS:
                        type: string
                        maxLength: 8
                        description: 'Table category  enumValues: TRANSP=Transparent table,CLUSTER=Cluster table,VIEW=General view structure,APPEND=Append structure,INTTAB=Structure,POOL=Pooled table'
                        enum:
                        - TRANSP
                        - CLUSTER
                        - VIEW
                        - APPEND
                        - INTTAB
                        - POOL
                      SQLTAB:
                        type: string
                        maxLength: 10
                        description: SQL table name
                      BUFFERED:
                        type: string
                        maxLength: 1
                        description: 'Buffering flag  enumValues: ""='' '': buffering not allowed,E=''E'': buffering allowed (internal indicator),X=''X'': buffering allowed'
                        enum:
                        - ''
                        - E
                        - X
                      SHORTTEXT:
                        type: string
                        maxLength: 60
                        description: Explanatory short text
                      ACTTYPE:
                        type: integer
                        format: int64
                        description: 'Activation type  enumValues: 10=Initial table required before R3TRANS runs,02=C structures must be adapted when tables are changed,00=No classification,01=Nametab generation not in online (only via C program)'
                        enum:
                        - '10'
                        - '02'
                        - '00'
                        - '01'
                      INCLEXIST:
                        type: string
                        maxLength: 1
                        description: 'Language dependency  enumValues: ""=Table may not contain INCLUDE to other tables,X=Table contains only INCLUDE to other tables'
                        enum:
                        - ''
                        - X
                      MASTERLANG:
                        type: string
                        maxLength: 1
                        description: Original Language in Repository objects
                      MAINTFLAG:
                        type: string
                        maxLength: 1
                        description: 'Flag if Maintenance with Standard Tools is allowed  enumValues: N=Display/Maintenance Not Allowed,""=Display/Maintenance Allowed with Restrictions,X=Display/Maintenance Allowed'
                        enum:
                        - N
                        - ''
                        - X
                      DELIVERYCL:
                        type: string
                        maxLength: 1
                        description: 'Delivery class  enumValues: C=Customizing table, maintenance only by cust., not SAP import,G=Customizing table, protected against SAP Upd., only INS all.,A=Application table (master and transaction data),E=Control table, SAP and customer have separate key areas,W=System table, contents transportable via separate TR objects,S=System table, maint. only by SAP, change = modification,L=Table for storing temporary data, delivered empty'
                        enum:
                        - C
                        - G
                        - A
                        - E
                        - W
                        - S
                        - L
                      MOD_USER:
                        type: string
                        maxLength: 12
                        description: Last Changed by
                      MOD_DATE:
                        type: string
                        format: date
                        description: Date of Last Change
                      MOD_TIME:
                        type: string
                        maxLength: 6
                        description: Last changed at
                  TABL_FIELDS:
                    type: array
                    items:
                      type: object
                      properties:
                        TABLNAME:
                          type: string
                          maxLength: 30
                          description: Table Name
                        FIELDNAME:
                          type: string
                          maxLength: 30
                          description: Field Name
                        DTELNAME:
                          type: string
                          maxLength: 30
                          description: Data element (semantic domain)
                        CHECKTABLE:
                          type: string
                          maxLength: 30
                          description: Check table name of the foreign key
                        KEYFLAG:
                          type: string
                          maxLength: 1
                          description: 'Identifies a key field of a table  enumValues: X=Key field,""=No key field'
                          enum:
                          - X
                          - ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
