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

Dynamic columns for ALV/classical

Former Member
0 Likes
359

Hi friends,

I came across an issue where I need to create an output list based on the selection screen.

Example: In selection screen if user enters plant 1000 2000 3000 4000 .

I want the output table having columns 1000 2000 3000 4000 .

Please help me out how to accomplish this task. Is this functionality is possible with ALV..?

A sample code for this will really help me a lot .. or send me your valuable suggestions..

Thanks

Prasead K

Hi friends,

I came across an issue where I need to create an output list based on the selection screen.

Example: In selection screen if user enters plant 1000 2000 3000 4000 .

I want the output table having columns 1000 2000 3000 4000 .

Please help me out how to accomplish this task. Is this functionality is possible with ALV..?

A sample code for this will really help me a lot .. or send me your valuable suggestions..

Thanks

Prasead K

1 REPLY 1
Read only

RaymondGiuseppi
Active Contributor
0 Likes
287

Search sdn for [cl_alv_table_create=>create_dynamic_table|https://www.sdn.sap.com/irj/scn/advancedsearch?query=cl_alv_table_create%3d%3ecreate_dynamic_table&cat=sdn_all], there are already many threads and samples. Basically, you dynamically fill an ALV fieldcatalog, then use the method to create a dynamic internal table from this catalog, fill the internal table and display it.

Regards