openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/IQAPIX_QCALL_SELDESC_REMOTE:
    post:
      tags:
      - IQAPIX_QUERY_CALL_EXT
      summary: Selection description of a query
      operationId: /rfc/IQAPIX_QCALL_SELDESC_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: 'InfoSet Query: Query Name'
                SELDESC:
                  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  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                      NAME:
                        type: string
                        maxLength: 8
                        description: 'ABAP/4: Name of SELECT-OPTION / PARAMETER'
                      TEXT:
                        type: string
                        maxLength: 255
                        description: Selection text
                      SCRNUMB:
                        type: integer
                        format: int64
                        description: BDC Screen number
                      KIND:
                        type: string
                        maxLength: 1
                        description: 'ABAP: Type of selection'
                      OBLIGATORY:
                        type: string
                        maxLength: 1
                        description: 'Flag: obligatory'
                      SPAGPA:
                        type: string
                        maxLength: 20
                        description: Set/Get parameter ID
                      LOWER:
                        type: string
                        maxLength: 1
                        description: 'ABAP: Is upper/lower case allowed in selection?  enumValues: X='
                        enum:
                        - X
                      NO_DISPLAY:
                        type: string
                        maxLength: 1
                        description: 'Flag: no display'
                      CHECKBOX:
                        type: string
                        maxLength: 1
                        description: 'Flag: checkbox'
                      NO_INTERVALS:
                        type: string
                        maxLength: 1
                        description: 'Flag: no intervals'
                      NO_EXTENSION:
                        type: string
                        maxLength: 1
                        description: 'Flag: no extension'
                      NO_OPTION_NO_SIGN:
                        type: string
                        maxLength: 1
                        description: option and sign not allowed
                      RADIOBUTTON:
                        type: string
                        maxLength: 1
                        description: 'Flag: radtiobutton'
                      RGROUP:
                        type: string
                        maxLength: 4
                        description: Radiobutton group
                      VALUE_CHECK:
                        type: string
                        maxLength: 1
                        description: 'Flag: Value check'
                      DEFAULT_SIGN:
                        type: string
                        maxLength: 1
                        description: 'ABAP: ID: I/E (include/exclude values)'
                      DEFAULT_OPTION:
                        type: string
                        maxLength: 2
                        description: 'ABAP: Selection option (EQ/BT/CP/...)'
                      DEFAULT_LOW:
                        type: string
                        maxLength: 45
                        description: 'ABAP/4: Selection value (LOW or HIGH value, external format)'
                      DEFAULT_HIGH:
                        type: string
                        maxLength: 45
                        description: 'ABAP/4: Selection value (LOW or HIGH value, external format)'
                      NUMB:
                        type: integer
                        format: int32
                        description: 'ABAP: Sequential selection number'
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'ABAP/4: Selection field type'
                      DTYP:
                        type: string
                        maxLength: 4
                        description: 'ABAP: Dictionary type of a selection'
                      LENGTH:
                        type: integer
                        format: int32
                        description: 'ABAP/4: Length of selection field'
                      DECIMALS:
                        type: integer
                        format: int32
                        description: Decimals
                      OLENGTH:
                        type: integer
                        format: int32
                        description: 'ABAP: Output length of selection condition'
                      DBFIELD:
                        type: string
                        maxLength: 132
                        description: 'ABAP: Reference field for selection'
                      DB:
                        type: string
                        maxLength: 1
                        description: 'ABAP/4: Flag: Selection of log. database?'
                      CONVEXIT:
                        type: string
                        maxLength: 5
                        description: Conversion Routine
                      MATCHCODE:
                        type: string
                        maxLength: 30
                        description: 'ABAP/4: Matchcode entry on selection screen'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SELDESC:
                    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  enumValues: X=True,""=False'
                          enum:
                          - X
                          - ''
                        NAME:
                          type: string
                          maxLength: 8
                          description: 'ABAP/4: Name of SELECT-OPTION / PARAMETER'
                        TEXT:
                          type: string
                          maxLength: 255
                          description: Selection text
                        SCRNUMB:
                          type: integer
                          format: int64
                          description: BDC Screen number
                        KIND:
                          type: string
                          maxLength: 1
                          description: 'ABAP: Type of selection'
                        OBLIGATORY:
                          type: string
                          maxLength: 1
                          description: 'Flag: obligatory'
                        SPAGPA:
                          type: string
                          maxLength: 20
                          description: Set/Get parameter ID
                        LOWER:
                          type: string
                          maxLength: 1
                          description: 'ABAP: Is upper/lower case allowed in selection?  enumValues: X='
                          enum:
                          - X
                        NO_DISPLAY:
                          type: string
                          maxLength: 1
                          description: 'Flag: no display'
                        CHECKBOX:
                          type: string
                          maxLength: 1
                          description: 'Flag: checkbox'
                        NO_INTERVALS:
                          type: string
                          maxLength: 1
                          description: 'Flag: no intervals'
                        NO_EXTENSION:
                          type: string
                          maxLength: 1
                          description: 'Flag: no extension'
                        NO_OPTION_NO_SIGN:
                          type: string
                          maxLength: 1
                          description: option and sign not allowed
                        RADIOBUTTON:
                          type: string
                          maxLength: 1
                          description: 'Flag: radtiobutton'
                        RGROUP:
                          type: string
                          maxLength: 4
                          description: Radiobutton group
                        VALUE_CHECK:
                          type: string
                          maxLength: 1
                          description: 'Flag: Value check'
                        DEFAULT_SIGN:
                          type: string
                          maxLength: 1
                          description: 'ABAP: ID: I/E (include/exclude values)'
                        DEFAULT_OPTION:
                          type: string
                          maxLength: 2
                          description: 'ABAP: Selection option (EQ/BT/CP/...)'
                        DEFAULT_LOW:
                          type: string
                          maxLength: 45
                          description: 'ABAP/4: Selection value (LOW or HIGH value, external format)'
                        DEFAULT_HIGH:
                          type: string
                          maxLength: 45
                          description: 'ABAP/4: Selection value (LOW or HIGH value, external format)'
                        NUMB:
                          type: integer
                          format: int32
                          description: 'ABAP: Sequential selection number'
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'ABAP/4: Selection field type'
                        DTYP:
                          type: string
                          maxLength: 4
                          description: 'ABAP: Dictionary type of a selection'
                        LENGTH:
                          type: integer
                          format: int32
                          description: 'ABAP/4: Length of selection field'
                        DECIMALS:
                          type: integer
                          format: int32
                          description: Decimals
                        OLENGTH:
                          type: integer
                          format: int32
                          description: 'ABAP: Output length of selection condition'
                        DBFIELD:
                          type: string
                          maxLength: 132
                          description: 'ABAP: Reference field for selection'
                        DB:
                          type: string
                          maxLength: 1
                          description: 'ABAP/4: Flag: Selection of log. database?'
                        CONVEXIT:
                          type: string
                          maxLength: 5
                          description: Conversion Routine
                        MATCHCODE:
                          type: string
                          maxLength: 30
                          description: 'ABAP/4: Matchcode entry on selection screen'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
