Definition
Function module: CBP_SOP_PLAN_SAVE_RFC
Synchronous RFC to external planning system
Use
Once the current plan of the external planning system has been saved, the production figures are returned to the R/3 database and are saved. The external planning system should execute the following steps:

If the single planning flag I_SOPCTR-SPLFLG was set on the pending request CBP_SOP_PLAN_REQUEST_RFC, then only those records in table O_SOPTAB are returned from the external planning system that were previously contained in the request. The records contain the changed production figures. If the single planning flag was not set, additional records are returned from the external planning system.
If the net-change flag I_SOPCTR-NTCHNGFLG was set, then only the records with changed production figures are returned in table O_SOPTAB. If the net-change flag was not set, all records with all production figures are returned.
The periods for all records in table O_SOPTAB are the same as the one used to request the plan from the external planning system.
Structure
CBP_SOP_PLAN_SAVE_RFC
Parameters |
Reference field/structure |
Import parameters: I_SOPCTR |
SCBP_SOPCTR |
Table parameters: O_SOPTAB |
O_SOPTAB |
Import parameters:
I_SOPCTR: Additional control fields for communication
Description
This structure sends the following data to the external system:
Table parameters:
O_SOPTAB: All affected production figures
Description
This table receives the following production figures from the external planning system:
PMNUX
WENUX
PERID
PERKZ
PERIV
ERTAG
LETAG
ATAGE