cancel
Showing results for 
Search instead for 
Did you mean: 

How to carry out sale order wise planning in background through /sapapo/cdpsb0 ?

Former Member
0 Kudos

Hi,

we have a requirement that while using production planning in background job, sale orders should be used as selection criteria. Has anyone tried to provide a solution for sale order wise background planning run.

the same is possible in foreground throuhg RRP3 if you use variable heuristics where you can selectively run planning for specific sale orders.

I have also checked in the "Transfer Objects to Customer Exit SAPAPOCDPS0", but couldnt identify any way for enabling sale order wise background planning run.

Regards

Gaurav

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Gaurav

If you are using PPDS optimizer then here is how you can do so:

In the Optimization Profile, under ATP category you can insert BM ( sales order category) as the demand element:

You can also interactively do that while executing optimization directly from the planning board:

However your requirement is background so you can save category BM in the optimization profile and take a background optimization run. This way PPDS Optimizer should only consider sales order as demand. I have not tested this but this is what SAP says and you can test the same.

Regards

Chuck11

rajkj
Active Contributor
0 Kudos

Hi Gaurav,

You can use user exit APOCDPS1 (EXIT_SAPLCDPSUSER_002). 

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.

To query based on sales orders, your criteria must be based on the peg id which can help to map the sales order and product.

E_SEL_PEGID_TAB - Table with the internal keys for the products

Thanks,
Rajesh