Skip to Content
0

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

Mar 15 at 06:18 PM

35

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Raj n Mar 21 at 06:31 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded