openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RS_BA_RFC_INFOPROV_GETPACK:
    post:
      tags:
      - RS_BA_RFC_INFOPROV
      operationId: /rfc/RS_BA_RFC_INFOPROV_GETPACK
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_ID:
                  type: string
                  maxLength: 32
                I_PACKNO:
                  type: integer
                  format: int64
                I_UC_RESULT:
                  type: string
                  default: ' '
                  maxLength: 1
                E_TAB_RFC_DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      CONT:
                        type: string
                        maxLength: 1
                        description: 'Data element for domain BOOLE: TRUE (=''X'') and FALSE (='' '')'
                      LINE:
                        type: string
                        maxLength: 255
                        description: Char255
                E_TAB_RFC_FIELDS:
                  type: array
                  items:
                    type: object
                    properties:
                      FIELDPOS:
                        type: integer
                        format: int32
                        description: 'DM API: Position'
                      FIELDNAME:
                        type: string
                        maxLength: 30
                        description: 'DM API: Table column / field name'
                      FIELDTYPE:
                        type: string
                        maxLength: 1
                        description: 'DM API: Field data type'
                      FIELDLENGTH:
                        type: integer
                        format: int32
                        description: 'DM API: Field length'
              required:
              - I_ID
              - I_PACKNO
              - I_UC_RESULT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_RFCDATA_UC:
                    type: string
                    format: byte
                  E_STR_PACKINFO:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 32
                        description: Identifikator für einen Selektionslauf (GUID32)
                      INFOPROV:
                        type: string
                        maxLength: 30
                        description: InfoProvider
                      INFOPROV_STRUC:
                        type: string
                        maxLength: 30
                        description: Table Name
                      PACKNO:
                        type: integer
                        format: int64
                        description: Nummer des Datenpaketes beim Lesen eines InfoProviders
                      END_OF_DATA:
                        type: string
                        maxLength: 1
                        description: 'Boolean  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
                  E_TAB_RFC_DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        CONT:
                          type: string
                          maxLength: 1
                          description: 'Data element for domain BOOLE: TRUE (=''X'') and FALSE (='' '')'
                        LINE:
                          type: string
                          maxLength: 255
                          description: Char255
                  E_TAB_RFC_FIELDS:
                    type: array
                    items:
                      type: object
                      properties:
                        FIELDPOS:
                          type: integer
                          format: int32
                          description: 'DM API: Position'
                        FIELDNAME:
                          type: string
                          maxLength: 30
                          description: 'DM API: Table column / field name'
                        FIELDTYPE:
                          type: string
                          maxLength: 1
                          description: 'DM API: Field data type'
                        FIELDLENGTH:
                          type: integer
                          format: int32
                          description: 'DM API: Field length'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
