Skip to Content
author's profile photo Former Member
Former Member

how to remove the select button from the alv grid

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Jan 29, 2008 at 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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 29, 2008 at 11:04 PM

    If I understand your question right, define a GUI for your ALV and deactivate the standard buttons on that GUI.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 30, 2008 at 01: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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.