Skip to Content
0
Former Member
Sep 23, 2008 at 03:19 PM

About looping

31 Views

Hello,

I have one internal table IT_MDEZ with certain fields and in second internal table i have some fields .

i have to read the IT_MDEZ where one field EXTRA lies in second internal table.

It is something like this.

LOOP AT it_mdez WHERE delkz = 'VC'

AND dat00 LT sy-datum

AND kunnr = it_temp1-kunnr.

  • AND extra(10) IN ( it_cview-vbeln ).

I need syntax for doing this 'AND extra(10) IN ( it_cview-vbeln )'.

extra(10) stores value of VBELN and have to run the loop no of times this value lies in the concerned internal table for each KUNNR.

Please help.

Rgds,

Anshu