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

Possible to clear E_UCOMM when USER_COMMAND

0 Likes
1,120

Hi Colleagues,

I have an ALV Grid and the grid input checks are done in the DATA_CHANGED event handler, when error the ALV protocol is displayed. I also have a button in the toolar named RESET. When I click on the button RESET, no matter there is input data or not, no matter whether I pressed ENTER before RESET, I don't want to trigger the input check and output the ALV protocol. How can I do it? I have tried in DATA_CHANGED handler that:

IF E_UCOMM = 'RESET'

exit.

ENDIF.

It works by the first time that I click on RESET. After that I give some input value again, and press ENTER, no checks will be executed since the E_UCOMM stay with 'RESET'. I can't clear it.

thanks and best regards,

Wenwen

1 ACCEPTED SOLUTION
Read only

0 Likes
925

I just found the solution in another post if anybody interest in:

http://scn.sap.com/thread/1046604

3 REPLIES 3
Read only

surajarafath
Contributor
0 Likes
925

Try refresh of ALV in the DATA_CHANGED event...

Read only

0 Likes
925

Hi playsuji,

which class method do you mean by refresh of ALV? I tried with refresh_table_display. It is not working. The e_ucomm is not cleared...

best regards,

Wenwen

Read only

0 Likes
926

I just found the solution in another post if anybody interest in:

http://scn.sap.com/thread/1046604