Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

exclude function OO ALV grid

Former Member
0 Likes
451

Hello;

I have implemented OO ALV grid and excluded some of the function icons. Altough the save variant function is not excluded it is not displayed in the output. What can be the reason?

Thx in advance,

Ali

1 ACCEPTED SOLUTION
Read only

former_member194669
Active Contributor
0 Likes
353

Hi,

Check these <<<<<< lines


    gs_variant-report       = sy-repid. "<<<<<
    gs_variant-username     = sy-uname. "<<<<<
    call method grid1->set_table_for_first_display
      exporting
        is_layout                     = gs_layout
        is_variant                    = gs_variant
        i_save                        = 'A'    "<<<<<<
        it_toolbar_excluding          = i_exclude[]
      changing
        it_outtab                     = i_output[]
        it_fieldcatalog               = i_fieldcat[]
      exceptions
        invalid_parameter_combination = 1
        program_error                 = 2
        too_many_lines                = 3
        others                        = 4.

a®

1 REPLY 1
Read only

former_member194669
Active Contributor
0 Likes
354

Hi,

Check these <<<<<< lines


    gs_variant-report       = sy-repid. "<<<<<
    gs_variant-username     = sy-uname. "<<<<<
    call method grid1->set_table_for_first_display
      exporting
        is_layout                     = gs_layout
        is_variant                    = gs_variant
        i_save                        = 'A'    "<<<<<<
        it_toolbar_excluding          = i_exclude[]
      changing
        it_outtab                     = i_output[]
        it_fieldcatalog               = i_fieldcat[]
      exceptions
        invalid_parameter_combination = 1
        program_error                 = 2
        too_many_lines                = 3
        others                        = 4.

a®