openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CAT_CHECK_TABLE:
    post:
      tags:
      - SCAT
      operationId: /rfc/CAT_CHECK_TABLE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CHECK:
                  type: string
                  default: ' '
                  maxLength: 3
                KEY:
                  type: string
                  default: ' '
                  maxLength: 250
                SEGMENT:
                  type: string
                  maxLength: 30
                FIELD:
                  type: array
                  items:
                    type: object
                    properties:
                      ABLNR:
                        type: string
                        maxLength: 30
                        description: CATT - Test case
                      LFDNR:
                        type: integer
                        format: int64
                        description: 'CATT: Serial Number'
                      PARNA:
                        type: string
                        maxLength: 12
                        description: CATT - Parameter name
                      PATYP:
                        type: string
                        maxLength: 1
                        description: CATT - Parameter type (I,E,V)
                      PAVAL:
                        type: string
                        maxLength: 132
                        description: CATT - Parameter value
                TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      FELD:
                        type: string
                        maxLength: 132
                        description: 'CATT: Field name'
                      INHS:
                        type: string
                        maxLength: 50
                        description: 'CATT: Expected variable contents'
                      INHI:
                        type: string
                        maxLength: 50
                        description: 'CATT: Variable contents'
                      OFFSET:
                        type: integer
                        format: int64
                        description: Offset of a field
                      INTLEN:
                        type: integer
                        format: int64
                        description: Internal Length in Bytes
                      INTTYPE:
                        type: string
                        maxLength: 1
                        description: 'ABAP data type (C,D,N,...)  enumValues: N=Character string with only digits,s=2-byte integer, only for length field before LCHR or LRAW,h=Table type,y=Byte sequence with variable length (ABAP type XSTRING),l=Reference to data object,b=1-byte integer, integer number <= 254,P=Packed number,T=Time (Time: HHMMSS),u=Structured type, flat,I=Integer number (4-byte integer with sign),F=Floating point number to accuracy of 8 bytes,v=Structured type, deep,V=Character string
                          (old Dictionary type VARC),X=Byte sequence (heXadecimal),C=Character string,g=Character string with variable length (ABAP type STRING),r=Reference to class/interface,D=Date (Date: YYYYMMDD)'
                        enum:
                        - N
                        - s
                        - h
                        - y
                        - l
                        - b
                        - P
                        - T
                        - u
                        - I
                        - F
                        - v
                        - V
                        - X
                        - C
                        - g
                        - r
                        - D
                      DECIMALS:
                        type: integer
                        format: int64
                        description: Number of Decimal Places
              required:
              - SEGMENT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  STATUS:
                    type: integer
                    format: int32
                  FIELD:
                    type: array
                    items:
                      type: object
                      properties:
                        ABLNR:
                          type: string
                          maxLength: 30
                          description: CATT - Test case
                        LFDNR:
                          type: integer
                          format: int64
                          description: 'CATT: Serial Number'
                        PARNA:
                          type: string
                          maxLength: 12
                          description: CATT - Parameter name
                        PATYP:
                          type: string
                          maxLength: 1
                          description: CATT - Parameter type (I,E,V)
                        PAVAL:
                          type: string
                          maxLength: 132
                          description: CATT - Parameter value
                  TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        FELD:
                          type: string
                          maxLength: 132
                          description: 'CATT: Field name'
                        INHS:
                          type: string
                          maxLength: 50
                          description: 'CATT: Expected variable contents'
                        INHI:
                          type: string
                          maxLength: 50
                          description: 'CATT: Variable contents'
                        OFFSET:
                          type: integer
                          format: int64
                          description: Offset of a field
                        INTLEN:
                          type: integer
                          format: int64
                          description: Internal Length in Bytes
                        INTTYPE:
                          type: string
                          maxLength: 1
                          description: 'ABAP data type (C,D,N,...)  enumValues: N=Character string with only digits,s=2-byte integer, only for length field before LCHR or LRAW,h=Table type,y=Byte sequence with variable length (ABAP type XSTRING),l=Reference to data object,b=1-byte integer, integer number <= 254,P=Packed number,T=Time (Time: HHMMSS),u=Structured type, flat,I=Integer number (4-byte integer with sign),F=Floating point number to accuracy of 8 bytes,v=Structured type, deep,V=Character
                            string (old Dictionary type VARC),X=Byte sequence (heXadecimal),C=Character string,g=Character string with variable length (ABAP type STRING),r=Reference to class/interface,D=Date (Date: YYYYMMDD)'
                          enum:
                          - N
                          - s
                          - h
                          - y
                          - l
                          - b
                          - P
                          - T
                          - u
                          - I
                          - F
                          - v
                          - V
                          - X
                          - C
                          - g
                          - r
                          - D
                        DECIMALS:
                          type: integer
                          format: int64
                          description: Number of Decimal Places
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
