Skip to Content
avatar image
Former Member

Blocking opportunity documnet save

Hi Expert,

I need to check some custom fields and block the opportunity document save if that are wrong.

I tried some BADIs (ex.ORDER_SAVE) but I don't know how to block the effective save.

Message 'E' does not work on Web UI(CRM70) properly. Is that right?

Could you help me?

Regards,

Miururu.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jun 17, 2010 at 12:50 PM

    Hi,

    In ORDER_SAVE badi, if you use method CHANGE_BEFORE_UPDATE you can raise exception ERROR_OCCURED in case the validation fails. Else if you use method CHECK_BEFORE_SAVE you can raise exception DO_NOT_SAVE. It is better to use check_before_save method.

    Regards,

    Arun

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      Thank you for your reply.

      It was very useful for us !!

      Our problem has been solved.

      Regards,

      Miururu