Skip to end of metadata
Go to start of metadata

Problem:
We encount sometimes ESS error message "com.sap.pcuigp.xssfpm.java.FPMRuntimeException: Area/Area Group XXX does not exist", while we have already done the backend configuration.

(For this part of configuration, Ref to SAP help: http://help.sap.com/saphelp_erp60_sp/helpdata/EN/5b/76a6d7fd3a4e91bfb422405bf3e04d/frameset.htm)

Reason:

It is because SAP doesn't well translate its exceptions messages. Here is the ESS execution flow:

Portal -> Page -> iView -> Java Webdynpro -> BAPI -> Backend Tables

This problem occurs at BAPI level.

When ESS try to gather information of Area of Area Group, it calls the following BAPI (Fonction Modules):

FM HRXSS_SER_GETMENUDATA -> FM HRXSS_SER_GETAREAGROUPMENUDATA -> FORM read_customizing_data -> FM HRXSS_SER_READTABARG (in the case of Area Group)

FORM read_customizing_data has 7 exception types:

error  1 --> headerkey not defined in table
error  2 --> areagroupkey not defined in table
error  3 --> areagrouppage is empty
error  4 --> areakey not defined in table
error  5 --> areapage is empty
error  6 --> servicekey not defined
error  7 --> subareakey not defined

But FM HRXSS_SER_GETAREAGROUPMENUDATA will noly return one execption type:

areagroupkey_invalid

That is why we have met the problem.

Solution:

Try to use low level FM to identify the true exception message (ex. FM HRXSS_SER_READTABARG ) in transaction SE37