Skip to Content

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

Howto disable Undo Key Combination(CTRL+Z) in ALV OO

Hello SAPler,

i have a question regarding the ALV Grid. I figured out howto disable the Undo Button with


data exclude type ui_functions.
data wa_exclude type ui_func.

wa_exclude = cl_gui_alv_grid=>MC_FC_LOC_UNDO.
append wa_exclude to exclude.

    CALL METHOD zgrid->set_table_for_first_display
      EXPORTING
        i_structure_name = 'SFLIGHT'
        is_layout        = zlayout
        IT_TOOLBAR_EXCLUDING = exclude
      CHANGING
        it_outtab        = z_zouttab[].

But my problem is that the Key Combination CTRL + Z still works, i've searched the Forums and the Net but couldn't find a solution.

Could anyone point me in the right direction?

Thanks in advance

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