cancel
Showing results for 
Search instead for 
Did you mean: 

Remove Selection Mode in POWL ALV Table

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

ramakrishnappa
Active Contributor
0 Kudos

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

Answers (0)