Hi Experts,
We have a WDJ application which connects to a back end system to fetch outstanding work items for the user.
For some users it is not fetching any items and throwing the following error:
"
SAPCFConnectorException.isConnectionBroken
[EXCEPTION]
com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: No RFC authorization for function module UWL_DOCUMENTS_HEADER_READ. (Remote shortdump: RFC_NO_AUTHORITY in system P16|sapap16a)
at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:557)
at com.sap.mw.jco.MiddlewareJRfc$Client.execute(MiddlewareJRfc.java:1538)
at com.sap.mw.jco.JCO$Client.execute(JCO.java:4433)
at com.sap.mw.jco.JCO$Client.execute(JCO.java:3949)
at com.sapportals.connectors.SAPCFConnector.execution.functions.SAPCFConnectorInteraction.execute(SAPCFConnectorInteraction.java:439)
at com.sapportals.connectors.SAPCFConnector.execution.functions.SAPCFConnectorInteraction.execute(SAPCFConnectorInteraction.java:584)
at com.sapportals.connectors.SAPCFConnector.execution.functions.SAPCFConnectorInteraction.execute(SAPCFConnectorInteraction.java:608)
at com.sap.netweaver.bc.uwl.utils.r3.Transaction.executeFunction(Transaction.java:356)
at com.sap.netweaver.bc.uwl.utils.r3.Transaction.executeFunction(Transaction.java:383)
at com.sap.netweaver.bc.uwl.core.connect.webflow.AttachmentConnector.lookupAnAttachmentHeaders(AttachmentConnector.java:693)
at com.sap.netweaver.bc.uwl.core.connect.webflow.WebflowConnector.lookupAttachments(WebflowConnector.java:1377)
at com.sap.netweaver.bc.uwl.core.connect.webflow.WebflowConnector.getAttachmentHeaders(WebflowConnector.java:255)
at com.sap.netweaver.bc.uwl.core.AttachmentManager.updateAttachmentHeaders(AttachmentManager.java:71)
at com.sap.netweaver.bc.uwl.core.ItemCacheManager.getItemByUwlId(ItemCacheManager.java:1969)
at com.sap.netweaver.bc.uwl.core.ItemCacheManager.getItemByUwlId(ItemCacheManager.java:1888)
at com.sap.netweaver.bc.uwl.ui.utils.ServiceHelper.getItemById(ServiceHelper.java:267)
at com.sap.netweaver.bc.uwl.ui.UWLPreview.load(UWLPreview.java:295)
at com.sap.netweaver.bc.uwl.ui.UWLPreview.loadPreviewPage(UWLPreview.java:239)
at com.sap.netweaver.bc.uwl.ui.wdp.InternalUWLPreview.wdInvokeEventHandler(InternalUWLPreview.java:166)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:142)
at com.sap.tc.webdynpro.progmodel.components.Component.fireEvent(Component.java:492)
at com.sap.netweaver.bc.uwl.ui.wdp.InternalUWLItem.wdFireEventInitializationComplete(InternalUWLItem.java:264)
at com.sap.netweaver.bc.uwl.ui.UWLItem.initalizeItemController(UWLItem.java:283)
at com.sap.netweaver.bc.uwl.ui.wdp.InternalUWLItem.initalizeItemController(InternalUWLItem.java:212)
at com.sap.netweaver.bc.uwl.ui.UWLMainView.wdDoModifyView(UWLMainView.java:338)
at com.sap.netweaver.bc.uwl.ui.wdp.InternalUWLMainView.wdDoModifyView(InternalUWLMainView.java:1099)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doModifyView(DelegatingView.java:94)
at com.sap.tc.webdynpro.progmodel.view.View.modifyView(View.java:746)
at com.sap.tc.webdynpro.progmodel.window.ViewController.modifyView(ViewController.java:254)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doModifyView(ClientComponent.java:432)
at com.sap.tc.webdynpro.clientserver.phases.ModifyViewPhase.execute(ModifyViewPhase.java:69)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequestPartly(WindowPhaseModel.java:162)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doProcessRequest(WindowPhaseModel.java:110)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:97)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:515)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:58)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doExecute(ClientApplication.java:1671)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.doProcessing(ClientApplication.java:1485)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doApplicationProcessingStandalone(ApplicationSession.java:908)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doApplicationProcessing(ApplicationSession.java:880)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:357)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:326)
at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doContent(AbstractDispatcherServlet.java:87)
at com.sap.tc.webdynpro.serverimpl.wdc.DispatcherServlet.doContent(DispatcherServlet.java:89)
at com.sap.tc.webdynpro.serverimpl.core.AbstractDispatcherServlet.doPost(AbstractDispatcherServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:152)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:373)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:499)
at com.sap.tc.webdynpro.serverimpl.wdc.ForwardServlet.doPost(ForwardServlet.java:73)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:152)
at com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:38)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:466)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:441)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)
at com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java:38)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:278)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:81)
at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
at com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)
at com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)
at com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)
at com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.process(Processor.java:269)
at com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:122)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)
at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:328)
Caused by: RfcException: [P16|sapap16a]
message: No RFC authorization for function module UWL_DOCUMENTS_HEADER_READ.
Return code: RFC_SYS_EXCEPTION(3)
error group: 104
key: RFC_ERROR_SYSTEM_FAILURE
message class: 00
message type: X
message number: 341
message parameter 0: RFC_NO_AUTHORITY
Exception raised by P16|sapap16a
at com.sap.mw.rfc.api.RfcApi.RfcReceive(RfcApi.java:849)
at com.sap.mw.jco.MiddlewareJRfc$Client.execute(MiddlewareJRfc.java:1508)
... 90 more
Caused by: com.sap.mw.rfc.exceptions.RfcGetException: No RFC authorization for function module UWL_DOCUMENTS_HEADER_READ.
at com.sap.mw.rfc.engine.RfcImp.ab_rfcerror(RfcImp.java:908)
at com.sap.mw.rfc.engine.RfcGet.rfcget_run(RfcGet.java:155)
at com.sap.mw.rfc.engine.RfcGet.ab_rfcget(RfcGet.java:27)
at com.sap.mw.rfc.engine.RfcRcv.ab_rfcreceive(RfcRcv.java:39)
at com.sap.mw.rfc.api.RfcApi.RfcReceive(RfcApi.java:818)
"
This issue is seen with a few users only while it is working fine for others.
The RFC authorization to the recipient back end system is fine without any error.
Would appreciate your suggestion.
Regards, Biswajit