ALVLIST

How to activate the functions Toolbar of new ALV Display CL_SALV_TABLE

By default, the function toolbar is not displayed in the new ALV Display. It must be activated. The functions object is retrieved from the ALV Object. In order to activate the complete function toolbar, the set_all( ) method of the function object must be called. DATA lr_functions_list TYPE REF TO cl_salv_functions_list. lr_functions_list = lr_alv_object->get_functions( ). …

How to activate the functions Toolbar of new ALV Display CL_SALV_TABLE Read More »

How to set the cell of the ALV List as a Dropdown list in SAP ABAP?

It is used to provide a list of values as a Drop down List. There are three important steps involved in setting the cell as a drop down list. Filling the internal table lvc_t_dral. Setting the fields drdn_hndl, drdn_alias of field catalog. Call the method set_drop_down_table of the ALV object. Filling the internal table lvc_t_dral. …

How to set the cell of the ALV List as a Dropdown list in SAP ABAP? Read More »

How to rename the column in the SAP ALV List through field catalog

The column names can be changed with the help of the fields REPTEXT, SCRTEXT_L, SCRTEXT_M and SCRTEXT_L of field catalog. If you wish to use only text of field ‘scrtext_l’, then fill the text only in this field ‘SCRTEXT_L’. The other texts can be ignored as the ALV takes the filled text automatically. FIELD-SYMBOLS: <ls_field_cat> …

How to rename the column in the SAP ALV List through field catalog Read More »