cancel
Showing results for 
Search instead for 
Did you mean: 

CRM_ORDER_STATUS Error Message is displayed twice

0 Kudos

I have implemented CRM_ORDER_STATUS BADI and given error message as follows:

MESSAGE e001(zcrm_custom) RAISING not_allowed.

But the message is appearing every time the BADI triggers.

So on BSP page error comes multiple times as well as even though I have specified as e001 warning message is appearing and not error.

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hi Christophe,

I have resolved the error myself by using FM CRM_MESSAGES_DELETE.

Regards,

Rohan

former_member196467
Active Contributor
0 Kudos

Hi Rohan,

Please check first in t-code SE91 in which programme the customized error is used.

It is likely that you have a collect a function such as

CRM_MESSAGE_COLLECT

or equilent to it.

In which case please correct the code involved.

Best regards

Christophe

0 Kudos

Hi Christopher,

CRM_MESSAGE_COLLECT FM is not used anywhere

As well as this error is not used anywhere

If I just write RAISE NOT_ALLOWED in BADI CRM_ORDER_STATUS by default some message is coming and that is also duplicating multiple times if I change the status over and over again.

Regards,

Rohan