openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TABCONTROL_EXT_SORT:
    post:
      tags:
      - WDTMEXT
      operationId: /rfc/TABCONTROL_EXT_SORT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                FIELDNAME:
                  type: string
                  maxLength: 30
                  description: Tab Control ID
                MODE:
                  type: string
                  maxLength: 1
                  description: Tab Control ID
                TABCTRL:
                  type: integer
                  format: int32
                  description: Tab Control ID
                RECORD_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      STRING:
                        type: string
                        maxLength: 1000
                        description: Text of length 1000
                      DUMMY:
                        type: number
                        description: Ensures maximum alignment of STRING field
                      PACK_NO:
                        type: integer
                        format: int64
                        description: Number of Package
                      PACK_KIND:
                        type: string
                        maxLength: 1
                        description: 'Type of Package for Hit List Display  enumValues: H=Historical Values,I=Valid number range,P=Personal Values'
                        enum:
                        - H
                        - I
                        - P
              required:
              - FIELDNAME
              - MODE
              - TABCTRL
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RECORD_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        STRING:
                          type: string
                          maxLength: 1000
                          description: Text of length 1000
                        DUMMY:
                          type: number
                          description: Ensures maximum alignment of STRING field
                        PACK_NO:
                          type: integer
                          format: int64
                          description: Number of Package
                        PACK_KIND:
                          type: string
                          maxLength: 1
                          description: 'Type of Package for Hit List Display  enumValues: H=Historical Values,I=Valid number range,P=Personal Values'
                          enum:
                          - H
                          - I
                          - P
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
