openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/UMG_GET_VOC_ENTRIES:
    post:
      tags:
      - SPUMG
      summary: Give the vocabulary entries for a table.
      operationId: /rfc/UMG_GET_VOC_ENTRIES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IM_TABNAME:
                  type: string
                  maxLength: 30
                  description: Table name
              required:
              - IM_TABNAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EX_VOC_ITAB:
                    type: array
                    items:
                      type: object
                      properties:
                        TABID:
                          type: integer
                          format: int64
                          description: Unique table identifier
                        TEXTDATA:
                          type: string
                          maxLength: 30
                          description: Text (30 Characters)
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        FLDID:
                          type: integer
                          format: int64
                          description: Position of the field in the table
                        KEYFLG:
                          type: string
                          maxLength: 1
                          description: SPUMG/SUMG Flag
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
