cancel
Showing results for 
Search instead for 
Did you mean: 

Different layout in Webdynpro ALV.

Former Member
0 Kudos

Hi

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 .

Ravi

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member184578
Active Contributor
0 Kudos

Hi,

check this article for ALV layout changes: [Multiple Layouts in WDA|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90b5f165-f4b8-2d10-39bf-e2b59da7fdcb?QuickLink=index&overridelayout=true]

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

Hope this helps u.,

Thanks & Regards,

Kiran.