Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Query:Dispatch selective process orders from a list available

Former Member
0 Likes
452

Hi all,

we have a requirement in PP module to dispatch only selective process orders(based on a User criteria) from within a Zprogram.To achieve the same,

1)we have tried to do a BDC of transaction code CM25.But the line selection of the required order to be dispatched is not captured in recording.

2)Also,we have tried using the CM40 transaction(mass dispatch) and tried to control the orders dispatch through a user exit.This seems to working fine when CM40 is run independently.but the user exit does not get triggered when CM40 is called (using BDC)from within a Zprogram.

Can someone please throw some light/suggest any alternative for achieving the same i.e dispatch a selected process order from a list of available orders.

1 REPLY 1
Read only

Former Member
0 Likes
366

Hi all,

we have a requirement in PP module to dispatch only selective process orders(based on a User criteria) from within a Zprogram.To achieve the same,

1)we have tried to do a BDC of transaction code CM25.But the line selection of the required order to be dispatched is not captured in recording.

2)Also,we have tried using the CM40 transaction(mass dispatch) and tried to control the orders dispatch through a user exit.This seems to working fine when CM40 is run independently.but the user exit does not get triggered when CM40 is called (using BDC)from within a Zprogram.

Can someone please throw some light/suggest any alternative for achieving the same i.e dispatch a selected process order from a list of available orders.