Hello All,
I have created our own DC for ESS Personal Data Application ( We dont want to use sap delivered DC for personal data). DC created is fine and its working.
Now i wanted to Add Exit button in my DC and when i click that it should goto Personal Information Sub Area.
Now i did the following:
Added Used DC pcui_gp/xssfpm and pcui_gp/xssutils.
Implemented IVAC to my Webdynpro Component.
Added this code in Init method:
this.fpm = fpm;
//fpm.attachComponentToUsage(wdThis.wdGetAPI().getComponent(), wdThis.wdGetFcNavigationComponentUsage());
fpm.attachComponentToUsage(wdThis.wdGetAPI().getComponent(), wdThis.wdGetFcNavigationComponentUsage());
fpm.registerContext(wdContext);
Added this code in Exit Method:
fpm.navigate(wdThis.wdGetFcNavigationInterface().getNavigationTargetExitApplication());
The following properties are added into the application:
sap.xss.configurationComponentName - com.sap.pcuigp.xssutils.ccpcd.CcXssPcd
sap.xss.configurationComponentDC - sap.com/pcui_gp~xssutils
com.sap.tc.webdynpro.portal.oal.iViewListProviderDCName - sap.com/pcui_gp~xssutils
com.sap.tc.webdynpro.portal.oal.iViewListProviderImpl - com.sap.pcuigp.xssutils.java.XssIViewListProviderImpl
In my DC i dont have any CC (configuration component).
Basically i dont want any road map for my application. I just need Exit button and it should go to sub area page.
But my application is not working and i am getting the following Exception:
java.lang.NullPointerException
at com.sap.xss.config.FPMRepository$RepositoryKey.hashCode(FPMRepository.java:46)
at java.util.HashMap.hash(HashMap.java:261)
at java.util.HashMap.get(HashMap.java:317)
at com.sap.xss.config.FPMRepository.retrieveObjectInternal(FPMRepository.java:79)
at com.sap.xss.config.FPMRepository.retrieveObject(FPMRepository.java:66)
Any input on this is highly appreciated.
Thanks in Advance.
REgards
Vj