cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

DO_VALIDATE_INPUT input method not get called on EH_ONSAVE

Former Member
0 Likes
394

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

View Entire Topic
tanaya_das
Explorer
0 Likes

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

  • both the methods either are in the same class or
  • the class of EH_SAVE is the subclass of DO_VALIDATE_INPUT's class.

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