‎2010 Jul 26 9:10 PM
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
‎2010 Jul 27 6:43 AM
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.
‎2010 Jul 27 4:33 PM
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.
‎2010 Sep 02 5:57 PM