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

REUSE_ALV_LIST_DISPLAY - input fields

Former Member
0 Likes
631

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!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
576

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!

3 REPLIES 3
Read only

Shivaji16
Active Participant
0 Likes
576

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...

Read only

Former Member
0 Likes
577

in the USER_COMMAND subroutine check for the field SY-DATAR

IF SY-DATAR EQ 'X'.

  • some changes are made on the screen

ENDIF.

Read only

0 Likes
576

Thanks for your reply, unfortunately sy-datar is space in the user_command routine, even if data has been changed...