Skip to Content

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

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Feb 12 at 01:27 PM

    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

    Add comment
    10|10000 characters needed characters exceeded