openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/UPP_PLAN_GET_LAYOUT_FLAGS:
    post:
      tags:
      - UPP_PLAN
      operationId: /rfc/UPP_PLAN_GET_LAYOUT_FLAGS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_AREA:
                  type: string
                  maxLength: 8
                  description: Planning Area
                I_LAYOUT:
                  type: string
                  maxLength: 8
                  description: Parameter group
                I_PLEVEL:
                  type: string
                  maxLength: 8
                  description: Planning Level
                ETK_ATR_INFO:
                  type: array
                  items:
                    type: object
                    properties:
                      CHANM:
                        type: string
                        maxLength: 30
                        description: Characteristic
                      ATRNM:
                        type: string
                        maxLength: 30
                        description: Master data attribute
                      PRES:
                        type: string
                        maxLength: 1
                        description: 'Display of Characteristic Value and Text for API  enumValues: ""=Not Specified,0=Characteristic Value and Text,1=Text,2=Characteristic Value,3=Text and Characteristic Value'
                        enum:
                        - ''
                        - '0'
                        - '1'
                        - '2'
                        - '3'
                ETK_COL_INFO:
                  type: array
                  items:
                    type: object
                    properties:
                      CHANM:
                        type: string
                        maxLength: 30
                        description: Characteristic
                ETK_HEAD_INFO:
                  type: array
                  items:
                    type: object
                    properties:
                      CHANM:
                        type: string
                        maxLength: 30
                        description: Characteristic
                      HIDE:
                        type: string
                        maxLength: 1
                        description: 'Data element for domain BOOLE: TRUE (=''X'') and FALSE (='' '')  enumValues: X=TRUE,""=FALSE'
                        enum:
                        - X
                        - ''
                ETK_RETURN:
                  type: array
                  items:
                    type: object
                    properties:
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                      ID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      NUMBER:
                        type: integer
                        format: int64
                        description: Message Number
                      MESSAGE:
                        type: string
                        maxLength: 220
                        description: Message Text
                      LOG_NO:
                        type: string
                        maxLength: 20
                        description: 'Application log: log number'
                      LOG_MSG_NO:
                        type: integer
                        format: int64
                        description: 'Application log: Internal message serial number'
                      MESSAGE_V1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      PARAMETER:
                        type: string
                        maxLength: 32
                        description: Parameter Name
                      ROW:
                        type: integer
                        format: int32
                        description: Lines in parameter
                      FIELD:
                        type: string
                        maxLength: 30
                        description: Field in parameter
                      SYSTEM:
                        type: string
                        maxLength: 10
                        description: Logical system from which message originates
                ETK_ROW_INFO:
                  type: array
                  items:
                    type: object
                    properties:
                      CHANM:
                        type: string
                        maxLength: 30
                        description: Characteristic
                      PRES:
                        type: string
                        maxLength: 1
                        description: 'Display of Characteristic Value and Text for API  enumValues: ""=Not Specified,0=Characteristic Value and Text,1=Text,2=Characteristic Value,3=Text and Characteristic Value'
                        enum:
                        - ''
                        - '0'
                        - '1'
                        - '2'
                        - '3'
                ET_SUM_OPT:
                  type: array
                  items:
                    type: object
                    properties:
                      FIELDNAME:
                        type: string
                        maxLength: 30
                        description: Field Name
                      SUM_TYPE:
                        type: string
                        maxLength: 1
                        description: 'Lead Column Presentation Type  enumValues: ""=Initial value, sum_type_init,3=No total, sum_type_no_sum,1=Hierarchy, sum_type_hie,2=Total, sum_type_sum'
                        enum:
                        - ''
                        - '3'
                        - '1'
                        - '2'
              required:
              - I_AREA
              - I_LAYOUT
              - I_PLEVEL
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ES_COMMIT_EXEC:
                    type: object
                    properties:
                      NODE_TYPE:
                        type: string
                        maxLength: 10
                        description: 'Node type  enumValues: AREA=Area,AI_PF=Area-independent planning functions,PARAM=Parameters,TOP=Top,PROFILE=Profiles,PROFILETOP=Node type for profiles,PLEVEL=Level,PACKAGE=Package,ACTPLEVEL=Actual level,METHOD=Method,AI_PFTOP=Node type for area-independent planning functions'
                        enum:
                        - AREA
                        - AI_PF
                        - PARAM
                        - TOP
                        - PROFILE
                        - PROFILETOP
                        - PLEVEL
                        - PACKAGE
                        - ACTPLEVEL
                        - METHOD
                        - AI_PFTOP
                      AREA:
                        type: string
                        maxLength: 8
                        description: Planning Area
                      PLEVEL:
                        type: string
                        maxLength: 8
                        description: Planning level
                      PACKAGE:
                        type: string
                        maxLength: 8
                        description: Planning Package
                      METHOD:
                        type: string
                        maxLength: 8
                        description: Planning function
                      PARAM:
                        type: string
                        maxLength: 8
                        description: Parameter Group
                      GLOBAL_SEQUENCE:
                        type: string
                        maxLength: 8
                        description: Technical Name
                  ES_LAYOUT_FLAGS:
                    type: object
                    properties:
                      FRMBASED:
                        type: string
                        maxLength: 1
                        description: Flag for Form-Based
                      TOTAL:
                        type: string
                        maxLength: 1
                        description: Show Total
                      BUDGET:
                        type: string
                        maxLength: 1
                        description: Characteristics Hierarchy
                      CHECK_BUDGET:
                        type: string
                        maxLength: 1
                        description: Check Entry in Hierarchy
                      SUM_AS_HIE:
                        type: string
                        maxLength: 1
                        description: Display Subtotals as Hierarchy
                      SHOW_DOC:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      BUDGET_BTTM_UP:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      HIE_DM:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      CALC_FE:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      NO_GUI:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                  E_LEADCOL_COMPL:
                    type: string
                    maxLength: 1
                    description: Single-Character Flag
                  E_SUBRC:
                    type: integer
                    format: int32
                    description: Return Value, Return Value After ABAP Statements
                  ETK_ATR_INFO:
                    type: array
                    items:
                      type: object
                      properties:
                        CHANM:
                          type: string
                          maxLength: 30
                          description: Characteristic
                        ATRNM:
                          type: string
                          maxLength: 30
                          description: Master data attribute
                        PRES:
                          type: string
                          maxLength: 1
                          description: 'Display of Characteristic Value and Text for API  enumValues: ""=Not Specified,0=Characteristic Value and Text,1=Text,2=Characteristic Value,3=Text and Characteristic Value'
                          enum:
                          - ''
                          - '0'
                          - '1'
                          - '2'
                          - '3'
                  ETK_COL_INFO:
                    type: array
                    items:
                      type: object
                      properties:
                        CHANM:
                          type: string
                          maxLength: 30
                          description: Characteristic
                  ETK_HEAD_INFO:
                    type: array
                    items:
                      type: object
                      properties:
                        CHANM:
                          type: string
                          maxLength: 30
                          description: Characteristic
                        HIDE:
                          type: string
                          maxLength: 1
                          description: 'Data element for domain BOOLE: TRUE (=''X'') and FALSE (='' '')  enumValues: X=TRUE,""=FALSE'
                          enum:
                          - X
                          - ''
                  ETK_RETURN:
                    type: array
                    items:
                      type: object
                      properties:
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                        ID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        NUMBER:
                          type: integer
                          format: int64
                          description: Message Number
                        MESSAGE:
                          type: string
                          maxLength: 220
                          description: Message Text
                        LOG_NO:
                          type: string
                          maxLength: 20
                          description: 'Application log: log number'
                        LOG_MSG_NO:
                          type: integer
                          format: int64
                          description: 'Application log: Internal message serial number'
                        MESSAGE_V1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        PARAMETER:
                          type: string
                          maxLength: 32
                          description: Parameter Name
                        ROW:
                          type: integer
                          format: int32
                          description: Lines in parameter
                        FIELD:
                          type: string
                          maxLength: 30
                          description: Field in parameter
                        SYSTEM:
                          type: string
                          maxLength: 10
                          description: Logical system from which message originates
                  ETK_ROW_INFO:
                    type: array
                    items:
                      type: object
                      properties:
                        CHANM:
                          type: string
                          maxLength: 30
                          description: Characteristic
                        PRES:
                          type: string
                          maxLength: 1
                          description: 'Display of Characteristic Value and Text for API  enumValues: ""=Not Specified,0=Characteristic Value and Text,1=Text,2=Characteristic Value,3=Text and Characteristic Value'
                          enum:
                          - ''
                          - '0'
                          - '1'
                          - '2'
                          - '3'
                  ET_SUM_OPT:
                    type: array
                    items:
                      type: object
                      properties:
                        FIELDNAME:
                          type: string
                          maxLength: 30
                          description: Field Name
                        SUM_TYPE:
                          type: string
                          maxLength: 1
                          description: 'Lead Column Presentation Type  enumValues: ""=Initial value, sum_type_init,3=No total, sum_type_no_sum,1=Hierarchy, sum_type_hie,2=Total, sum_type_sum'
                          enum:
                          - ''
                          - '3'
                          - '1'
                          - '2'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
