Re:Logic Finding Batch Split Maintained for Outbound Delivery
Can any one tell me how to find a outbound delivery has batch split maintained..
In VL02n Transaction.. I gave a delivery number and logged in..
if there is batchsplit maintained then by clicking the bathsplit tab. the transaction takes to the Batchsplit screen..
else.. triggers saying batch split not maintained..
Same i wanted to incorporate in my program..
What is the LOGIC for Finding whether the batchsplit maintained for an line item..
Thanks & Regards
i think you can check the table LIPS for this.
in this table UECHA field indicates the sales order item number which is splitted.
and the splitted line items will have different number in POSNR of LIPS like 900010 like this rather than 10 ,20
now the logic will be
select * from lips
where vbeln eq delivery number
and posnr eq deliovery item
and uecha ne ' '.
if sy-subrc eq 0.
" then you have line items with batch split.
write the ligic like loop at i_lips and see the line items there.
by which you can get the line items which is batch splitted.