openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SCDT_INPUT_CHECK:
    post:
      tags:
      - SCDT_CHECK_DATA
      operationId: /rfc/SCDT_INPUT_CHECK
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_FIELDNAME:
                  type: string
                  maxLength: 30
                  description: Field Name
                IV_TABNAME:
                  type: string
                  maxLength: 30
                  description: Table Name
                IV_VALUE:
                  type: string
                  maxLength: 128
                  description: 128 character
                ADDITIONAL_FIELDS:
                  type: array
                  items:
                    type: object
                    properties:
                      TABNAME:
                        type: string
                        maxLength: 30
                        description: Table Name
                      FIELDNAME:
                        type: string
                        maxLength: 132
                        description: Field name
                      VALUE:
                        type: string
                        maxLength: 128
                        description: 128 character
                      FOUND:
                        type: string
                        maxLength: 1
                        description: 'Flag if field exists  enumValues: X=TRUE,""=FALSE'
                        enum:
                        - X
                        - ''
                      EXTERNAL:
                        type: string
                        maxLength: 1
                        description: 'Flag if the value is given in external representation  enumValues: X=TRUE,""=FALSE'
                        enum:
                        - X
                        - ''
                FAILURE_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      FIELDNAME:
                        type: string
                        maxLength: 30
                        description: Field Name
                      ARBGB:
                        type: string
                        maxLength: 20
                        description: Application Area
                      MSGNR:
                        type: string
                        maxLength: 3
                        description: Message number
                      KEYVALUE:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      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
              required:
              - IV_VALUE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_MSGID:
                    type: string
                    maxLength: 20
                    description: Messages, Message Class
                  E_MSGNO:
                    type: integer
                    format: int64
                    description: Messages, Message Number
                  E_MSGTY:
                    type: string
                    maxLength: 1
                    description: Messages, Message Type
                  E_MSGV1:
                    type: string
                    maxLength: 50
                    description: Messages, Message Variable
                  E_MSGV2:
                    type: string
                    maxLength: 50
                    description: Messages, Message Variable
                  E_MSGV3:
                    type: string
                    maxLength: 50
                    description: Messages, Message Variable
                  E_MSGV4:
                    type: string
                    maxLength: 50
                    description: Messages, Message Variable
                  E_VALUE_INTERNAL:
                    type: string
                    maxLength: 128
                    description: 128 character
                  ADDITIONAL_FIELDS:
                    type: array
                    items:
                      type: object
                      properties:
                        TABNAME:
                          type: string
                          maxLength: 30
                          description: Table Name
                        FIELDNAME:
                          type: string
                          maxLength: 132
                          description: Field name
                        VALUE:
                          type: string
                          maxLength: 128
                          description: 128 character
                        FOUND:
                          type: string
                          maxLength: 1
                          description: 'Flag if field exists  enumValues: X=TRUE,""=FALSE'
                          enum:
                          - X
                          - ''
                        EXTERNAL:
                          type: string
                          maxLength: 1
                          description: 'Flag if the value is given in external representation  enumValues: X=TRUE,""=FALSE'
                          enum:
                          - X
                          - ''
                  FAILURE_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        FIELDNAME:
                          type: string
                          maxLength: 30
                          description: Field Name
                        ARBGB:
                          type: string
                          maxLength: 20
                          description: Application Area
                        MSGNR:
                          type: string
                          maxLength: 3
                          description: Message number
                        KEYVALUE:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
