Skip to Content

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

Possible to show warning?

Is it possible to return a message from a user script that is not interpreted as an error?

What I want to do is to check a few things when a project is saved and show a warning if something is not quite right.

Throwing an exception shows the message but also aborts the saving of the project. That's fine for real errors but if I just wnat to hint to the user that something he entered is not plausible that behaviour is bad.

I already tried different targets but even "saved" is called before actually saving the changes.

Is there another way of passing messages to the user besides throwing exceptions? Or is there another target I could use?

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