openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/UPB_PM_GET_VARIABLE_RFC:
    post:
      tags:
      - UPB_PM_RFC
      operationId: /rfc/UPB_PM_GET_VARIABLE_RFC
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_APPLC:
                  type: string
                  maxLength: 4
                  description: Planning Application
                I_AREA:
                  type: string
                  maxLength: 8
                  description: Area
                I_CALL_FOR_DD:
                  type: string
                  maxLength: 1
                I_PM_NAME:
                  type: string
                  maxLength: 8
                  description: Name of balance sheet planning interface
                I_VARIABLE:
                  type: string
                  maxLength: 8
                  description: Variable
                ET_VAR:
                  type: array
                  items:
                    type: object
                    properties:
                      POS:
                        type: integer
                        format: int64
                        description: Relative Position of a POB in the Planning Folder
                      AREA:
                        type: string
                        maxLength: 8
                        description: Planning Area
                      VAR:
                        type: string
                        maxLength: 8
                        description: Variable
                ET_VARIABLE:
                  type: array
                  items:
                    type: object
                    properties:
                      POSITION:
                        type: integer
                        format: int64
                        description: Relative Position of a POB in the Planning Folder
                      AREA:
                        type: string
                        maxLength: 8
                        description: Planning Area
                      VARIABLE:
                        type: string
                        maxLength: 8
                        description: Variable
                      VARIABLET:
                        type: string
                        maxLength: 40
                        description: Description of Variable
                      VALUE:
                        type: string
                        maxLength: 70
                        description: Field for any characteristic value (external display)
                      CHANM:
                        type: string
                        maxLength: 30
                        description: Characteristic
                      TEXT_TYPE:
                        type: string
                        maxLength: 10
                        description: 'Type of Text  enumValues: SHORT=Short text,MEDIUM=Medium txt,LONG=Long text,VALUE=Characteristic value'
                        enum:
                        - SHORT
                        - MEDIUM
                        - LONG
                        - VALUE
                      CHANMT:
                        type: string
                        maxLength: 60
                        description: Long Description
                      VALUET:
                        type: string
                        maxLength: 70
                        description: Field for any characteristic value (external display)
                      VAR_TYPE:
                        type: string
                        maxLength: 10
                        description: 'Variable Type  enumValues: HIERARCHY=Hierarchy Node,CHAR=Characteristic Values,ATTRIBUTE=Attributes,NUMBER=Numeric Values'
                        enum:
                        - HIERARCHY
                        - CHAR
                        - ATTRIBUTE
                        - NUMBER
                      AREAT:
                        type: string
                        maxLength: 40
                        description: Name of Planning Area
                      VALUE_HIGH:
                        type: string
                        maxLength: 70
                        description: Field for any characteristic value (external display)
                      VALUE_HIGH_T:
                        type: string
                        maxLength: 70
                        description: Field for any characteristic value (external display)
                      DIRECT_INPUT:
                        type: string
                        maxLength: 1
                        description: 'Planning Folders: Status'
                      ICON:
                        type: string
                        maxLength: 70
                        description: Field for any characteristic value (external display)
                      OPTIONS:
                        type: string
                        maxLength: 70
                        description: Field for any characteristic value (external display)
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_NO_DD_LIST:
                    type: string
                    maxLength: 1
                  ET_VAR:
                    type: array
                    items:
                      type: object
                      properties:
                        POS:
                          type: integer
                          format: int64
                          description: Relative Position of a POB in the Planning Folder
                        AREA:
                          type: string
                          maxLength: 8
                          description: Planning Area
                        VAR:
                          type: string
                          maxLength: 8
                          description: Variable
                  ET_VARIABLE:
                    type: array
                    items:
                      type: object
                      properties:
                        POSITION:
                          type: integer
                          format: int64
                          description: Relative Position of a POB in the Planning Folder
                        AREA:
                          type: string
                          maxLength: 8
                          description: Planning Area
                        VARIABLE:
                          type: string
                          maxLength: 8
                          description: Variable
                        VARIABLET:
                          type: string
                          maxLength: 40
                          description: Description of Variable
                        VALUE:
                          type: string
                          maxLength: 70
                          description: Field for any characteristic value (external display)
                        CHANM:
                          type: string
                          maxLength: 30
                          description: Characteristic
                        TEXT_TYPE:
                          type: string
                          maxLength: 10
                          description: 'Type of Text  enumValues: SHORT=Short text,MEDIUM=Medium txt,LONG=Long text,VALUE=Characteristic value'
                          enum:
                          - SHORT
                          - MEDIUM
                          - LONG
                          - VALUE
                        CHANMT:
                          type: string
                          maxLength: 60
                          description: Long Description
                        VALUET:
                          type: string
                          maxLength: 70
                          description: Field for any characteristic value (external display)
                        VAR_TYPE:
                          type: string
                          maxLength: 10
                          description: 'Variable Type  enumValues: HIERARCHY=Hierarchy Node,CHAR=Characteristic Values,ATTRIBUTE=Attributes,NUMBER=Numeric Values'
                          enum:
                          - HIERARCHY
                          - CHAR
                          - ATTRIBUTE
                          - NUMBER
                        AREAT:
                          type: string
                          maxLength: 40
                          description: Name of Planning Area
                        VALUE_HIGH:
                          type: string
                          maxLength: 70
                          description: Field for any characteristic value (external display)
                        VALUE_HIGH_T:
                          type: string
                          maxLength: 70
                          description: Field for any characteristic value (external display)
                        DIRECT_INPUT:
                          type: string
                          maxLength: 1
                          description: 'Planning Folders: Status'
                        ICON:
                          type: string
                          maxLength: 70
                          description: Field for any characteristic value (external display)
                        OPTIONS:
                          type: string
                          maxLength: 70
                          description: Field for any characteristic value (external display)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
