openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/IQAPI_QCALL_DATADESC_REMOTE:
    post:
      tags:
      - IQAPI_QUERY_CALL
      operationId: /rfc/IQAPI_QCALL_DATADESC_REMOTE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                OLD_QID:
                  type: object
                  properties:
                    WORKSPACE:
                      type: string
                      maxLength: 1
                      description: 'SAP Query (L): Work area ID'
                    USERGROUP:
                      type: string
                      maxLength: 12
                      description: 'SAP Query (L): Name of a user group'
                    QUERY:
                      type: string
                      maxLength: 14
                      description: 'SAP Query (L): Query name (old)'
                QUERY:
                  type: string
                  maxLength: 30
                  description: Query name
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  FILDESC:
                    type: array
                    items:
                      type: object
                      properties:
                        TAB:
                          type: string
                          maxLength: 30
                          description: Table Name
                        FIELD:
                          type: string
                          maxLength: 30
                          description: Field Name
                        TEXTFIELD:
                          type: string
                          maxLength: 1
                          description: 'InfoSet Query: Boolean Value'
                        NAME:
                          type: string
                          maxLength: 8
                          description: 'ABAP/4: Name of SELECT-OPTION / PARAMETER'
                        KIND:
                          type: string
                          maxLength: 1
                          description: 'ABAP: Type of selection'
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'ABAP/4: Selection field type'
                        LENGTH:
                          type: integer
                          format: int32
                          description: 'ABAP/4: Length of selection field'
                        CHE_RAD:
                          type: string
                          maxLength: 1
                          description: CHAR01 data element for SYST
                        ID:
                          type: string
                          maxLength: 4
                          description: CHAR04 data element for SYST
                        NODI:
                          type: string
                          maxLength: 1
                          description: CHAR01 data element for SYST
                        OBLIGATORY:
                          type: string
                          maxLength: 1
                          description: CHAR01 data element for SYST
                  FULL_MODE:
                    type: string
                    maxLength: 1
                  REPORT:
                    type: string
                    maxLength: 40
                  STRUCT_DESC:
                    type: array
                    items:
                      type: object
                      properties:
                        TABNAME:
                          type: string
                          maxLength: 30
                          description: Table Name
                        FIELDNAME:
                          type: string
                          maxLength: 30
                          description: Field Name
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        POSITION:
                          type: integer
                          format: int64
                          description: Position of the field in the table
                        OFFSET:
                          type: integer
                          format: int64
                          description: Offset of a field
                        DOMNAME:
                          type: string
                          maxLength: 30
                          description: Domain name
                        ROLLNAME:
                          type: string
                          maxLength: 30
                          description: Data element (semantic domain)
                        CHECKTABLE:
                          type: string
                          maxLength: 30
                          description: Table Name
                        LENG:
                          type: integer
                          format: int64
                          description: Length (No. of Characters)
                        INTLEN:
                          type: integer
                          format: int64
                          description: Internal Length in Bytes
                        OUTPUTLEN:
                          type: integer
                          format: int64
                          description: Output Length
                        DECIMALS:
                          type: integer
                          format: int64
                          description: Number of Decimal Places
                        DATATYPE:
                          type: string
                          maxLength: 4
                          description: 'ABAP/4 Dictionary: Screen data type for Screen Painter'
                        INTTYPE:
                          type: string
                          maxLength: 1
                          description: ABAP data type (C,D,N,...)
                        REFTABLE:
                          type: string
                          maxLength: 30
                          description: Table for reference field
                        REFFIELD:
                          type: string
                          maxLength: 30
                          description: Reference field for currency and qty fields
                        PRECFIELD:
                          type: string
                          maxLength: 30
                          description: Name of included table
                        AUTHORID:
                          type: string
                          maxLength: 3
                          description: Authorization class
                        MEMORYID:
                          type: string
                          maxLength: 20
                          description: Set/Get parameter ID
                        LOGFLAG:
                          type: string
                          maxLength: 1
                          description: Indicator for writing change documents
                        MASK:
                          type: string
                          maxLength: 20
                          description: Template (not used)
                        MASKLEN:
                          type: integer
                          format: int64
                          description: Template length (not used)
                        CONVEXIT:
                          type: string
                          maxLength: 5
                          description: Conversion Routine
                        HEADLEN:
                          type: integer
                          format: int64
                          description: Maximum length of heading
                        SCRLEN1:
                          type: integer
                          format: int64
                          description: Max. length for short field label
                        SCRLEN2:
                          type: integer
                          format: int64
                          description: Max. length for medium field label
                        SCRLEN3:
                          type: integer
                          format: int64
                          description: Max. length for long field label
                        FIELDTEXT:
                          type: string
                          maxLength: 60
                          description: Short Description of Repository Objects
                        REPTEXT:
                          type: string
                          maxLength: 55
                          description: Heading
                        SCRTEXT_S:
                          type: string
                          maxLength: 10
                          description: Short Field Label
                        SCRTEXT_M:
                          type: string
                          maxLength: 20
                          description: Medium Field Label
                        SCRTEXT_L:
                          type: string
                          maxLength: 40
                          description: Long Field Label
                        KEYFLAG:
                          type: string
                          maxLength: 1
                          description: Identifies a key field of a table
                        LOWERCASE:
                          type: string
                          maxLength: 1
                          description: Lowercase letters allowed/not allowed
                        MAC:
                          type: string
                          maxLength: 1
                          description: Flag if search help is attached to the field
                        GENKEY:
                          type: string
                          maxLength: 1
                          description: Flag (X or Blank)
                        NOFORKEY:
                          type: string
                          maxLength: 1
                          description: Flag (X or Blank)
                        VALEXI:
                          type: string
                          maxLength: 1
                          description: Existence of fixed values
                        NOAUTHCH:
                          type: string
                          maxLength: 1
                          description: Flag (X or Blank)
                        SIGN:
                          type: string
                          maxLength: 1
                          description: Flag for sign in numerical fields
                        DYNPFLD:
                          type: string
                          maxLength: 1
                          description: 'Flag: field to be displayed on the screen'
                        F4AVAILABL:
                          type: string
                          maxLength: 1
                          description: Does the field have an input help
                        COMPTYPE:
                          type: string
                          maxLength: 1
                          description: 'DD: Component Type'
                        LFIELDNAME:
                          type: string
                          maxLength: 132
                          description: Field name
                        LTRFLDDIS:
                          type: string
                          maxLength: 1
                          description: Basic write direction has been defined LTR (left-to-right)
                        BIDICTRLC:
                          type: string
                          maxLength: 1
                          description: 'DD: No Filtering of BIDI Formatting Characters'
                  STRUCT_NAME:
                    type: string
                    maxLength: 30
                    description: Structure Name
                  TITLE:
                    type: string
                    maxLength: 60
                    description: Title of query
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
