cancel
Showing results for 
Search instead for 
Did you mean: 

Looping in 2 diff tables in SMARTFORMS

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

former_member156446
Active Contributor
0 Kudos

>

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

> Prem.

where ever u are using wa_itab1-(fieldname) in the program lines or text have wa_itab1 in the input paramters

Former Member
0 Kudos

Thanks Jay the problem has been solved.

Answers (0)