cancel
Showing results for 
Search instead for 
Did you mean: 

Switch personnel number functionality in ESS/MSS

venu_katamneni
Participant
0 Kudos

We are implementing hte Travel and expenses functionality in ESS. We ahve the switch personnel number link active in the home page framework. I would like to generate a message on the screen if somebody who does not have the right authorizations tries to click on the link. Right now, we get a java dump saying 'Critical error

A critical error has occured. Processing of the service had to be terminated. Unsaved data has been lost.

Please contact your system administrator.

You do not have the authorization to start service sap.com/esstratri/ChangePersNo. "

Is there a way to give out a nicer message that they do not have authorizations. Can a backend BADI be customized?

Thanks in advance.

PS: If this is not the right forum for this kind of messages please direct me to the correct forum.

Accepted Solutions (0)

Answers (4)

Answers (4)

aditya_niyogi
Participant
0 Kudos

Hi Venu,

From your problem description, it looks like you are trying to go to another page from the Travel Management Module Pages. If you have given a link to another page, then you will have to come up with the custom coding the the second page or put checks in the web-dynpro components for checking if the user has clicked on the external link.

Hope this helps.

Thanks,

Aditya

Former Member
0 Kudos

Hi,

Check S_SERVICE authorization object and add to ur user role.

Have a look at this thread.

/message/3420318#3420318 [original link is broken]

Regards,

Manoj.

Former Member
0 Kudos

Also, The implementations of a Business Add-In (BAdI) are not considered modifications. They are not overwritten during a release upgrade.

Thanks

Narasimha

Former Member
0 Kudos

Try BAdi - TRIP_WEB_CHECK / method - USER_CHECK_EDITOR.

If this helps, pl do reward.

Thanks

Narasimha

venu_katamneni
Participant
0 Kudos

There is no USER_CHECK_EDITOR method in this BADI. I have tried to put the breakpoints in all the methods under this BADI but none of them are called during the switch personnel number. Any ideas?