openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CAT_TAB_SET:
    post:
      tags:
      - STTF
      summary: CATT - SETTAB Remote R/3
      operationId: /rfc/CAT_TAB_SET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DELETE:
                  type: string
                  default: ' '
                  maxLength: 1
                TABLE:
                  type: string
                  maxLength: 30
                SETTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      FARG:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      FNAME:
                        type: string
                        maxLength: 30
                        description: 30 Characters
                      FINHALT:
                        type: string
                        maxLength: 50
                        description: Text Field
                      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
              required:
              - TABLE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  MODE:
                    type: string
                    maxLength: 1
                  SUBRC:
                    type: integer
                    format: int32
                  TABLE_ENTRY:
                    type: string
                    format: byte
                  TAB_ENTRY_2:
                    type: string
                    format: byte
                    description: CATT - TDUMY entry RAW
                  TAB_ENTRY_3:
                    type: string
                    format: byte
                    description: CATT - TDUMY entry RAW
                  TAB_ENTRY_4:
                    type: string
                    format: byte
                    description: CATT - TDUMY entry RAW
                  SETTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        FARG:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        FNAME:
                          type: string
                          maxLength: 30
                          description: 30 Characters
                        FINHALT:
                          type: string
                          maxLength: 50
                          description: Text Field
                        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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
