openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/LDB_CALL_LDB_PROCESS:
    post:
      tags:
      - SLDBFREE
      operationId: /rfc/LDB_CALL_LDB_PROCESS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                R_LDBNAME:
                  type: string
                  maxLength: 20
                R_VARIANT:
                  type: string
                  maxLength: 14
                R_CALLBACK:
                  type: array
                  items:
                    type: object
                    properties:
                      LDBNODE:
                        type: string
                        maxLength: 14
                        description: Logical node name
                      GET:
                        type: string
                        maxLength: 1
                        description: 'Flag: Direct callback call (corresponds to GET event)  enumValues: X='
                        enum:
                        - X
                      GET_LATE:
                        type: string
                        maxLength: 1
                        description: 'Flag: Callback call delayed (Corresponds to LATE event)  enumValues: X='
                        enum:
                        - X
                      CB_PROG:
                        type: string
                        maxLength: 40
                        description: Callback routine program
                      CB_FORM:
                        type: string
                        maxLength: 30
                        description: Callback Routine Name
                R_EXPRESSIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      LOGOP:
                        type: string
                        maxLength: 3
                        description: 'Logical operation  enumValues: NOT='
                        enum:
                        - NOT
                      ARITY:
                        type: integer
                        format: int32
                        description: Priority of logical operation
                      FIELDNAME:
                        type: string
                        maxLength: 30
                        description: Field Name
                      OPTION:
                        type: string
                        maxLength: 2
                        description: 'ABAP: Selection option (EQ/BT/CP/...)'
                      LOW:
                        type: string
                        maxLength: 45
                        description: 'ABAP/4: Selection value (LOW or HIGH value, external format)'
                      HIGH:
                        type: string
                        maxLength: 45
                        description: 'ABAP/4: Selection value (LOW or HIGH value, external format)'
                R_FIELDTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      FIELDS:
                        type: string
                        maxLength: 30
                        description: Field Name
                R_FTABLETAB:
                  type: array
                  items:
                    type: object
                    properties:
                      TABLENAME:
                        type: string
                        maxLength: 30
                        description: Table Name
                      FROM_INDEX:
                        type: integer
                        format: int32
                        description: Index of Internal Tables
                      TO_INDEX:
                        type: integer
                        format: int32
                        description: Index of Internal Tables
                R_SELECTIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      SELNAME:
                        type: string
                        maxLength: 8
                        description: 'ABAP/4: Name of SELECT-OPTION / PARAMETER'
                      KIND:
                        type: string
                        maxLength: 1
                        description: 'ABAP: Type of selection'
                      SIGN:
                        type: string
                        maxLength: 1
                        description: 'ABAP: ID: I/E (include/exclude values)'
                      OPTION:
                        type: string
                        maxLength: 2
                        description: 'ABAP: Selection option (EQ/BT/CP/...)'
                      LOW:
                        type: string
                        maxLength: 45
                        description: 'ABAP/4: Selection value (LOW or HIGH value, external format)'
                      HIGH:
                        type: string
                        maxLength: 45
                        description: 'ABAP/4: Selection value (LOW or HIGH value, external format)'
                R_TEXPRI:
                  type: array
                  items:
                    type: object
                    properties:
                      TABLENAME:
                        type: string
                        maxLength: 30
                        description: Table Name
                      FROM_INDEX:
                        type: integer
                        format: int32
                        description: Index of Internal Tables
                      TO_INDEX:
                        type: integer
                        format: int32
                        description: Index of Internal Tables
              required:
              - R_LDBNAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  R_MSG:
                    type: object
                    properties:
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      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
                  R_CALLBACK:
                    type: array
                    items:
                      type: object
                      properties:
                        LDBNODE:
                          type: string
                          maxLength: 14
                          description: Logical node name
                        GET:
                          type: string
                          maxLength: 1
                          description: 'Flag: Direct callback call (corresponds to GET event)  enumValues: X='
                          enum:
                          - X
                        GET_LATE:
                          type: string
                          maxLength: 1
                          description: 'Flag: Callback call delayed (Corresponds to LATE event)  enumValues: X='
                          enum:
                          - X
                        CB_PROG:
                          type: string
                          maxLength: 40
                          description: Callback routine program
                        CB_FORM:
                          type: string
                          maxLength: 30
                          description: Callback Routine Name
                  R_EXPRESSIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        LOGOP:
                          type: string
                          maxLength: 3
                          description: 'Logical operation  enumValues: NOT='
                          enum:
                          - NOT
                        ARITY:
                          type: integer
                          format: int32
                          description: Priority of logical operation
                        FIELDNAME:
                          type: string
                          maxLength: 30
                          description: Field Name
                        OPTION:
                          type: string
                          maxLength: 2
                          description: 'ABAP: Selection option (EQ/BT/CP/...)'
                        LOW:
                          type: string
                          maxLength: 45
                          description: 'ABAP/4: Selection value (LOW or HIGH value, external format)'
                        HIGH:
                          type: string
                          maxLength: 45
                          description: 'ABAP/4: Selection value (LOW or HIGH value, external format)'
                  R_FIELDTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        FIELDS:
                          type: string
                          maxLength: 30
                          description: Field Name
                  R_FTABLETAB:
                    type: array
                    items:
                      type: object
                      properties:
                        TABLENAME:
                          type: string
                          maxLength: 30
                          description: Table Name
                        FROM_INDEX:
                          type: integer
                          format: int32
                          description: Index of Internal Tables
                        TO_INDEX:
                          type: integer
                          format: int32
                          description: Index of Internal Tables
                  R_SELECTIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        SELNAME:
                          type: string
                          maxLength: 8
                          description: 'ABAP/4: Name of SELECT-OPTION / PARAMETER'
                        KIND:
                          type: string
                          maxLength: 1
                          description: 'ABAP: Type of selection'
                        SIGN:
                          type: string
                          maxLength: 1
                          description: 'ABAP: ID: I/E (include/exclude values)'
                        OPTION:
                          type: string
                          maxLength: 2
                          description: 'ABAP: Selection option (EQ/BT/CP/...)'
                        LOW:
                          type: string
                          maxLength: 45
                          description: 'ABAP/4: Selection value (LOW or HIGH value, external format)'
                        HIGH:
                          type: string
                          maxLength: 45
                          description: 'ABAP/4: Selection value (LOW or HIGH value, external format)'
                  R_TEXPRI:
                    type: array
                    items:
                      type: object
                      properties:
                        TABLENAME:
                          type: string
                          maxLength: 30
                          description: Table Name
                        FROM_INDEX:
                          type: integer
                          format: int32
                          description: Index of Internal Tables
                        TO_INDEX:
                          type: integer
                          format: int32
                          description: Index of Internal Tables
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
