Skip to Content
avatar image
Former Member

CRM_ORDER_STATUS Error Message is displayed twice

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Feb 01, 2017 at 07:08 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • avatar image
    Former Member
    Mar 27, 2017 at 06:10 AM

    Hi Christophe,

    I have resolved the error myself by using FM CRM_MESSAGES_DELETE.

    Regards,

    Rohan

    Add comment
    10|10000 characters needed characters exceeded