cancel
Showing results for 
Search instead for 
Did you mean: 

Show error message at missing auth to WD app

former_member210563
Participant
0 Kudos

Hi,

I have a scenario where a user gets the message in the browser as seen below:

500 SAP Internal error

An error has occured while saving the data.

How can I show this to the user within the app as an authorization error  instead of this dump ?

Peter

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member184578
Active Contributor
0 Kudos

Hi,

OnSave, first check the authorizations ( FM/method call) and if the user has required authorizations then proceed to save else display error message.

Or, catch the corresponding exception using TRY..CATCH and display the error message.

Regards,

Kiran