openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/FDT_RFC_SET_TABLE_REQUEST:
    post:
      tags:
      - FDT_RFC_EXPR_TABLE_REQUEST
      summary: 'FDT: Sets an dispatcher expression'
      operationId: /rfc/FDT_RFC_SET_TABLE_REQUEST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IS_TABLE_REQUEST:
                  type: object
                  properties:
                    STRUCTURE:
                      type: string
                      maxLength: 30
                      description: 'SFDT_SPECIAL_RFC: Name of Structure/Table in DDIC'
                    FIELD:
                      type: string
                      maxLength: 30
                      description: 'SFDT_SPECIAL_RFC: Field Name of Structure'
                    UNIT_FIELD:
                      type: string
                      maxLength: 30
                      description: 'SFDT_SPECIAL_RFC: Currency and unit key field'
                    UNIT_STRUCTURE:
                      type: string
                      maxLength: 30
                      description: 'SFDT_SPECIAL_RFC: Reference structure unit key'
                    FUNCTION_MODULE:
                      type: string
                      maxLength: 30
                      description: 'SFDT_SPECIAL_RFC: Access Function Module'
                    DISPATCHER:
                      type: string
                      maxLength: 32
                      description: 'SFDT_SPECIAL_RFC: Universal Unique Identifier'
                    DISPATCHER_NAME:
                      type: string
                      maxLength: 80
                      description: 'SFDT_SPECIAL_RFC: Name'
                IV_ID:
                  type: string
                  maxLength: 32
                  description: 'FDT: Universal Unique Identifier'
                ET_RETURN:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 32
                        description: 'FDT: Universal Unique Identifier'
                      DISPLAY_NAME:
                        type: string
                        maxLength: 80
                        description: 'FDT: Display Name for RFC'
                      OBJECT_TYPE:
                        type: string
                        maxLength: 2
                        description: 'FDT: Object Type  enumValues: DO=Data Object,FU=Function,RS=Ruleset,EX=Expression,FI=Filter,AP=Application,CA=Catalog,ET=Expression Type'
                        enum:
                        - DO
                        - FU
                        - RS
                        - EX
                        - FI
                        - AP
                        - CA
                        - ET
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGNO:
                        type: integer
                        format: int64
                        description: Message Number
                      MSGV1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGTEXT:
                        type: string
                        maxLength: 250
                        description: 'FDT RFC: Message text'
                      SOURCE:
                        type: string
                        maxLength: 100
                        description: 'FDT RFC: Source(Code) of an error'
                IT_WHERE:
                  type: array
                  items:
                    type: object
                    properties:
                      SEQUENCE_NUMBER:
                        type: integer
                        format: int64
                        description: 'SFDT_SPECIAL_RFC: Sequence number'
                      FIELD:
                        type: string
                        maxLength: 30
                        description: 'SFDT_SPECIAL_RFC: Field Name of Structure'
                      OPERATOR:
                        type: string
                        maxLength: 2
                        description: 'SFDT_SPECIAL_RFC: Value request table select operations  enumValues: ==equal,<=lower then,<==lower equal,=I=is initial,<>=not equal,>=greater then,>==greater equal,""=is not initial'
                        enum:
                        - =
                        - <
                        - <=
                        - =I
                        - <>
                        - '>'
                        - '>='
                        - ''
                      WHERE_PARAMETER:
                        type: string
                        maxLength: 32
                        description: 'SFDT_SPECIAL_RFC: Universal Unique Identifier'
                      WHERE_NAME:
                        type: string
                        maxLength: 80
                        description: 'SFDT_SPECIAL_RFC: Name'
                      LOGICAL:
                        type: string
                        maxLength: 1
                        description: 'SFDT_SPECIAL_RFC: AND/OR operation for value request table  enumValues: ""=,O=Or,A=And'
                        enum:
                        - ''
                        - O
                        - A
              required:
              - IS_TABLE_REQUEST
              - IV_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_RETURN:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 32
                          description: 'FDT: Universal Unique Identifier'
                        DISPLAY_NAME:
                          type: string
                          maxLength: 80
                          description: 'FDT: Display Name for RFC'
                        OBJECT_TYPE:
                          type: string
                          maxLength: 2
                          description: 'FDT: Object Type  enumValues: DO=Data Object,FU=Function,RS=Ruleset,EX=Expression,FI=Filter,AP=Application,CA=Catalog,ET=Expression Type'
                          enum:
                          - DO
                          - FU
                          - RS
                          - EX
                          - FI
                          - AP
                          - CA
                          - ET
                        MSGID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        MSGTY:
                          type: string
                          maxLength: 1
                          description: Message Type
                        MSGNO:
                          type: integer
                          format: int64
                          description: Message Number
                        MSGV1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGTEXT:
                          type: string
                          maxLength: 250
                          description: 'FDT RFC: Message text'
                        SOURCE:
                          type: string
                          maxLength: 100
                          description: 'FDT RFC: Source(Code) of an error'
                  IT_WHERE:
                    type: array
                    items:
                      type: object
                      properties:
                        SEQUENCE_NUMBER:
                          type: integer
                          format: int64
                          description: 'SFDT_SPECIAL_RFC: Sequence number'
                        FIELD:
                          type: string
                          maxLength: 30
                          description: 'SFDT_SPECIAL_RFC: Field Name of Structure'
                        OPERATOR:
                          type: string
                          maxLength: 2
                          description: 'SFDT_SPECIAL_RFC: Value request table select operations  enumValues: ==equal,<=lower then,<==lower equal,=I=is initial,<>=not equal,>=greater then,>==greater equal,""=is not initial'
                          enum:
                          - =
                          - <
                          - <=
                          - =I
                          - <>
                          - '>'
                          - '>='
                          - ''
                        WHERE_PARAMETER:
                          type: string
                          maxLength: 32
                          description: 'SFDT_SPECIAL_RFC: Universal Unique Identifier'
                        WHERE_NAME:
                          type: string
                          maxLength: 80
                          description: 'SFDT_SPECIAL_RFC: Name'
                        LOGICAL:
                          type: string
                          maxLength: 1
                          description: 'SFDT_SPECIAL_RFC: AND/OR operation for value request table  enumValues: ""=,O=Or,A=And'
                          enum:
                          - ''
                          - O
                          - A
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
