openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SBUF_TBX_SHOW_INDEX:
    post:
      tags:
      - SBUF
      operationId: /rfc/SBUF_TBX_SHOW_INDEX
      requestBody:
        content:
          application/json:
            schema:
              properties:
                BUFF_ID:
                  type: integer
                  format: int32
                INDEXNAME:
                  type: string
                  default: ' '
                  maxLength: 3
                TABNAME:
                  type: string
                  default: ' '
                  maxLength: 30
                STAT_DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      ENTRY_N:
                        type: integer
                        format: int64
                        description: Number of Entries
                      DATA_L:
                        type: integer
                        format: int64
                        description: (Net) size of object
                      REC_L:
                        type: integer
                        format: int64
                        description: Length of Record
                      KEY_L:
                        type: integer
                        format: int64
                        description: Key Length
                      EXTENT_N:
                        type: integer
                        format: int64
                        description: Number of extents
                      BLOCK_N:
                        type: integer
                        format: int64
                        description: No. of blocks
                      READ_C:
                        type: integer
                        format: int64
                        description: Read count
                      MODINV_C:
                        type: integer
                        format: int64
                        description: Modification counter
                      TAB_NAME:
                        type: string
                        maxLength: 32
                        description: Table name 8-byte aligned
                      GEN_NAME:
                        type: string
                        maxLength: 64
                        description: Generic key 8 byte aligned
                      INDEX_NAME:
                        type: string
                        maxLength: 8
                        description: Index Name 8-Byte Aligned
              required:
              - BUFF_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  STAT_DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        ENTRY_N:
                          type: integer
                          format: int64
                          description: Number of Entries
                        DATA_L:
                          type: integer
                          format: int64
                          description: (Net) size of object
                        REC_L:
                          type: integer
                          format: int64
                          description: Length of Record
                        KEY_L:
                          type: integer
                          format: int64
                          description: Key Length
                        EXTENT_N:
                          type: integer
                          format: int64
                          description: Number of extents
                        BLOCK_N:
                          type: integer
                          format: int64
                          description: No. of blocks
                        READ_C:
                          type: integer
                          format: int64
                          description: Read count
                        MODINV_C:
                          type: integer
                          format: int64
                          description: Modification counter
                        TAB_NAME:
                          type: string
                          maxLength: 32
                          description: Table name 8-byte aligned
                        GEN_NAME:
                          type: string
                          maxLength: 64
                          description: Generic key 8 byte aligned
                        INDEX_NAME:
                          type: string
                          maxLength: 8
                          description: Index Name 8-Byte Aligned
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
