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: 

how to add new cols to ALV ?

Former Member
0 Kudos

Hi,

in a report , we have a some fields in the table it_data and avaiable fielcat table.

But while running , we need to add some new colunms to the it_table ( data to be displayed ) , So how can we do this ?

For example :

I have the field : matnr & maktx

But then Before displaying i will get all the characteristics of this materail and with each characteristics i will add a new column.

So would you please tell me the way of doing this

Thanks

1 REPLY 1

former_member191735
Active Contributor
0 Kudos

Add the same fields to field catalog and add them to final internal table if you know the fields and have the same in your final internal table or You have to create dynamic internal table with the output internal table.

Search forums for dynamic internal table.

.

Edited by: abap technical on Jan 28, 2008 9:38 AM