07-25-2018 7:16 PM
In an Editable ALV Grid, if an invalid entry is entered, the ALV grid highlights the field, shows the error in status bar and does not allow the user to proceed without fixing the invalid entry and error.
How can I achieve this behavior. I have raised error in PAI Module of the screen but highlighting and blocking user to perform operation does not work.
Thanks in advance for the assistance.
Attached screenshot for reference of a working example below.
07-26-2018 7:17 AM
Are you aware that
Else use search tool, there are already some samples/guides in the wiki section of the forum (click here) on how to handle errors in editable ALV, there is also documentation in online help (click here)
07-25-2018 8:29 PM
Hi,
By Debug... Following excellent example from SAP community to achieve/debug that scenario.
Regards,
07-26-2018 1:41 AM
You have to handle DATA_CHANGED event, after checking the field you want, this event have ER_DATA_CHANGED parameter (data type =
CL_ALV_CHANGED_DATA_PROTOCOL) with method ADD_PROTOCOL_ENTRY where you can add message and hightlight cell. I think there are some sample around, you can try it.
07-26-2018 7:17 AM
Are you aware that
Else use search tool, there are already some samples/guides in the wiki section of the forum (click here) on how to handle errors in editable ALV, there is also documentation in online help (click here)
07-29-2018 11:38 PM
Dear Raymond,
I am aware that it is ALV Grid because internally in the processing ALV related methods are invoked.
07-26-2018 7:40 AM