06-21-2017 5:25 PM
Dear experts,
I'm using the OO ALV with some editable columns. However, I want to perform some validation on the values user enters. So, if certain conditions are not met, a message should appear and not the user-entered should be displayed in the ALV, but the value, which was in its place before. I'm catching the event data_changed and perform my validation in the corresponding class method. So far have not been able to make the system not accept the user-entered value. It gets always displayed no matter what I do.
Any suggestions?
Thanks in advance for your help!
Best regards,
Alexander.
06-21-2017 9:39 PM
I'd prefer that you tell us exactly what you tried with method names, because I guess you wouldn't like my answer: "you should add an error message to the log, and change the value of the cell". Right? So, use methods ADD_PROTOCOL_ENTRY and MODIFY_CELL of parameter ER_DATA_CHANGED of event DATA_CHANGED.
06-21-2017 5:26 PM
06-21-2017 9:39 PM
I'd prefer that you tell us exactly what you tried with method names, because I guess you wouldn't like my answer: "you should add an error message to the log, and change the value of the cell". Right? So, use methods ADD_PROTOCOL_ENTRY and MODIFY_CELL of parameter ER_DATA_CHANGED of event DATA_CHANGED.
06-22-2017 6:26 AM
06-26-2017 8:53 AM