Skip to Content
0

Custom field in CR general section - CR gets submitted even after raising error message

Feb 12 at 10:42 AM

41

avatar image

Hello,

I've created a custom field (mandatory) in CR header section by adding a custom uibb to the customizing.

I am able to throw an error message if this custom field is left blank after user clicks on Submit button.

The problem is: Even after raising the error message, CR gets submitted.

So basically, I get 1 error message saying the custom field is blank and another message saying CR is submitted.

I do not want the CR to get submitted when this custom field is left blank. How can I acheive that?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Loga Nathan Duraisamy Feb 12 at 01:27 PM
0

Hi Mohammed,

You need to set process event failed. In the process event method,set EV_RESULT = IF_FPM_CONSTANTS=>GC_EVENT_failed.

Thanks and Regards,

Logan.D

Share
10 |10000 characters needed characters left characters exceeded