Ansicht
Dokumentation

APOCDPS0 - Customer Exit for APO Planning Table

APOCDPS0 - Customer Exit for APO Planning Table

RFUMSV00 - Advance Return for Tax on Sales/Purchases   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

Enhancement APOCDPS0 for the DS Planning Board (Customer Exit)

You can use the customer exit APOCDPS0 to:

  1. Transfer objects to the user exit (resources, blocks, products, orders, operations, and their capacity requirements)
  2. Change object data
  3. Display the changed data in the DS planning board

To transfer the objects to the customer exit, you can

  1. Select the objects in the DS planning board
  2. Select Functions -> User

The system transfers the following data for the selected objects to the customer exit:

Import parameters
I_SIMSESSID Internal key for the identification
of a simulation version
I_RESUID_TAB Table with the internal keys for resources
I_ORDID_TAB Table with the internal keys for orders
I_PCMIDS_TAB Table with the internal keys for campaigns
I_CAP_REQ_TAB Table with the internal keys for
capacity requirements
I_PEGID_TAB Table with the internal key for products
I_BLOCKID_TAB Table with the internal key for blocks

You can include a program in the customer exit to evaluate the data. In order to read further data, you can use, for example, the following function modules:

Function modules for reading further data
Resource data /sapapo/efpl_res_get_from_db
Order data /sapapo/efpl_ord_data_get
Capacity requirements data /sapapo/efpl_capreq_data_get
Product data /sapapo/efpl_mat_data_get

From the customer exit, you can transfer the changed data back to the DS planning board with the following tables:

Export parameters
Table with resource data I_RESSOURCES_TAB
Table with order data I_ORDERS_TAB
Table with campaign data I_PCMIDS_TAB
Table with capacity requirements data I_CAPREQ_TAB
Table with product data I_PEGIDS_TAB
Table with block data I_BLOCKID_TAB

The DS planning board displays the changed data immediately after they are transferred.

Note: You only use the export tables to display the data changed in the customer exit in the DS planning board. If you want the system to save the changed data in the simulation version (in the live cache), you have to use the relevant function module in the customer exit.






TXBHW - Original Tax Base Amount in Local Currency   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 3978 Date: 20240426 Time: 101321     sap01-206 ( 32 ms )