cancel
Showing results for 
Search instead for 
Did you mean: 

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

0 Kudos

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?

Accepted Solutions (1)

Accepted Solutions (1)

loga201
Contributor
0 Kudos

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

Answers (0)