Application Development 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: 

Re:Logic Finding Batch Split Maintained for Outbound Delivery

Former Member
0 Kudos

Hi.

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

Guhapriyan Subrahmanyam

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

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

into i_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.

endif.

2 REPLIES 2

Former Member
0 Kudos

Hi,

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

into i_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.

endif.

Former Member
0 Kudos

hi,

i think the above answer is helpful to u.

Reward points if you found helpful