openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SLS_CUST_GET_LOOKUP_VALUES:
    post:
      tags:
      - SLS8
      summary: Reads Lookup Values based on Lookup Type and Language
      operationId: /rfc/SLS_CUST_GET_LOOKUP_VALUES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                P_LANGUAGE:
                  type: string
                  default: EN
                  maxLength: 2
                P_LOOKUP:
                  type: string
                  default: '*'
                  maxLength: 24
                P_LOOKUP_VALUES:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      LUNAME:
                        type: string
                        maxLength: 24
                        description: Name of PAW setting type
                      LUVALUE:
                        type: string
                        maxLength: 24
                        description: PAW - Lookup values
                      LANGU:
                        type: string
                        maxLength: 2
                        description: Language according to ISO 639
                      ORIGIN:
                        type: string
                        maxLength: 8
                        description: 'Origin of PAW operational setting  enumValues: CUSTOMER='
                        enum:
                        - CUSTOMER
                      SHORT:
                        type: string
                        maxLength: 20
                        description: PAW - Short Description of Lookup Value
                      DESCR:
                        type: string
                        maxLength: 60
                        description: PAW - Description of Lookup-Value
                      MARK:
                        type: string
                        maxLength: 1
                        description: 'PAW - Boolean character  enumValues: 0=No,1=Yes'
                        enum:
                        - '0'
                        - '1'
                      DISAC:
                        type: string
                        maxLength: 8
                        description: 'Active/inactive (PAW)  enumValues: DISABLE='
                        enum:
                        - DISABLE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  P_LOOKUP_VALUES:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        LUNAME:
                          type: string
                          maxLength: 24
                          description: Name of PAW setting type
                        LUVALUE:
                          type: string
                          maxLength: 24
                          description: PAW - Lookup values
                        LANGU:
                          type: string
                          maxLength: 2
                          description: Language according to ISO 639
                        ORIGIN:
                          type: string
                          maxLength: 8
                          description: 'Origin of PAW operational setting  enumValues: CUSTOMER='
                          enum:
                          - CUSTOMER
                        SHORT:
                          type: string
                          maxLength: 20
                          description: PAW - Short Description of Lookup Value
                        DESCR:
                          type: string
                          maxLength: 60
                          description: PAW - Description of Lookup-Value
                        MARK:
                          type: string
                          maxLength: 1
                          description: 'PAW - Boolean character  enumValues: 0=No,1=Yes'
                          enum:
                          - '0'
                          - '1'
                        DISAC:
                          type: string
                          maxLength: 8
                          description: 'Active/inactive (PAW)  enumValues: DISABLE='
                          enum:
                          - DISABLE
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
