2007 Feb 05 10:17 AM
Hi all,
I am using REUSE_ALV_LIST_DISPLAY with an input field "quantity". Does anybody happen to know if there is a possibility to check, if data has been edited in the input field, apart from comparing before/after list display?
Is there a possibility to catch system exceptions (conversion / field overflow)? I have tried to catch exceptions in my callback routine for user-command, but I get a dump before my own program gets control.
Thanks for your suggestions, kind regards, Kathrin!
2007 Feb 06 8:19 AM
in the USER_COMMAND subroutine check for the field SY-DATAR
IF SY-DATAR EQ 'X'.
some changes are made on the screen
ENDIF.
Hi all,
I am using REUSE_ALV_LIST_DISPLAY with an input field "quantity". Does anybody happen to know if there is a possibility to check, if data has been edited in the input field, apart from comparing before/after list display?
Is there a possibility to catch system exceptions (conversion / field overflow)? I have tried to catch exceptions in my callback routine for user-command, but I get a dump before my own program gets control.
Thanks for your suggestions, kind regards, Kathrin!
2007 Feb 06 8:17 AM
Hi Kathrin,
Editable feature in ALV, is better handled with Object oriented approach.
we have events " DATA CHANGED" for ALV grid control..
we can handle the event in the recevier class and perform the appropriate
action, when the data in the cell is changed...
2007 Feb 06 8:19 AM
in the USER_COMMAND subroutine check for the field SY-DATAR
IF SY-DATAR EQ 'X'.
some changes are made on the screen
ENDIF.
2007 Feb 06 11:49 AM
Thanks for your reply, unfortunately sy-datar is space in the user_command routine, even if data has been changed...