cancel
Showing results for 
Search instead for 
Did you mean: 

Smartforms - pass dynamic internal tables

Former Member
0 Kudos

Hello experts,

In my smartform print program, I have created a dynamic internal table using method CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE where in my dynamic internal table <DYN_TABLE> is declared as

FIELD-SYMBOLS: <DYN_TABLE> TYPE STANDARD TABLE,
               <DYN_WA>.

I am populating <DYN_TABLE> and passing it on to my smartform. Now my question is, inside my smartform, how can I declare this dynamic table <DYN_TABLE> in form interface? Please let me know. Thanks.

Accepted Solutions (0)

Answers (1)

Answers (1)

Pawan_Kesari
Active Contributor
0 Kudos

This could be one of the solution.

1. Create table type using data element EDI_SDATA (char 1000) , say ZTTDYN .

2. Use this as importing paramter your smarform.

3. In print program transfer the content from dynamic internal table to internal table define using ZTTDYN. You can comma seperate then fields.

4. Pass this comma separated internal table to smartform.

5. And finally proces this data in smartform.