Application Development 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: 

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

Former Member
0 Kudos

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

4 REPLIES 4

Former Member
0 Kudos

Hi

I don't believe there's a solution, i.e I think it's bug of ALV, u should open an OSS message.

Max

0 Kudos

Allright, thanks for your quick answer, i am very new in the SAP world(working there for exactly 2 weeks so i don't know what a OSS message is and how to open one....

0 Kudos

Hi

SAP has a service for the support of customers: here u can find notes in order to solve some malfunctions or to open a message to ask to solve a malfunction.

U can go to [service.sap.com], but u need to have an user.

Max

Former Member
0 Kudos

Allright lets see what SAP has to say

Thanks