openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RHPG_SCALE_TABLE_READ:
    post:
      tags:
      - RHPG
      summary: Possible scales (read all existing scales)
      operationId: /rfc/RHPG_SCALE_TABLE_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Language
                ONLY_QUALI:
                  type: string
                  default: X
                  maxLength: 1
                SCALES:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      SCALE_ID:
                        type: integer
                        format: int64
                        description: Scale ID
                      SCALE_TEXT:
                        type: string
                        maxLength: 40
                        description: Name of Scale
                      SCALE_ART:
                        type: string
                        maxLength: 1
                        description: 'Flag denoting scale type  enumValues: M=Quantity scale,""=not yet maintained,Q=Quality scale,N=Irregular quality scale'
                        enum:
                        - M
                        - ''
                        - Q
                        - N
                      SCALE_MC:
                        type: string
                        maxLength: 40
                        description: Scale (matchcode)
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CHANGED_LANGU:
                    type: string
                    maxLength: 1
                  SCALES:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        SCALE_ID:
                          type: integer
                          format: int64
                          description: Scale ID
                        SCALE_TEXT:
                          type: string
                          maxLength: 40
                          description: Name of Scale
                        SCALE_ART:
                          type: string
                          maxLength: 1
                          description: 'Flag denoting scale type  enumValues: M=Quantity scale,""=not yet maintained,Q=Quality scale,N=Irregular quality scale'
                          enum:
                          - M
                          - ''
                          - Q
                          - N
                        SCALE_MC:
                          type: string
                          maxLength: 40
                          description: Scale (matchcode)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
