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: 

Dynamic internal table ?

Former Member
0 Kudos

  Hi Experts,

  I have requirement to print table data dynamically.

  In selection screen ,i have parameter for entering  TABLE name and select-option for selection required fields from table which is specified in parameter.

  After executing data need to print from TABLE for specified fields only?

Please help me with code ?

2 REPLIES 2

guillaume-hrc
Active Contributor
0 Kudos

Hi,

There are plenty of examples for dynamic table creation and data selection on SDN! You should make a search before dumping your requirements!!

As far as the SELECT-OPTIONS for selecting fields is concerned, I would suggest to create a ON VALUE-REQUEST FOR ... and use tables such as DD03L to get the list of fields.

http://wiki.sdn.sap.com/wiki/display/ABAP/ON+VALUE-REQUEST+event

Best regards,

Guillaume

former_member209120
Active Contributor
0 Kudos

This message was moderated.