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 .