Skip to Content
0
Former Member
Oct 05, 2009 at 02:47 AM

Looping in 2 diff tables in SMARTFORMS

22 Views

HI All,

i have a case where the data's from one loop to be passes & used in another loop inside the smartforms.

Ex. The below is from my developed SMARTFORMS in the MAIN WINDOW inside the MAIN AREA of the TABLES.

Loop ITAB1 into wa_itab1.

LooP ITAB2 into wa_itab2.

" Here i need to use the field in wa_itab1 to pull out records from a database table

endloop.

endloop.

Note: In my second loop i used wa_itab1-(fieldname) to pull out data but it says data not declared.

can u guys help me out ?

Thanks in advance.

Prem.