openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RFC_GET_UNICODE_STRUCTURE:
    post:
      tags:
      - RFCH
      operationId: /rfc/RFC_GET_UNICODE_STRUCTURE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ALLOW_HALF_DEEP:
                  type: string
                  maxLength: 1
                SKIP_UCS_4_INFO:
                  type: string
                  maxLength: 1
                SKIP_UTF16_INFO:
                  type: string
                  maxLength: 1
                TABNAME:
                  type: string
                  maxLength: 30
                  description: Table Name
                FIELDS:
                  type: array
                  items:
                    type: object
                    properties:
                      TABNAME:
                        type: string
                        maxLength: 30
                        description: Table Name
                      FIELDNAME:
                        type: string
                        maxLength: 30
                        description: Field Name
                      POSITION:
                        type: integer
                        format: int32
                        description: Position of field in structure (from 1)
                      EXID:
                        type: string
                        maxLength: 1
                        description: ABAP Data Type
                      DECIMALS:
                        type: integer
                        format: int32
                        description: Number of decimal places
                      OFFSET_B1:
                        type: integer
                        format: int32
                        description: Field Offset 1 Byte per Character Systems
                      LENGTH_B1:
                        type: integer
                        format: int32
                        description: Internal Field Length in 1 byte per Character Systems
                      OFFSET_B2:
                        type: integer
                        format: int32
                        description: Field Offset in 2 Bytes per Character Systems
                      LENGTH_B2:
                        type: integer
                        format: int32
                        description: Internal Field Length in 2 bytes per Character Systems
                      OFFSET_B4:
                        type: integer
                        format: int32
                        description: Field Offset in 4 bytes per Character Systems
                      LENGTH_B4:
                        type: integer
                        format: int32
                        description: Internal Field Length in 4 bytes per Character Systems
              required:
              - TABNAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  B1_TABLENGTH:
                    type: integer
                    format: int32
                  B2_TABLENGTH:
                    type: integer
                    format: int32
                  B4_TABLENGTH:
                    type: integer
                    format: int32
                  CHAR_LENGTH:
                    type: integer
                    format: int32
                  UUID:
                    type: string
                    format: byte
                  FIELDS:
                    type: array
                    items:
                      type: object
                      properties:
                        TABNAME:
                          type: string
                          maxLength: 30
                          description: Table Name
                        FIELDNAME:
                          type: string
                          maxLength: 30
                          description: Field Name
                        POSITION:
                          type: integer
                          format: int32
                          description: Position of field in structure (from 1)
                        EXID:
                          type: string
                          maxLength: 1
                          description: ABAP Data Type
                        DECIMALS:
                          type: integer
                          format: int32
                          description: Number of decimal places
                        OFFSET_B1:
                          type: integer
                          format: int32
                          description: Field Offset 1 Byte per Character Systems
                        LENGTH_B1:
                          type: integer
                          format: int32
                          description: Internal Field Length in 1 byte per Character Systems
                        OFFSET_B2:
                          type: integer
                          format: int32
                          description: Field Offset in 2 Bytes per Character Systems
                        LENGTH_B2:
                          type: integer
                          format: int32
                          description: Internal Field Length in 2 bytes per Character Systems
                        OFFSET_B4:
                          type: integer
                          format: int32
                          description: Field Offset in 4 bytes per Character Systems
                        LENGTH_B4:
                          type: integer
                          format: int32
                          description: Internal Field Length in 4 bytes per Character Systems
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
