Skip to Content
avatar image
Former Member

How to hide Java Error Messages in ESS

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • avatar image
    Former Member
    Dec 20, 2011 at 01:00 PM

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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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)

  • avatar image
    Former Member
    Dec 20, 2011 at 01:05 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 20, 2011 at 05:14 PM

    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!

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 21, 2011 at 06:16 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 23, 2011 at 11:51 AM
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 26, 2011 at 07:14 AM

    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

    Add comment
    10|10000 characters needed characters exceeded