on 01-09-2012 4:53 AM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.