cancel
Showing results for 
Search instead for 
Did you mean: 

POWL - change view default value

Former Member
0 Kudos

Hi gurus,

I need to change default value of view in POWL:

I know, that I can change the ALV in WD Component POWL_TABLE_COMP View TABLE_DATA Method WDOMODIFYVIEW in post-exit.

DATA: lr_alv_model TYPE REF TO   cl_salv_wd_config_table. 

DATA: lr_salv_wd_ifc TYPE REF TO iwci_salv_wd_table. 

   lr_salv_wd_ifc = wd_this->wd_cpifc_alv( ). 

   lr_alv_model = lr_salv_wd_ifc->get_model( ). 


But what I need to do now, which method in LR_ALV_MODEL to use?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Any help is really appreciated

Former Member
0 Kudos

Hi Dan K,

Follow the instructions below and let me know if it has worked for you.

1. Add and execute the WD application as a favorite, with the following parameters:

  • Application: POWL
  • Name: APPLID
  • Value: OSA-POWL-MSS

The application should be displayed in a browser window.

2. Go to:

  • Settings
  • Choose your default view and select "Properties"
  • Check the "Initial View" option
  • Click on "Ok" and "Save"

The query should now default to the view you have chosen.

Best regards,

Johan Coetzee

Former Member
0 Kudos

Enhancing WD Comp ' POWL_TABLE_COMP' will affect all POWL applications.

The value of view comes from what layout user has saved and set as initial view.

Why you want to change it?

Message was edited by: Hitesh Wankhede

Former Member
0 Kudos

Hi Hitesh,

that's the HR consultant's demand. He wants to change default view in all POWL applications.