Application Development 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: 

populate batch number automatically in the process order transaction (cor1,cor2)when PO is released.

0 Kudos

Hi Experts,

Kindly me help in providing the solution for populating the batch number(custom ) in the batch field in process order transaction(COR1,COR2) Whenever the Process order is released .

I found Badi -workorder_upodate method at release which is triggering at release but if i use bapi or fm -VB_CREATE_BATCH to create Batch and commit work leading to dump as we know we should not use commit in Badis and exits.

Please provide your valuable solution to achieve this.

Thanks in advance.

Thanks,

Raj.N

1 REPLY 1

0 Kudos

Hi,

I found the solution after debugging, i have used enhancement spot to achieve this and no commit required after vb_create_batch FM because the commit will triggered at the time of save .This commit will help in creation of batch.

Thanks,

Raj.N