Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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?



Former Member
Former Member replied


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.



0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question