Skip to Content
author's profile photo Former Member
Former Member

how to add new cols to ALV ?


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


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jan 28, 2008 at 04:38 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.