Documentation View

We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!

APOCDPS1 - Customer Exit for the Selection of Planning Run

APOCDPS1 - Customer Exit for the Selection of Planning Run

BAL Application Log Documentation   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Customer-Specific Object Selection for the Production Planning Run

In the customer exit APOCDPS1, you can choose the objects that the system should process in a processing step (for example, schedule) in a production planning run.

The system calls up the customer exit during production planning runs in the processing steps for which you specified that the objects should be transferred from the customer exit APOCDPS1.

For each processing step, the customer exit can only return one type of object, for example, only orders or only resources.

You can implement various options for object selection, and define the object selection depending on the processing steps to be executed or depending on the job.

  • Import parameter
Using the import parameter I_USER_EXIT_ID, you can differentiate between the various selection options in the customer exit. The user assigns the value of this parameter to the processing step when defining the parameter for production planning runs.
  • Export parameter
The following object tables that contain selected objects are possible export parameters:
  • E_SEL_RESUID_TAB

Table with the internal keys for the resources
  • E_SEL_LINID_TAB

Table with the internal keys for the lines
  • E_SEL_ORDID_TAB

Table with the internal keys for the orders
  • E_SEL_OPR_KEY_TAB

Table with the internal keys for the operations
  • E_SEL_PEGID_TAB

Table with the internal keys for the products
  • E_SEL_BLOCKID_TAB

Table with the internal keys for the blocks
Only one object table can be returned.





ABAP Short Reference   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 2280 Date: 20211208 Time: 013325     sap01-206 ( 28 ms )