openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSPLPPM_PLAN_SAVE:
    post:
      tags:
      - RSPLPPMRFCDT
      operationId: /rfc/RSPLPPM_PLAN_SAVE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_PLANID:
                  type: string
                  maxLength: 20
              required:
              - I_PLANID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_SUBRC:
                    type: integer
                    format: int32
                  E_S_PLAN:
                    type: object
                    properties:
                      PLANID:
                        type: string
                        maxLength: 20
                        description: Techn. Name of Plan
                      PL_TXTSH:
                        type: string
                        maxLength: 20
                        description: Text of Length 20
                      PL_TXTMD:
                        type: string
                        maxLength: 40
                        description: Text of Length 40
                      PL_TXTLG:
                        type: string
                        maxLength: 60
                        description: Text of Length 60
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key of Current Text Environment
                      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
                      INFOPROV:
                        type: string
                        maxLength: 30
                        description: InfoProvider
                      INFOP_TXTSH:
                        type: string
                        maxLength: 20
                        description: Text of Length 20
                      INFOP_TXTLG:
                        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.
