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: 

Join Internal Table for all entries

Former Member
0 Kudos

Hi,

I have put the LIKP data in the internal table and then use the for all entries statement to join the table with LIPS. Besides, i specifiy an additional condition to filter empty batch.

But, i found that the empty batch record still exist in the result. Any idea??

 
    SELECT *
    FROM LIPS INTO  TABLE I_DELIVERY_INFO
    FOR ALL ENTRIES IN I_DELIVERY
    WHERE
    VBELN = I_DELIVERY-VBELN.
    AND
    CHARG IS NOT NULL.

Regards,

Kit

1 REPLY 1

gopi_narendra
Active Contributor
0 Kudos

Hi Kit,

If you are using LIKP and LIPS then you can directly join them since these tables are HEADER & ITEM table.

regd ur query you can use CHARG NE ' '.

Regards

Gopi