Ansicht
Dokumentation

CBP_SOP_PLAN_REQUEST_RFC - synchronous RFC to external planning system

CBP_SOP_PLAN_REQUEST_RFC - synchronous RFC to external planning system

CL_GUI_FRONTEND_SERVICES - Frontend Services   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Requests a set of demands to be planned into a capacity and material feasible and production plan within an external planning system.

The function module takes the Sales and Production Figures, the Target Stock Levels and the Target Day's Supplies for materials and product groups from SOP, takes into account the Opening Stock Levels and Material Availabilities and executes planning steps defined in the planning strategy under consideration of certain parameters. The result of the planning is a set of production figures, a Problem Identification list and Plan Attributes that relate to the current planning run.

The steps executed within the external planning system is expected to be the following:

manage the copying of a saved plan to a separate work space.

return the corresponding port number(s)/planning handle information.

insert / change orders in the system according to the new sales and

production figures.

dependent on the selected planning strategy setup the target stock

level and the target day's supply.

Convert the material availability numbers into material constraints.

Update the opening stock levels in the system according to the new

figures.

Perform necessary locking of materials and / or time periods.

Execute planning steps defined in the planning activity.

Extract and return new production figures from plan.

Extract and return problem list / planning attributes list / planning

protocol.

Example

Notes

If in the flag I_SOPCTR-SPLFLG is set, it is only allowed to manipulate the materials through planning, that are contained in the table IO_SOPTAB. If the flag I_SOPCTR-SPLFLG is not set, it is allowed to manipulate every material through planning.

The planning actions defined in the table I_PLACT shall be executed like one planning step.

In the table I_MBEST are only materials or product groups contained, that are also contained in the table IO_SOPTAB. If for one of these materials no record is contained in the table I_MBEST, the opening stock level shall be zero.

The table I_MALLOC contains typically materials, which are lowest level materials in the BOM or Rough-Cut Planning Profile. If a lowest level material is not contained in the table I_MALLOC it shall be defined as infinitly available.

If the flag I_SOPCTR-REQONLYFLG the table I_PLACT, the table I_MBEST, the table I_MALLOC and the table I_PARDEF is empty. In this calling mode it is only required to return the current production figures for the periods, that are specified in the TABLE IO_SOPTAB, which contains a record for each requested period. In addition to this the TABLE O_PROLIS and the tables O_PLATT AND O_PLPROT are required to be filled.

The fields I_SOPCTR-BEGIN und I_SOPCTR-PENDE define the date range for which the planning shall take place, i.e. for which the production figures shall be returned.

Further information





Parameters

IO_SOPTAB
I_MALLOC
I_MBEST
I_PARDEF
I_PLACT
I_SOPCTR
I_SOPFIX
O_PLATT
O_PLPROT
O_PROLIS
O_SOPCTR

Exceptions

PARTNER_FAILURE

Function Group

CBP_SOP

ABAP Short Reference   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 4446 Date: 20240523 Time: 110800     sap01-206 ( 72 ms )