openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CAT_DATAPROV_INIT:
    post:
      tags:
      - STTM
      operationId: /rfc/CAT_DATAPROV_INIT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ABLNR:
                  type: string
                  maxLength: 30
                COMMID:
                  type: string
                  maxLength: 8
                MODE:
                  type: string
                  default: R
                  maxLength: 1
                SUBID:
                  type: string
                  maxLength: 8
                DP_FLD:
                  type: array
                  items:
                    type: object
                    properties:
                      ABLNR:
                        type: string
                        maxLength: 30
                        description: CATT - Test case
                      COMMID:
                        type: string
                        maxLength: 8
                        description: Character field, 8 characters long
                      SUBID:
                        type: string
                        maxLength: 8
                        description: Character field, 8 characters long
                      CALLNO:
                        type: integer
                        format: int64
                        description: 10 digit number
                      ITYPE:
                        type: string
                        maxLength: 40
                        description: Character field of length 40
                      ISUBTYPE:
                        type: string
                        maxLength: 40
                        description: Character field of length 40
                      IDATE:
                        type: string
                        maxLength: 40
                        description: Character field of length 40
                      ITIME:
                        type: string
                        maxLength: 4
                        description: Not More Closely Defined Area, Possibly Used for Patchlevels
                      IDESC:
                        type: string
                        maxLength: 255
                        description: Text, 255 Characters
                      ISIZE:
                        type: integer
                        format: int32
                        description: Natural number
                      IPLATTFORM:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                DP_FOR:
                  type: array
                  items:
                    type: object
                    properties:
                      ABLNR:
                        type: string
                        maxLength: 30
                        description: CATT - Test case
                      COMMID:
                        type: string
                        maxLength: 8
                        description: Character field, 8 characters long
                      SUBID:
                        type: string
                        maxLength: 8
                        description: Character field, 8 characters long
                      CALLNO:
                        type: integer
                        format: int64
                        description: 10 digit number
                      LINNO:
                        type: integer
                        format: int64
                        description: 10 digit number
                      TABNAME:
                        type: string
                        maxLength: 30
                        description: Table Name
                      FIELDNAME:
                        type: string
                        maxLength: 30
                        description: Field Name
                      IPOSITION:
                        type: integer
                        format: int32
                        description: Position of field in structure (from 1)
                      IOFFSET:
                        type: integer
                        format: int32
                        description: Field offset from beginning of structure (from 0)
                      INTLENGTH:
                        type: integer
                        format: int32
                        description: Internal length of field
                      DECIMALS:
                        type: integer
                        format: int32
                        description: Number of decimal places
                      EXID:
                        type: string
                        maxLength: 1
                        description: ABAP Data Type
                DP_PRO:
                  type: array
                  items:
                    type: object
                    properties:
                      ABLNR:
                        type: string
                        maxLength: 30
                        description: CATT - Test case
                      COMMID:
                        type: string
                        maxLength: 8
                        description: Character field, 8 characters long
                      SUBID:
                        type: string
                        maxLength: 8
                        description: Character field, 8 characters long
                      CALLNO:
                        type: integer
                        format: int64
                        description: 10 digit number
                      LINNO:
                        type: integer
                        format: int64
                        description: 10 digit number
                      PROPNAME:
                        type: string
                        maxLength: 20
                        description: CHAR20 for SYST
                      PROPVAL:
                        type: string
                        maxLength: 60
                        description: CHAR60 data element for SYST
                DP_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      ABLNR:
                        type: string
                        maxLength: 30
                        description: CATT - Test case
                      COMMID:
                        type: string
                        maxLength: 8
                        description: Character field, 8 characters long
                      SUBID:
                        type: string
                        maxLength: 8
                        description: Character field, 8 characters long
                      CALLNO:
                        type: integer
                        format: int64
                        description: 10 digit number
                      LINNO:
                        type: integer
                        format: int64
                        description: 10 digit number
                      AUSRICHTER:
                        type: integer
                        format: int32
                        description: ''
                      DATA:
                        type: string
                        format: byte
                        description: DataProv data
              required:
              - ABLNR
              - COMMID
              - SUBID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DP_FLD:
                    type: array
                    items:
                      type: object
                      properties:
                        ABLNR:
                          type: string
                          maxLength: 30
                          description: CATT - Test case
                        COMMID:
                          type: string
                          maxLength: 8
                          description: Character field, 8 characters long
                        SUBID:
                          type: string
                          maxLength: 8
                          description: Character field, 8 characters long
                        CALLNO:
                          type: integer
                          format: int64
                          description: 10 digit number
                        ITYPE:
                          type: string
                          maxLength: 40
                          description: Character field of length 40
                        ISUBTYPE:
                          type: string
                          maxLength: 40
                          description: Character field of length 40
                        IDATE:
                          type: string
                          maxLength: 40
                          description: Character field of length 40
                        ITIME:
                          type: string
                          maxLength: 4
                          description: Not More Closely Defined Area, Possibly Used for Patchlevels
                        IDESC:
                          type: string
                          maxLength: 255
                          description: Text, 255 Characters
                        ISIZE:
                          type: integer
                          format: int32
                          description: Natural number
                        IPLATTFORM:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                  DP_FOR:
                    type: array
                    items:
                      type: object
                      properties:
                        ABLNR:
                          type: string
                          maxLength: 30
                          description: CATT - Test case
                        COMMID:
                          type: string
                          maxLength: 8
                          description: Character field, 8 characters long
                        SUBID:
                          type: string
                          maxLength: 8
                          description: Character field, 8 characters long
                        CALLNO:
                          type: integer
                          format: int64
                          description: 10 digit number
                        LINNO:
                          type: integer
                          format: int64
                          description: 10 digit number
                        TABNAME:
                          type: string
                          maxLength: 30
                          description: Table Name
                        FIELDNAME:
                          type: string
                          maxLength: 30
                          description: Field Name
                        IPOSITION:
                          type: integer
                          format: int32
                          description: Position of field in structure (from 1)
                        IOFFSET:
                          type: integer
                          format: int32
                          description: Field offset from beginning of structure (from 0)
                        INTLENGTH:
                          type: integer
                          format: int32
                          description: Internal length of field
                        DECIMALS:
                          type: integer
                          format: int32
                          description: Number of decimal places
                        EXID:
                          type: string
                          maxLength: 1
                          description: ABAP Data Type
                  DP_PRO:
                    type: array
                    items:
                      type: object
                      properties:
                        ABLNR:
                          type: string
                          maxLength: 30
                          description: CATT - Test case
                        COMMID:
                          type: string
                          maxLength: 8
                          description: Character field, 8 characters long
                        SUBID:
                          type: string
                          maxLength: 8
                          description: Character field, 8 characters long
                        CALLNO:
                          type: integer
                          format: int64
                          description: 10 digit number
                        LINNO:
                          type: integer
                          format: int64
                          description: 10 digit number
                        PROPNAME:
                          type: string
                          maxLength: 20
                          description: CHAR20 for SYST
                        PROPVAL:
                          type: string
                          maxLength: 60
                          description: CHAR60 data element for SYST
                  DP_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        ABLNR:
                          type: string
                          maxLength: 30
                          description: CATT - Test case
                        COMMID:
                          type: string
                          maxLength: 8
                          description: Character field, 8 characters long
                        SUBID:
                          type: string
                          maxLength: 8
                          description: Character field, 8 characters long
                        CALLNO:
                          type: integer
                          format: int64
                          description: 10 digit number
                        LINNO:
                          type: integer
                          format: int64
                          description: 10 digit number
                        AUSRICHTER:
                          type: integer
                          format: int32
                          description: ''
                        DATA:
                          type: string
                          format: byte
                          description: DataProv data
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
