cancel
Showing results for 
Search instead for 
Did you mean: 

Blocking opportunity documnet save

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

former_member192716
Contributor
0 Kudos

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

Former Member
0 Kudos

Hi,

Thank you for your reply.

It was very useful for us !!

Our problem has been solved.

Regards,

Miururu

Answers (0)