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

Different layout in Webdynpro ALV.


I have a requirement like below.

I need to display different types of output based on selection-screen.

I have overall 40 Fields in output table.But in some cases i need to display 10 fields, 20 fields and 25 fields. So each output is different.

Also i have a back button. When i click Back button and selection another layout, then output layout is different.

Ex. from Output screen 1, when i click back button and select different layout and the result should be different output. This is working 1 and 2nd occurance, I when i tried the same in 3rd or more occurence then its not working. Anyone have any idea how to clear ALV container each occurance.

also i have to shrink the header text. FYI.. i am getting description from Data elements .


Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Posted on Jan 09, 2012 at 06:32 AM


    check this article for ALV layout changes: [Multiple Layouts in WDA|]

    For column re-sizing use CL_SALV_WD_COLUMN->SET_RESIZABLE method, check this thread for reference: resize column width in ALV

    Hope this helps u.,

    Thanks & Regards,


    Add comment
    10|10000 characters needed characters exceeded