cancel
Showing results for 
Search instead for 
Did you mean: 

How to hide Java Error Messages in ESS

Former Member
0 Kudos

What can be done, to suppress the java error messages on portal side.

For example, when a Person is locked I don't want the whole error message on screen.

That only confuses the user.

Instead of this:

com.sap.pcuigp.xssfpm.java.FPMRuntimeException: person xy is already processed by user yz.

at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:112)

at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:122)

at com.sap.xss.hr.skl.FcSklBusinessLogic.onInit(FcSklBusinessLogic.java:319)

at com.sap.xss.hr.skl.wdp.InternalFcSklBusinessLogic.onInit(InternalFcSklBusinessLogic.java:723)

at com.sap.xss.hr.skl.FcSklBusinessLogicInterface.onInit(FcSklBusinessLogicInterface.java:156)

at com.sap.xss.hr.skl.wdp.InternalFcSklBusinessLogicInterface.onInit(InternalFcSklBusinessLogicInterface.java:390)

at com.sap.xss.hr.skl.wdp.InternalFcSklBusinessLogicInterface$External.onInit(InternalFcSklBusinessLogicInterface.java:482)

at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.attachComponentToUsage(FPMComponent.java:922)

at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.attachComponentToUsage(FPMComponent.java:891)

at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPMProxy.attachComponentToUsage(FPMComponent.java:1084)

[...]

I only want to show the reason (person xy is already processed by yz), not the error code.

Thank you.

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi

Though you should not be doing this ideally..However if your requirement is unavoidable, you can consider hiding the java webdynpro message manager in the personalisation settings. But if you hide the message manager, it will not display any messages raised in the business logic as well

Hope this helps,

Regards,

Roy

Former Member
0 Kudos

Will this help you?

MaheshChandra
Active Contributor
0 Kudos

Hi,

From user point of view, there is no need of knowing the complete error in a simple way, and it is partially possible to change these error messages. there are several type of errors come in ESS screens according to the exception. so changing for all of them is not possible. and if you change the screen to a custom one, later a support/technical person is unable to identify the complete error.

regards,

Mahesh

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

please see note 1234273 which details how best to personalize

for all users

But usually exceptions cannot be hidden and should be allowed to be seen as otherwise you ll not what error an employee gets and tough to get assistance for endusers!

Former Member
0 Kudos

I dont think we can remove this.

This is the standard feature provided by SAP and its very much required for most of the ESS applications.

Former Member
0 Kudos

you can try personalizing the error screen (open in preview as admin and press control + rightclick

Former Member
0 Kudos

Thanks for that hint, Andy.

Now it looks, like I wanted, but only for me.

What I search for is a way to hide the java errors for other ess user, because I think they might confuse them.

Former Member
0 Kudos

are you an administrator? if you mark the change as final it should be for all the users...

also best to disable end user personalization (mark checkbox)