cancel
Showing results for 
Search instead for 
Did you mean: 

How to make Default ALV layout

Former Member
0 Kudos

Hi,

I want to make 'STANDARD view' as a default ALV Layout...If anybody execute my ALV Report STARD Layout variant should display by default. Other variant layouts they can select from drill down..

I know class and method but i don't know how to write code for this with paremeters..Can anybody help on code please..

CLASS : CL_SALV_WD_C_TABLE

METHOD : IF_SALV_WD_COMP_TABLE_PERS~SET_STANDARD_VIEW

My current ALV CODE

DATA: l_ref_interfacecontroller TYPE REF TO iwci_salv_wd_table .

DATA: l_value TYPE REF TO cl_salv_wd_config_table.

l_ref_interfacecontroller = wd_this->wd_cpifc_alv( ).

l_value = l_ref_interfacecontroller->get_model( ).

Thanks.,

Subba

Accepted Solutions (0)

Answers (1)

Answers (1)

gill367
Active Contributor
0 Kudos

Whats the need to write code for that.

go to settings and dont make anyother layout type as initial view.

automatically standard view will be default.

thanks

sarbjeet singh

Former Member
0 Kudos

Hi sarbjeet singh,

Thanks for your reply...

I didn't understand your answer...Already this view gone to production system and every USER created his own view..

Now how can make default standard view to all users..

If i keep Standard view as Intial view and release transport to production is it effected to all users and display standard view as initial view?

Thanks,

Subba