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

VL02N How to Fill Batch Split (CHARG) automatically ( by Exit )

michael_teran
Participant
0 Kudos
3,960

Hi,

I would like to fill field CHARG automatically using an exit or BAdi but I don't know what table fill

Somebody know  haow to do that?

7 REPLIES 7
Read only

Sijin_Chandran
Active Contributor
0 Kudos
1,708

Helllo Michael ,

Searching about User Exit MV50AFZ1 will be helpful .

Read only

Former Member
0 Kudos
1,708

Hi,

You can fill the CHARG at item level in the user-exit MV50AFZ1

form:  form userexit_save_document_prepare.

you can pass batch value to the LIPS-CHARG .

Thanks,

Kiran

Read only

michael_teran
Participant
0 Kudos
1,708

I would like to insert more than one row for LIPS-CHARG

Read only

Former Member
0 Kudos
1,708

You can use this program:

MV50AFZ1

and this perform FORM USEREXIT_SAVE_DOCUMENT_PREPARE.


Here you can create an implicit enhancement.

Regards

Vivek

Read only

0 Kudos
1,708

Batch split or Batch Determination happens mainly based on the batches available for that material and the quantity to be split into batches. Why would you want to insert additional batch into the delivery?

Could you give the complete picture pls? I did a similar requirement recently, might be able to provide more inputs if needed.

Read only

sai_krishna24
Active Participant
0 Kudos
1,708

If you are using a customized batch determination process then you can try below mentioned badi.

Try this BADI LE_SHP_DELIVERY_PROC, earlier i had something like the same requirement.. Using this badi we achieved it .

Thanks

SaiKrishna

Read only

atul_mohanty
Active Contributor
0 Kudos
1,708

Hi - Use BADI - LE_SHP_DELIVERY_PROC. And the Method ‘SAVE_DOCUMENT_PREPARE’.

Let us know, in case any further help.

Regards,

Atul Mohanty