openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSPLPPM_PLSES_GET:
    post:
      tags:
      - RSPLPPMRFCDT
      operationId: /rfc/RSPLPPM_PLSES_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_PLANID:
                  type: string
                  maxLength: 20
                I_PLANNINGSESSIONNR:
                  type: integer
                  format: int64
                I_RELOAD:
                  type: string
                  maxLength: 1
              required:
              - I_PLANID
              - I_PLANNINGSESSIONNR
              - I_RELOAD
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_SUBRC:
                    type: integer
                    format: int32
                  E_SX_PLANNINGSESSION:
                    type: object
                    properties:
                      PLANID:
                        type: string
                        maxLength: 20
                        description: Techn. Name of Plan
                      PLSESNR:
                        type: integer
                        format: int64
                        description: Number of Planning Session
                      PLSES_TXTSH:
                        type: string
                        maxLength: 20
                        description: Text of Length 20
                      PLSES_TXTMD:
                        type: string
                        maxLength: 40
                        description: Text of Length 40
                      PLSES_TXTLG:
                        type: string
                        maxLength: 60
                        description: Text of Length 60
                      CREATED_BY:
                        type: string
                        maxLength: 12
                        description: User Name
                      CREATED_TSTAMP:
                        type: string
                        maxLength: 14
                        description: ''
                      CREATEDDAT:
                        type: string
                        format: date
                        description: Current Date of Application Server
                      CREATEDTIM:
                        type: string
                        maxLength: 6
                        description: Current Time of Application Server
                      CHANGED_BY:
                        type: string
                        maxLength: 12
                        description: User Name
                      CHANGED_TSTAMP:
                        type: string
                        maxLength: 14
                        description: ''
                      CHANGEDDAT:
                        type: string
                        format: date
                        description: Current Date of Application Server
                      CHANGEDTIM:
                        type: string
                        maxLength: 6
                        description: Current Time of Application Server
                      HIERCHANM:
                        type: string
                        maxLength: 30
                        description: InfoObject
                      HIERCHANM_TXT:
                        type: string
                        maxLength: 60
                        description: Text of Length 60
                      HIERNM:
                        type: string
                        maxLength: 30
                        description: Hierarchy name
                      HIERNM_TXT:
                        type: string
                        maxLength: 60
                        description: Text of Length 60
                      HIERVER:
                        type: string
                        maxLength: 3
                        description: Hierarchy version
                      STARTDAT:
                        type: string
                        format: date
                        description: Current Date of Application Server
                      ENDDAT:
                        type: string
                        format: date
                        description: Current Date of Application Server
                      PS_CHASEL:
                        type: array
                        items:
                          type: object
                          properties:
                            SEQNO:
                              type: integer
                              format: int64
                              description: Laufende Nummer
                            CHANM:
                              type: string
                              maxLength: 30
                              description: Characteristic
                            CHANM_TXT:
                              type: string
                              maxLength: 60
                              description: Text of Length 60
                            SIGN:
                              type: string
                              maxLength: 1
                              description: Type of SIGN component in row type of a Ranges type
                            OPT:
                              type: string
                              maxLength: 2
                              description: Type of OPTION component in row type of a Ranges type
                            LOW:
                              type: string
                              maxLength: 60
                              description: 'Dim: Field for a User-Defined Characteristic Value'
                            LOW_EXT:
                              type: string
                              maxLength: 70
                              description: Field for any characteristic value (external display)
                            LOW_TXTLG:
                              type: string
                              maxLength: 60
                              description: Text of Length 60
                            HIGH:
                              type: string
                              maxLength: 60
                              description: 'Dim: Field for a User-Defined Characteristic Value'
                            HIGH_EXT:
                              type: string
                              maxLength: 70
                              description: Field for any characteristic value (external display)
                            HIGH_TXTLG:
                              type: string
                              maxLength: 60
                              description: Text of Length 60
                            SELTXT:
                              type: string
                              maxLength: 70
                              description: Text for selections in cases where errors occur
                            ERRORFLAG:
                              type: string
                              maxLength: 1
                              description: Types of Error for the Range (Selections)
                  E_T_CHASELRETURN:
                    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
                  E_T_CHA_PROBS_PS:
                    type: array
                    items:
                      type: object
                      properties:
                        CHANM:
                          type: string
                          maxLength: 30
                          description: InfoObject
                        CHANM_TXT:
                          type: string
                          maxLength: 60
                          description: Text of Length 60
                  E_T_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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
