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

ALV Grid + Append Row etc

Former Member
0 Likes
541

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

2 REPLIES 2
Read only

Former Member
0 Likes
492

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

Read only

Former Member
0 Likes
492

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