on 2020 Jan 09 6:19 PM
Hello Experts
Post upgrade to EHP4, DO_VALIDATE_INPUT method is not getting called after click on EH_ONSAVE.
Can make a explicit can to DO_VALIDATE_INPUT in EH_SAVE ?
Regards
Sachin Sharma
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Hello Tanaya
Thank you for response and suggestion, still we could not found exact reason why DO_VALIDATE_INPUT method not getting called every time on round trip.
This might be SAP has done performance optimization in EHP4 for UI performance.
We did work around by placing code in EH_ONSAVE itself, as this was small check and worked for us.
Thank You
Sachin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sachin,
Ideally, this method should get triggered from the standard. Now, why it is not getting triggered, I can not answer without debugging your system.
Technically, you can call DO_VALIDATE_INPUT in EH_SAVE as long as
DO_VALIDATE_INPUT is a protected method, so it is available only in the current class and the corresponding sub-classes.
Now, if you have to call DO_VALIDATE_INPUT inside EH_SAVE, then please get the existing instance of the global messages inside EH_SAVE and pass it to DO_VALIDATE_INPUT. Otherwise, the existing messages in the global container might get overwritten.
Thanks and Regards,
Tanaya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.