Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

ALV settings in webdynpro


how can I transport alv settings (hidden columns, calculations, filters etc..) among systems? I have alv with 70 columns, I have to hide 60 on development system, then the same 60 on QA system and then the same 60 on productive system, set up calculations....

Classic ALV have this function:

data: gr_functions type ref to cl_salv_functions.

gr_functions->set_all( abap_true ).

In WDA ALV I have to write something like this:

DATA l_table TYPE REF TO cl_salv_wd_config_table.

l_table = l_salv_wd_table->get_model( ).

l_table->if_salv_wd_table_settings~set_scrollable_col_count( 8 ).

l_table->if_salv_wd_std_functions~set_aggregation_allowed( abap_true ).

l_table->if_salv_wd_std_functions~SET_GROUP_AGGREGATION_ALLOWED( abap_true ).




Or is there any better approach?

Many thanks for reply

Former Member

Run your application in configuration mode (url parameter sap-config-mode). Then when you save the ALV settings you will be able to create public settings. With SAP-CONFIG_MODE=X, the settings will be saved as customizing and you will be prompted for a customizing transport (assuming your client is setup for customizing). If you use SAP-CONFIG-MODE=config then when you save the settings will be saved as Configuration and you will be asked for a Package and a Workbench transport.

>Classic ALV have this function:

There is a similiar utility in WDA ALV.

*... ... Standard ALV Functions
    r_model = lr_config
    allowed = abap_true ).

In general have a look at the class CL_SALV_WD_MODEL_TABLE_UTIL. It can be quite helpful.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question