openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/IQAPI_CREATE_FILTER:
    post:
      tags:
      - IQAPI_QUERY
      operationId: /rfc/IQAPI_CREATE_FILTER
      requestBody:
        content:
          application/json:
            schema:
              properties:
                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)'
                FILTERNAME:
                  type: string
                  maxLength: 14
                  description: 'ABAP: Name of Variant (Without Program Name)'
                QUERY:
                  type: string
                  maxLength: 30
                  description: 'InfoSet Query: Query Name'
              required:
              - FILTER
              - FILTERNAME
              - QUERY
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
