Application Development 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: 

ALV Grid + Append Row etc

former_member216029
Participant
0 Kudos

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

2 REPLIES 2

former_member188685
Active Contributor
0 Kudos

did you check the program BCALV_EDIT_04 , if not check it once.

Former Member
0 Kudos

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