Application Development 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: 

Passing Any internal table having different structure into a class.

ssai3973
Explorer
0 Kudos

I have to create a class that it should accept any structured internal table. How to do that is there any option in SAP?

Regards,

ssai3973.

1 ACCEPTED SOLUTION

former_member182550
Active Contributor

Lookup Type Any Table, Create Data and Field-Symbols.

3 REPLIES 3

former_member182550
Active Contributor

Lookup Type Any Table, Create Data and Field-Symbols.

0 Kudos

Hi Richard,

I will be calling the method of that class in many places but i will pass different structured tables every time.

Regards,

ssai3973.

Does not matter about the table structure. If you include the dd name of a structure or table one you can create the table dynamically, or use field symbols to get at the data

Rich