01-29-2008 5:35 PM
Hi,
I am using the Function modules for alv report,
My 1st field in the list is checkbox,
User can select the checkbox for further process.
My problem is I want to remove the standards select option from alv.
I have searched in slis_layout_alv for any option, but I could not.
Please help me.
Regards
Rajan
01-29-2008 10:54 PM
Hello Rajan
In OO-based layouts (LVC_S_LAYO) you have to change ls_layout-SEL_MODE.
A similar field should be available in the old-fashioned SLIS layout, too.
For more details please refer to:
[An Easy Reference For ALV Grid Control|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907]
Regards
Uwe
01-29-2008 11:04 PM
If I understand your question right, define a GUI for your ALV and deactivate the standard buttons on that GUI.
01-30-2008 1:20 AM
HI
Exclude process options from ALV
PERFORM alv_excl. ( g_r_excl TYPE ui_functions . )
FORM alv_excl.
APPEND cl_gui_alv_grid=>mc_mb_sum TO g_r_excl.
APPEND cl_gui_alv_grid=>mc_mb_subtot TO g_r_excl.
APPEND cl_gui_alv_grid=>mc_fc_graph TO g_r_excl.
APPEND cl_gui_alv_grid=>mc_fc_info TO g_r_excl.
APPEND cl_gui_alv_grid=>mc_fc_print_back TO g_r_excl.
ENDFORM. " alv_excl
CALL METHOD g_r_grid->set_table_for_first_display
EXPORTING
is_layout = g_r_layo
is_variant = g_r_variant
it_toolbar_excluding = g_r_excl
i_save = 'X'
CHANGING
it_outtab = g_t_yetprint[]
it_fieldcatalog = g_t_fieldcat.
Options appended in g_r_excl, will be excluded from ALV
Praveen