on 12-31-2008 9:44 PM
Hi,
In my FPM DC -in the Confirmation screen I had created "Link To Action" UI element. On click of this link user should be navigated back to ESS Home Page.
On click of this link I calling a method in CC of my VAC (Confirmation screen) where I am calling fpm.naviagte (.....)
From where I get should path or parameter (NavigationTarget navigationTarget) which I need to pass in fpm.naviagte (.....) so that user is navigated back to the ESS Home Page.
Or, there is some other way through which user on click of the link is navigated back to the ESS home page.
Hi Anmol,
CurrentAreaGroupPage() description Jump to the Area Group Page of the running self-service application
http://help.sap.com/saphelp_erp2005/helpdata/en/b4/139525380149a49c8402e22700e4ba/frameset.htm
So, there is no need to setting the parameters if the appliation you are creating is part or the ESS application.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anmol,
I saw your postin for adding code to exit button. I have similar requirement:
I have created my own DC for Personal Data ( we are not using SAP delivered DC for Personal DATA).
i want to add exit button in that application and when the user click the exit button then it should goto Personal Information Page. Any idea how to do this. Do i have to add FcNavigation or some other component as Used component... please let me know
Thanks for your time
Vj
Hi Vijay,
Add FcNavigation in used WD components of Vc.
On click of exit button go to exit method of Vc CC and add the following lines:
fpm.attachComponentToUsage(wdThis.wdGetAPI().getComponent(), wdThis.wdGetFcNavigationComponentUsage());
fpm.registerContext(wdContext);
fpm.navigate(wdThis.wdGetFcNavigationInterface().getNavigationTargetExitApplication());
It will help you to naviagte to Personal Information Page
Hi Anmol,
I have created like you said, but i am getting Nullpointer exception. Is it because i am directly running my DC. Please let me know:
here is the log:
java.lang.NullPointerException
at com.joan.ZpdataCustCont.Exit(ZpdataCustCont.java:281)
at com.joan.wdp.InternalZpdataCustCont.Exit(InternalZpdataCustCont.java:287)
at com.joan.V_Persoanl_DataComp.onActionExit(V_Persoanl_DataComp.java:146)
at com.joan.wdp.InternalV_Persoanl_DataComp.wdInvokeEventHandler(InternalV_Persoanl_DataComp.java:285)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:299)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Thanks
Vijay
Hi Anmol,
I have done the coding, my DC is failing when coming to this line:
fpm.registerContext(wdContext);
i was checking the fpm and it is null. do i have to implement any method. Since i am not create
object for fpm so its failing.
If you have any thoughts please let me know.
Thanks Anmol
Regards
Vijay
Hi Anmol,
try the following code to navigate to ESS home page
fpm.navigate(wdThis.wdGetFcNavigationInterface().getNavigationTargetCurrentAreaGroupPage());
I hope it helps you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Anmol,
Rather than using the FPM Navigation you can configure the same in the backend in IMG -> HomePage Framework -> Services -> Define Confirmation Links and define an entry there to navigate back to the ESS Home Page ...I think there is a standard link on ESS Confirmation screens to go back ...
Hope it helps.
Shikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.