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

Trigger Batch Creation from ME2xN

antonio_sanseverino
Participant
0 Likes
455

Hi guru, I've to trigger a batch creation...

These batches are created from standard code in Purchase Order Transaction, I've seen the BO of Batch object doesn't have any events, there is CL_PO_ITEM_HANDLE_MM class but the only event is CHANGE, and I don't know if I can use it.

How can I trriger the BATCH creation event?

Thanks a lot.

Antonio

2 REPLIES 2
Read only

Former Member
0 Likes
394

it is probaly not the only way, but we mostly work iwth some output type to which we assign a worklflow report instead of a driver program.

Read only

0 Likes
394

Sorry but I don't understand... Standard code call the method Batch_Cration and there aren't enh-points to insert custom code, I've to trigger the Batch Object creation event.

I've tried with workflow but CL_PO_ITEM_HANDLE_MM class has only one event: CHANGED and BUS1001002 business object doesn't have any events.

So... How can I use workflow?