openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TABCONTROL_EXT_RETR_HITLIST:
    post:
      tags:
      - WDTMEXT
      operationId: /rfc/TABCONTROL_EXT_RETR_HITLIST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DIALOGNR:
                  type: integer
                  format: int32
                  description: Tab Control ID
                TABCTRL:
                  type: integer
                  format: int32
                  description: Tab Control ID
                COLNAME:
                  type: array
                  items:
                    type: object
                    properties:
                      FIELDNAME:
                        type: string
                        maxLength: 30
                        description: Field Name
                      SCRTEXT:
                        type: string
                        maxLength: 40
                        description: Long Field Label
                      APPEARANCE:
                        type: string
                        maxLength: 3
                        description: Flags
                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
                SELOPTS:
                  type: array
                  items:
                    type: object
                    properties:
                      SHLPNAME:
                        type: string
                        maxLength: 30
                        description: Name of a Search Help
                      SHLPFIELD:
                        type: string
                        maxLength: 30
                        description: Name of a search help parameter
                      SIGN:
                        type: string
                        maxLength: 1
                        description: 'ABAP: ID: I/E (include/exclude values)'
                      OPTION:
                        type: string
                        maxLength: 2
                        description: 'ABAP: Selection option (EQ/BT/CP/...)'
                      LOW:
                        type: string
                        maxLength: 45
                        description: '''Generic'' SELECT-OPTION for Dynamic Selections'
                      HIGH:
                        type: string
                        maxLength: 45
                        description: '''Generic'' SELECT-OPTION for Dynamic Selections'
                TABFIELDS:
                  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)
                      OFFSET:
                        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
              required:
              - DIALOGNR
              - TABCTRL
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  COLNAME:
                    type: array
                    items:
                      type: object
                      properties:
                        FIELDNAME:
                          type: string
                          maxLength: 30
                          description: Field Name
                        SCRTEXT:
                          type: string
                          maxLength: 40
                          description: Long Field Label
                        APPEARANCE:
                          type: string
                          maxLength: 3
                          description: Flags
                  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
                  SELOPTS:
                    type: array
                    items:
                      type: object
                      properties:
                        SHLPNAME:
                          type: string
                          maxLength: 30
                          description: Name of a Search Help
                        SHLPFIELD:
                          type: string
                          maxLength: 30
                          description: Name of a search help parameter
                        SIGN:
                          type: string
                          maxLength: 1
                          description: 'ABAP: ID: I/E (include/exclude values)'
                        OPTION:
                          type: string
                          maxLength: 2
                          description: 'ABAP: Selection option (EQ/BT/CP/...)'
                        LOW:
                          type: string
                          maxLength: 45
                          description: '''Generic'' SELECT-OPTION for Dynamic Selections'
                        HIGH:
                          type: string
                          maxLength: 45
                          description: '''Generic'' SELECT-OPTION for Dynamic Selections'
                  TABFIELDS:
                    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)
                        OFFSET:
                          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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
