2008 Oct 17 2:20 PM
Hello experts,
I have a couple of questions concerning handling of data in ALV Grid and hope someone can help me!
1) On clicking the standard 'Append Row' button provided with ALV Grid, my DATA_CHANGED method/event is triggered.
How do i ensure that during Addition/deletion of a row, DATA_CHANGED event/method is not triggered?
2)How do i ensure that the user does not enter duplicate row values?
(which methods need to be called that can help me check existing row values in DATA_CHANGED method)?
Thank in advance.
Regards
Dev
Hello experts,
I have a couple of questions concerning handling of data in ALV Grid and hope someone can help me!
1) On clicking the standard 'Append Row' button provided with ALV Grid, my DATA_CHANGED method/event is triggered.
How do i ensure that during Addition/deletion of a row, DATA_CHANGED event/method is not triggered?
2)How do i ensure that the user does not enter duplicate row values?
(which methods need to be called that can help me check existing row values in DATA_CHANGED method)?
Thank in advance.
Regards
Dev
2008 Oct 17 7:43 PM
did you check the program BCALV_EDIT_04 , if not check it once.
2008 Oct 17 7:47 PM
Hello,
1) I would check the sy-ucomm value...depending on the value will work.
2) I think It depends on how you declared the internal table...definik the it with keys will be enough.
I hope this was helpful
Bye
Gabriel P.-