Skip to Content
0
Former Member
Mar 22, 2007 at 01:21 PM

Problem trying to create a Travel Expense in ESS

15 Views

Hi all,

I'm trying to get the Travel and Expenses services of ESS working for a customer and am having a few problems.

The first is that if I navigate to Employee Self Service-> Travel and Expenses then underneath the Create New sub area I don't have the option to start the Create Expense service. I've checked through config and as far as I can see it is all standard. If I create a custom entry in the config to add the Create Expense service it appears but this doesn't make sense - is there a reason why the standard config doesn't work?

On top of this, if I force the service to appear as mentioned above or alternatively if I navigate to My Trips and Expenses and go to the My Expense Reports tab and choose Create New Expense Report the system performs 1 of 2 things. It either causes an internal server error 500 with the following stack trace:-

[code]com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException

at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java(Compiled Code))

at com.sap.xss.ser.xssmenu.fc.MenuLinks.getServiceLink(MenuLinks.java:232)

at com.sap.xss.ser.xssmenu.fc.wdp.InternalMenuLinks.getServiceLink(InternalMenuLinks.java:365)

at com.sap.xss.ser.xssmenu.fc.FcXssMenu.getServiceLink(FcXssMenu.java:406)

at com.sap.xss.ser.xssmenu.fc.wdp.InternalFcXssMenu.getServiceLink(InternalFcXssMenu.java:491)

at com.sap.xss.ser.xssmenu.fc.FcXssMenuInterface.getServiceLink(FcXssMenuInterface.java:264)

at com.sap.xss.ser.xssmenu.fc.wdp.InternalFcXssMenuInterface.getServiceLink(InternalFcXssMenuInterface.java:429)

at com.sap.xss.ser.xssmenu.fc.wdp.InternalFcXssMenuInterface$External.getServiceLink(InternalFcXssMenuInterface.java:586)

at com.sap.pcuigp.xssutils.navi.FcNavigation.getNavigationTargetServiceWithKey1(FcNavigation.java:523)

at com.sap.pcuigp.xssutils.navi.wdp.InternalFcNavigation.getNavigationTargetServiceWithKey1(InternalFcNavigation.java:390)

at com.sap.pcuigp.xssutils.navi.FcNavigationInterface.getNavigationTargetServiceWithKey1(FcNavigationInterface.java:271)

at com.sap.pcuigp.xssutils.navi.wdp.InternalFcNavigationInterface.getNavigationTargetServiceWithKey1(InternalFcNavigationInterface.java:182)

at com.sap.pcuigp.xssutils.navi.wdp.InternalFcNavigationInterface$External.getNavigationTargetServiceWithKey1(InternalFcNavigationInterface.java:314)

at com.sap.xss.tra.fc.utils.FcTraUtils.startApplication(FcTraUtils.java:544)

at com.sap.xss.tra.fc.utils.wdp.InternalFcTraUtils.startApplication(InternalFcTraUtils.java:329)

at com.sap.xss.tra.fc.utils.FcTraUtilsInterface.startApplication(FcTraUtilsInterface.java:321)

at com.sap.xss.tra.fc.utils.wdp.InternalFcTraUtilsInterface.startApplication(InternalFcTraUtilsInterface.java:260)

at com.sap.xss.tra.fc.utils.wdp.InternalFcTraUtilsInterface$External.startApplication(InternalFcTraUtilsInterface.java:476)

at com.sap.xss.tra.vc.allmytrips.VcTraAllMyTrips.tripComponentCreate(VcTraAllMyTrips.java:468)

at com.sap.xss.tra.vc.allmytrips.wdp.InternalVcTraAllMyTrips.tripComponentCreate(InternalVcTraAllMyTrips.java:430)

at com.sap.xss.tra.vc.allmytrips.AllMyTrips.onActionCreateNewExpenseReport(AllMyTrips.java:337)

at com.sap.xss.tra.vc.allmytrips.wdp.InternalAllMyTrips.wdInvokeEventHandler(InternalAllMyTrips.java:585)

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.doApplicationProcessingPortal(ClientSession.java:772)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:707)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:261)

at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java(Compiled Code))

at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java(Compiled Code))

at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java(Compiled Code))

at com.sap.tc.webdynpro.portal.pb.impl.localwd.LocalApplicationProxy.sendDataAndProcessAction(LocalApplicationProxy.java:77)

at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1259)

at com.sap.portal.pb.PageBuilder.SendDataAndProcessAction(PageBuilder.java:324)

at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:830)

at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:755)

at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:717)

at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:136)

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:752)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:705)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:261)

at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java(Compiled Code))

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(Compiled Code))

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java(Compiled Code))

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java(Compiled Code))

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Inlined Compiled Code))

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Compiled Code))

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java(Compiled Code))

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java(Compiled Code))

at com.sap.engine.services.httpserver.server.Client.handle(Client.java(Inlined Compiled Code))

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java(Compiled Code))

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java(Compiled Code))

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java(Compiled Code))

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))

at java.security.AccessController.doPrivileged1(Native Method)

at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))

Caused by: com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFC_Fault_Exception:

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java(Compiled Code))

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java(Compiled Code))

at java.lang.reflect.Constructor.newInstance(Constructor.java(Compiled Code))

at java.lang.Class.newInstance3(Class.java(Compiled Code))

at java.lang.Class.newInstance(Class.java(Compiled Code))

at com.sap.aii.proxy.framework.core.JcoMarshaler.unmarshalException(JcoMarshaler.java:429)

at com.sap.aii.proxy.framework.core.JcoProxy.send(JcoProxy.java:78)

at com.sap.aii.proxy.framework.core.AbstractProxy$JcoProxyHelper.send(AbstractProxy.java:173)

at com.sap.aii.proxy.framework.core.AbstractProxy.send$(AbstractProxy.java:141)

at com.sap.pcuigp.xssutils.menu.model.MenuLinksModel.hrxss_Ser_Getservicelink(MenuLinksModel.java:237)

at com.sap.pcuigp.xssutils.menu.model.Hrxss_Ser_Getservicelink_Input.doExecute(Hrxss_Ser_Getservicelink_Input.java:137)

... 68 more

[/code]

Other times it somehow goes to the Create Travel Request screen which is also wrong. It seems that we cannot get the Create Expense Report service to work. As far as I know, the WD for Java hasn't been customised at all and the config is all pretty much standard.

Does anyone have any ideas what this could be?

Thanks,

Gareth.