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.
Showing results for 
Search instead for 
Did you mean: 

Editable ALV problem with CHECK_CHANGED_DATA

Former Member
0 Kudos

Hi. We've found a problem that is probably easy to fix, but I can not find a post on SDN about it.

If we have bad data in our editable ALV and call method CHECK_CHANGED_DATA importing E_VALID it correctly gives us error messages on screen and E_VALID is initial where fields do not exist in their check tables.

However, if we press save again without changing any more data then CHECK_CHANGED_DATA does not issue errors and E_VALID = X.

It is only checking data that we have changed since the last time the method was called. If a user presses save twice it gets past the error messages.

We could obviously put checks in the PAI the screen but that would mean putting in our own code when SAP is supposed to do it on its own.

Does anyone know how we can make it check the data and issue messages every time you press save?

Thanks a lot for your help.




Former Member
0 Kudos

Hi David,

I am also facing the same issue. Do you have any inputs on this?