openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TREX_ARW_INDEX_TABLE:
    post:
      tags:
      - TREX_ARW_INDEX
      summary: indexing of structured table content
      operationId: /rfc/TREX_ARW_INDEX_TABLE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                BIG_ENDIAN:
                  type: integer
                  format: int64
                  description: '1: Big endian, 0: Little endian'
                IGNORE_LOGICAL_INDEX:
                  type: string
                  format: byte
                  description: Numeric 1-character
                INDEXSERVER_LOCATION:
                  type: string
                  format: byte
                  description: Host:Port
                INDEX_ID:
                  type: string
                  format: byte
                  description: IndexId
                KEEP_LUW:
                  type: string
                  format: byte
                  description: 'Only for debugging: keep logical unit of work'
                LANGUAGE:
                  type: string
                  format: byte
                  description: lANGUAGE
                RFC_DESTINATION:
                  type: string
                  format: byte
                  description: RFC Destination
                TRANSACTION_ID:
                  type: string
                  format: byte
                  description: 'Only for debugging: keep logical unit of work'
                USE_QUEUESERVER:
                  type: string
                  format: byte
                  description: allgemeines flag
                COMPONENT_RUNTIME:
                  type: array
                  items:
                    type: object
                    properties:
                      RFC_SERVER_TIME:
                        type: integer
                        format: int64
                        description: ''
                      TREX_CLIENT_TIME:
                        type: integer
                        format: int64
                        description: ''
                      TREX_KERNEL_TIME:
                        type: integer
                        format: int64
                        description: ''
                      ABAP_RFC_TIME:
                        type: integer
                        format: int64
                        description: ''
                COMP_DESCR:
                  type: array
                  items:
                    type: object
                    properties:
                      FIELD_LENGTH:
                        type: integer
                        format: int64
                        description: Field length in character
                      BYTE_LENGTH:
                        type: integer
                        format: int64
                        description: Field length in bytes
                      BYTE_OFFSET:
                        type: integer
                        format: int64
                        description: Offset length in bytes
                      DECIMALS:
                        type: integer
                        format: int64
                        description: ''
                      FIELD_NAME:
                        type: string
                        format: byte
                        description: Fieldname in aggregation result (ETDATA)
                      FIELD_TYPE:
                        type: string
                        format: byte
                        description: ABAP Type of field in aggregation result
                      ATTR_NAME:
                        type: string
                        format: byte
                        description: Attribute name
                      IGNORE_COLUMN:
                        type: string
                        format: byte
                        description: 'X: This column is ignored (no indexing)'
              required:
              - INDEX_ID
              - RFC_DESTINATION
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN_CODE:
                    type: integer
                    format: int64
                    description: Returncode
                  RETURN_TEXT:
                    type: string
                    format: byte
                    description: Returntext
                  COMPONENT_RUNTIME:
                    type: array
                    items:
                      type: object
                      properties:
                        RFC_SERVER_TIME:
                          type: integer
                          format: int64
                          description: ''
                        TREX_CLIENT_TIME:
                          type: integer
                          format: int64
                          description: ''
                        TREX_KERNEL_TIME:
                          type: integer
                          format: int64
                          description: ''
                        ABAP_RFC_TIME:
                          type: integer
                          format: int64
                          description: ''
                  COMP_DESCR:
                    type: array
                    items:
                      type: object
                      properties:
                        FIELD_LENGTH:
                          type: integer
                          format: int64
                          description: Field length in character
                        BYTE_LENGTH:
                          type: integer
                          format: int64
                          description: Field length in bytes
                        BYTE_OFFSET:
                          type: integer
                          format: int64
                          description: Offset length in bytes
                        DECIMALS:
                          type: integer
                          format: int64
                          description: ''
                        FIELD_NAME:
                          type: string
                          format: byte
                          description: Fieldname in aggregation result (ETDATA)
                        FIELD_TYPE:
                          type: string
                          format: byte
                          description: ABAP Type of field in aggregation result
                        ATTR_NAME:
                          type: string
                          format: byte
                          description: Attribute name
                        IGNORE_COLUMN:
                          type: string
                          format: byte
                          description: 'X: This column is ignored (no indexing)'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
