Showing results for 
Search instead for 
Did you mean: 

Restrict SAVE functionality and throw Error Message on BP change

Former Member
0 Kudos

HI all,

I am performing certain validations when the Marketing Attribute of a BP is changed. For certain conditions, I will have to stop the changes from getting saved and throw up an error message. Please suggest how to stop SAVE functionality and throw Error Message in both GUI and PCUI.

I tried to raise the exception DO_NOT_SAVE. But, it does not exist. I am developing the code in the Badi BUPA_GENERAL_UPDATE.



Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos


You'll have to implement a function module for a BDT event of business partner. Under transaction BUS7, you can find a event DCHCK - Checks Before Saving (Cross-View). Under this event you can assign a custom funtion module which checks and raises a error message.

I hope this helps.