openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/IQAPI_FILTER_CONTENT:
    post:
      tags:
      - IQAPI_QUERY
      operationId: /rfc/IQAPI_FILTER_CONTENT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                FILTERNAME:
                  type: string
                  maxLength: 14
                  description: 'ABAP: Name of Variant (Without Program Name)'
                QUERY:
                  type: string
                  maxLength: 30
                  description: 'InfoSet Query: Query Name'
              required:
              - FILTERNAME
              - QUERY
      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
                  FILTER:
                    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'
                        SIGN:
                          type: string
                          maxLength: 1
                          description: 'ABAP: ID: I/E (include/exclude values)'
                        OPTI:
                          type: string
                          maxLength: 2
                          description: 'ABAP: Selection option (EQ/BT/CP/...)'
                        LOW:
                          type: string
                          maxLength: 132
                          description: 'Selection variants: Field content (LOW/HIGH)'
                        HIGH:
                          type: string
                          maxLength: 132
                          description: 'Selection variants: Field content (LOW/HIGH)'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
