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: 

Validate editable field in ALV OO

nikhilsahire
Explorer
0 Kudos

I am checking editable amount field in alv in handle_data_changed method for event data_changed. I am able to check for amount is greater than previous amount or not, but even if I am showing error message I am not able to stop system to update new invalid amount in ALV grid. Help me out...!!!

Thanks & Regards,

Nikhil S A

2 REPLIES 2

Jelena
Active Contributor
0 Kudos

Share the relevant ABAP code.

former_member400468
Active Participant
0 Kudos

Did you delete MT_GOOD_CELLS line related to your amount from ER_DATA_CHANGED? Also it's needed to set ERROR = abap_true into MT_MOD_CELLS and show error by adding message to error protocol of ALV.