on 01-31-2014 4:07 PM
Dear Experts,
I need to Change the Selection mode in the POWL ALV Table.
Also need to Adjust the Column width of the fields.
How to achieve this functionality??? Where can i change the selection mode and Column width.
Kindly give some suggestions.
Warm regards,
Nalla B.
Hi Nalla,
You can achieve your requirement as below
- Enhance the view and use POSTEXIT of WDDOMODIFYVIEW method
- You can set the selection mode and column width dynamically
- Get the ui element TABLE by using root container ui element
- use method SET_SELECTION_MODE of class CL_WD_TABLE
- Get the columns of table by using method GET_COLUMNS
- Loop over all columns and set the width of your column by using method LR_COLUMN->SET_WIDTH( )
Please refer the below link for .. accessing ui elements dynamically
How to Hide UI Elements & Adjust View Layout Dynamically in Web Dynpro ABAP
Hope this helps you.
Regards,
Rama
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
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.