Application Development and Automation 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: 
Read only

How to access generic imported parameter

Former Member
0 Likes
420

Hi friends,

If i pass internal table in importing parameter with <b>type</b> index table in method, how can i access that internal table in my method or how can i loop through it's each row.

because that is generically defined internal table, it has unknown structure.

hopping earliest reply.

Regards,

virat

Hi friends,

If i pass internal table in importing parameter with <b>type</b> index table in method, how can i access that internal table in my method or how can i loop through it's each row.

because that is generically defined internal table, it has unknown structure.

hopping earliest reply.

Regards,

virat

1 REPLY 1
Read only

holger_huene
Advisor
Advisor
0 Likes
372

Hi,

Try this:

it_data importing type standard table.

field-symbols:

<fs_any> type any,

<fv_any> type any.

loop at it_data assigning <fs_any>.

assign component ... of structure <fs_any> to <fv_any>.

...

endloop.