Skip to Content

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

Save Failed error when deleting a BO instance

Hi Experts,

This is a weird one. 


Validation:OnSave - is blocking the deletion of the BO.


I have written a SalesQuote extension with a couple of extra fields. One of the fields is a dropdown list that should have a selection before user can save the BO. This was accomplished using the standard code in the BeforeSave event:




this.allowSave = false;   //allowSave is defined in the BO extension


else {this.allowSave= true}


return this.allowSave;

This is working perfectly fine when saving a new BO instance (salesQuote in this example) or modifying the existing SalesQuote. But I can't delete the BO's anymore from the OWL screen. 

After Selecting a BO in the OWL screen and clicking "Delete" the "Save Failed" error comes up and after refreshing the list the BO is still available.

I have tried a placing the true/false logic in the after modify or even in the OnSave event itself, still won't let me delete the BO.

Any ideas? Do I miss something obvious?



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