Skip to Content

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

e_ucomm problem

hello,

in my data_changed method I am doing a check on e_ucomm which is the function code of a context_menu in an ALV-Grid.

method handle_data_changed.
    if e_ucomm = 'Context_menu_AAS'.
      /bmw/pur_a003_cl_inbox_appl=>gv_verantw_flag = 'X'.
    endif.

Unfortunately the handle_data_changed is triggered also by pressing ENTER on the grid. I found out that e_ucomm is still set to value 'Context_menu_AAS' and is not set for exampe on initial.

Can I somehow clear the content of e_ucomm?

I tried

method handle_data_changed.
    if e_ucomm = 'Context_menu_AAS'.
      /bmw/pur_a003_cl_inbox_appl=>gv_verantw_flag = 'X'.
     clear e_ucomm.
    endif.

But that did not have any effects on future calls of handle_data_changed.

had somebody had the same experience?

with best regards

luchticha

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