openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/UPB_PM_GET_PROP_ALL_RFC:
    post:
      tags:
      - UPB_PM_RFC
      operationId: /rfc/UPB_PM_GET_PROP_ALL_RFC
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_APPLC:
                  type: string
                  maxLength: 4
                  description: Planning Application
                I_PM_NAME:
                  type: string
                  maxLength: 8
                  description: Name of balance sheet planning interface
                ET_PM_GRAPH:
                  type: array
                  items:
                    type: object
                    properties:
                      POB_KEY:
                        type: string
                        maxLength: 8
                        description: Technical Key of a Planning Object
                      GRAPH_TYPE:
                        type: string
                        maxLength: 20
                        description: Type of Graphic Output
                      GRAPH_LEGEND:
                        type: string
                        maxLength: 5
                        description: 'Position of Legend  enumValues: NONE=Do not display legend,EAST=Legend to the right of the graphic,SOUTH=Legend under the graphic,WEST=Legend to the left of the graphic,NORTH=Legend above the graphic'
                        enum:
                        - NONE
                        - EAST
                        - SOUTH
                        - WEST
                        - NORTH
                      GRAPH_XY:
                        type: string
                        maxLength: 4
                        description: 'Drilldown Order  enumValues: DATA=Columns, rows,KEY=Rows, columns'
                        enum:
                        - DATA
                        - KEY
                      AS_GRAPH:
                        type: string
                        maxLength: 2
                        description: 'Output as Graphic, Layout or Both  enumValues: GL=Output with graphic and layout,GO=Output as graphic,LO=Ouput as layout'
                        enum:
                        - GL
                        - GO
                        - LO
                      WIDTH:
                        type: integer
                        format: int64
                        description: Width of Graphic
                      HEIGHT:
                        type: integer
                        format: int64
                        description: Height of Graphic
                ET_PM_PROP:
                  type: array
                  items:
                    type: object
                    properties:
                      POB_KEY:
                        type: string
                        maxLength: 8
                        description: Technical Key of a Planning Object
                      AREA:
                        type: string
                        maxLength: 8
                        description: Planning Area
                      PLEVEL:
                        type: string
                        maxLength: 8
                        description: Planning level
                      PPACKAGE:
                        type: string
                        maxLength: 8
                        description: Planning Package
                      METHOD:
                        type: string
                        maxLength: 8
                        description: Planning function
                      PARAM:
                        type: string
                        maxLength: 8
                        description: Parameter Group
                      POB_INT_TYPE:
                        type: string
                        maxLength: 3
                        description: 'Internal Type of Planning Object  enumValues: PFB=Planning Function, Execute before Layout Output,GO=Output graphic,GL=Output as graphic and layout,CT=Currency Setting,PS=Planning sequence,DOC=Document,PSA=Planning Sequence, Execute Before Layout Change,DO=Output layout (display only),PSB=Planning Sequence, Execute before Layout Output,GSB=Global Planning Sequence, Execute before Layout Output,GSA=Global Planning Sequence, Execute Before Layout Change,PF=Planning
                          function,IO=Input/output layout,GS=Global planning sequence,PFA=Planning Function, Execute Before Layout Change'
                        enum:
                        - PFB
                        - GO
                        - GL
                        - CT
                        - PS
                        - DOC
                        - PSA
                        - DO
                        - PSB
                        - GSB
                        - GSA
                        - PF
                        - IO
                        - GS
                        - PFA
                      FUNC_EXIT:
                        type: string
                        maxLength: 30
                        description: Name of Function Module
              required:
              - I_APPLC
              - I_PM_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_PM_GRAPH:
                    type: array
                    items:
                      type: object
                      properties:
                        POB_KEY:
                          type: string
                          maxLength: 8
                          description: Technical Key of a Planning Object
                        GRAPH_TYPE:
                          type: string
                          maxLength: 20
                          description: Type of Graphic Output
                        GRAPH_LEGEND:
                          type: string
                          maxLength: 5
                          description: 'Position of Legend  enumValues: NONE=Do not display legend,EAST=Legend to the right of the graphic,SOUTH=Legend under the graphic,WEST=Legend to the left of the graphic,NORTH=Legend above the graphic'
                          enum:
                          - NONE
                          - EAST
                          - SOUTH
                          - WEST
                          - NORTH
                        GRAPH_XY:
                          type: string
                          maxLength: 4
                          description: 'Drilldown Order  enumValues: DATA=Columns, rows,KEY=Rows, columns'
                          enum:
                          - DATA
                          - KEY
                        AS_GRAPH:
                          type: string
                          maxLength: 2
                          description: 'Output as Graphic, Layout or Both  enumValues: GL=Output with graphic and layout,GO=Output as graphic,LO=Ouput as layout'
                          enum:
                          - GL
                          - GO
                          - LO
                        WIDTH:
                          type: integer
                          format: int64
                          description: Width of Graphic
                        HEIGHT:
                          type: integer
                          format: int64
                          description: Height of Graphic
                  ET_PM_PROP:
                    type: array
                    items:
                      type: object
                      properties:
                        POB_KEY:
                          type: string
                          maxLength: 8
                          description: Technical Key of a Planning Object
                        AREA:
                          type: string
                          maxLength: 8
                          description: Planning Area
                        PLEVEL:
                          type: string
                          maxLength: 8
                          description: Planning level
                        PPACKAGE:
                          type: string
                          maxLength: 8
                          description: Planning Package
                        METHOD:
                          type: string
                          maxLength: 8
                          description: Planning function
                        PARAM:
                          type: string
                          maxLength: 8
                          description: Parameter Group
                        POB_INT_TYPE:
                          type: string
                          maxLength: 3
                          description: 'Internal Type of Planning Object  enumValues: PFB=Planning Function, Execute before Layout Output,GO=Output graphic,GL=Output as graphic and layout,CT=Currency Setting,PS=Planning sequence,DOC=Document,PSA=Planning Sequence, Execute Before Layout Change,DO=Output layout (display only),PSB=Planning Sequence, Execute before Layout Output,GSB=Global Planning Sequence, Execute before Layout Output,GSA=Global Planning Sequence, Execute Before Layout Change,PF=Planning
                            function,IO=Input/output layout,GS=Global planning sequence,PFA=Planning Function, Execute Before Layout Change'
                          enum:
                          - PFB
                          - GO
                          - GL
                          - CT
                          - PS
                          - DOC
                          - PSA
                          - DO
                          - PSB
                          - GSB
                          - GSA
                          - PF
                          - IO
                          - GS
                          - PFA
                        FUNC_EXIT:
                          type: string
                          maxLength: 30
                          description: Name of Function Module
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
