Skip to Content
0

Validate a custom field in SAP TM while pressing Save

Feb 09, 2017 at 02:37 PM

100

avatar image
Former Member

Hello Experts I have a requirement to validate a custom field which I have added at the BO level. The validation needs to done such way that if condition does not satisfy it should give error message while pressing save button.

tm.jpg (123.3 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Clark Huang
Feb 27, 2017 at 09:46 AM
0

Hi,
This check could be achievied in the BOPF consistency/action validation.

TOR already provide the consistency/action validation check during save. You can enhance the according class as below.

1.Enhance the excute method

2.If condistion not satisfy, put the tor key in the ET_FAILED_KEY.

3. In case request to highlight the error field, put the attributes in the EO_MESSAGE.

Best Regards

Clark Huang


Share
10 |10000 characters needed characters left characters exceeded