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

Batch Split -

Former Member
0 Likes
922

Hi All,

using user-exit USEREXIT_BATCH_DETERMINATION in MV50AFZZ, we can determine batch for a line item and it looks like this ..

Line 10 Batch1

I wanted to know, if we available qty is not sufficient, can we created another subline item and assign another batch ? as shown below..

Line 10

900001 Batch1

900002 Batch2.

Any inputs appreciated.

Edited by: Anitha Reddy Rapole on Jul 26, 2010 10:26 PM

Edited by: Anitha Reddy Rapole on Jul 26, 2010 10:27 PM

3 REPLIES 3
Read only

former_member183879
Active Contributor
0 Likes
614

Yes,

This is a valid case.

In this case the parent line item (POSNR) field in LIPS is 10

For this parent item, the child line item numbers will be 900001 and 900002

It is possible to find out the parent line item of these child (batch split line items) from the field LIPS-UECHA.

In this case the field value of LIPS-UECHA will be 10

This indicates that UECHA 10 is teh parent line item of the child line items 900001 and 900002,

Hope this will help you to code correctly.

Read only

0 Likes
614

Navaneetha,

Thank you for your reply. I knew it is valid scenario but wanted to know how to code it and where is the right place to do that,

I am in user-exit : USEREXIT_BATCH_DETERMINATION and having access to lips structure.

I am little concern to just append new delivery sub-item 900001 here in this user-exit, populating most of the fields from lips.

Move corresponding fields from lips to xlips.

move 900001 to xlips-posnr.

move lips-posnr to xlips-uecha.

move 'batch1' to xlips-charg.

append xlips.

anything else had to be done here. any inputs are greatly appreciated.

I am wondering how other related internal tables like ilips, etc will be impacted.

Regards

Anitha.

Read only

Former Member
0 Likes
614

not really answered but .I want to close it.