openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/UNITS_GET_FOR_DIMENSION:
    post:
      tags:
      - SCVU
      operationId: /rfc/UNITS_GET_FOR_DIMENSION
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DIMENSION:
                  type: string
                  default: ' '
                  maxLength: 6
                  description: Dimension key
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Language indicator
                UNITS_OF_MEASUREMENT:
                  type: array
                  items:
                    type: object
                    properties:
                      UNIT_INT:
                        type: string
                        maxLength: 3
                        description: Unit of Measurement
                      UNIT_EXT_3:
                        type: string
                        maxLength: 3
                        description: External Unit of Measurement in Commercial Format (3-Char.)
                      UNIT_EXT_6:
                        type: string
                        maxLength: 6
                        description: External Unit of Measurement in Technical Format (6-Char.)
                      UNIT_TXT:
                        type: string
                        maxLength: 10
                        description: Unit of Measurement Text (Maximum 10 Characters)
                      UNIT_TXT_L:
                        type: string
                        maxLength: 30
                        description: Unit of Measurement Text (Maximum 30 Characters)
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  UNITS_OF_MEASUREMENT:
                    type: array
                    items:
                      type: object
                      properties:
                        UNIT_INT:
                          type: string
                          maxLength: 3
                          description: Unit of Measurement
                        UNIT_EXT_3:
                          type: string
                          maxLength: 3
                          description: External Unit of Measurement in Commercial Format (3-Char.)
                        UNIT_EXT_6:
                          type: string
                          maxLength: 6
                          description: External Unit of Measurement in Technical Format (6-Char.)
                        UNIT_TXT:
                          type: string
                          maxLength: 10
                          description: Unit of Measurement Text (Maximum 10 Characters)
                        UNIT_TXT_L:
                          type: string
                          maxLength: 30
                          description: Unit of Measurement Text (Maximum 30 Characters)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
