RFC Lookup using Java Mapping issues

Dear Experts,
I am trying to use RFC Lookup in my Java program but for some reason I am getting a null point exception on the result variable when the program is executing the following code(rfcin = result.getContent();). Could anyone give me some advise on this issue please? screen print of the code attached with this email.
Advance Thanks,
Pradeep

Thanks Steve,
Please find the dump after the proposed change.
                java.lang.RuntimeException:
                com.sap.aii.mapping.lookup.LookupException: Plain
                exception:Error when calling an adapter by using the
                communication channel ccRFCReceiverNPI (Party: , Service:
                BS_ECD, Object ID: 00b61d6e4363334d8bd052dfb9c2c09a) The
                channel with object ID 00b61d6e4363334d8bd052dfb9c2c09a could
                not be found in the Integration Server Java Cache. Check if
                the channel exists in the Integration Builder Directory and
                execute a refresh of the Java Cache.
com.sap.aii.mapping.lookup.LookupException:
                Error when calling an adapter by using the communication
                channel ccRFCReceiverNPI (Party: , Service: BS_ECD, Object ID:
                00b61d6e4363334d8bd052dfb9c2c09a) The channel with object ID
                00b61d6e4363334d8bd052dfb9c2c09a could not be found in the
                Integration Server Java Cache. Check if the channel exists in
                the Integration Builder Directory and execute a refresh of the
                Java Cache.
at
                com.sap.aii.ibrun.server.lookup.SystemAccessorInternal.getProxy(SystemAccessorInternal.java:130)
at
                com.sap.aii.ibrun.server.lookup.SystemAccessorInternal.<init>(SystemAccessorInternal.java:46)
at
                com.sap.aii.ibrun.server.lookup.SystemAccessorHmiServer.getConnection(SystemAccessorHmiServer.java:265)
at
                com.sap.aii.ibrun.server.lookup.SystemAccessorHmiServer.process(SystemAccessorHmiServer.java:69)
at
                com.sap.aii.utilxi.hmis.server.HmisServiceImpl.invokeMethod(HmisServiceImpl.java:139)
at
                com.sap.aii.utilxi.hmis.server.HmisServer.process(HmisServer.java:224)
at
                com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:370)
at
                com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:271)
at
                com.sap.aii.utilxi.hmis.web.workers.HmisInternalClient.doWork(HmisInternalClient.java:70)
at
                com.sap.aii.utilxi.hmis.web.HmisServletImpl.doWork(HmisServletImpl.java:570)
at
                com.sap.aii.utilxi.hmis.web.HmisServletImpl.doPost(HmisServletImpl.java:711)
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.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:202)
at
                com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:103)
at
                com.sap.engine.services.servlets_jsp.server.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:126)
at
                com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at
                com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:432)
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:276)
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:
                com.sap.aii.ibrun.server.cache.channel.ChannelReader$CachedChannelNotFoundException:
                The channel with object ID 00b61d6e4363334d8bd052dfb9c2c09a
                could not be found in the Integration Server Java Cache. Check
                if the channel exists in the Integration Builder Directory and
                execute a refresh of the Java Cache.
at
                com.sap.aii.ibrun.server.cache.channel.ChannelPersistor.read(ChannelPersistor.java:56)
at
                com.sap.aii.ibrun.server.lookup.SystemAccessorInternal.getProxy(SystemAccessorInternal.java:109)
                53 more
at
                ConsignmentTrackingMapping.execute(ConsignmentTrackingMapping.java:272)
at
                ConsignmentTrackingMapping.transform(ConsignmentTrackingMapping.java:46)
at
                com.sap.aii.ib.server.mapping.execution.JavaMapping.executeStep(JavaMapping.java:92)
at
                com.sap.aii.ib.server.mapping.execution.Mapping.execute(Mapping.java:60)
at
                com.sap.aii.ib.server.mapping.execution.MappingHandler.map(MappingHandler.java:87)
at
                com.sap.aii.ib.server.mapping.execution.MappingHandler.map(MappingHandler.java:54)
at
                com.sap.aii.ibrep.server.mapping.rt.MappingHandlerAdapter.run(MappingHandlerAdapter.java:139)
at
                com.sap.aii.ibrep.server.mapping.exec.ExecuteIfMapCommand.execute(ExecuteIfMapCommand.java:33)
at
                com.sap.aii.ib.server.mapping.exec.CommandManager.execute(CommandManager.java:43)
at
                com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:40)
at
                com.sap.aii.ibrep.server.mapping.MapServiceBean.execute(MapServiceBean.java:40)
at
                sun.reflect.GeneratedMethodAccessor640.invoke(Unknown Source)
at
                sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at
                java.lang.reflect.Method.invoke(Method.java:597)
at
                com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:47)
at
                com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
at
                com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
at
                com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at
                com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:47)
at
                com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at
                com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:37)
at
                com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:21)
at
                com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at
                com.sap.engine.services.ejb3.runtime.impl.Interceptors_MethodRetry.invoke(Interceptors_MethodRetry.java:46)
at
                com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at
                com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)
at
                com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16)
at
                com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at
                com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:25)
at
                com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at
                com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:17)
at
                com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at
                com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:138)
at
                com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164)
at
                $Proxy1181.execute(Unknown Source)
at
                sun.reflect.GeneratedMethodAccessor639.invoke(Unknown Source)
at
                sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at
                java.lang.reflect.Method.invoke(Method.java:597)
at
                com.sap.engine.services.rmi_p4.P4DynamicSkeleton.dispatch(P4DynamicSkeleton.java:240)
at
                com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:459)
at
                com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:69)
at
                com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:72)
at
                com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:43)
at
                com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest(FCAConnectorImpl.java:983)
at
                com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:59)
at
                com.sap.engine.services.cross.fca.MessageReader.run(MessageReader.java:55)
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: com.sap.aii.mapping.lookup.LookupException: Plain
                exception:Error when calling an adapter by using the
                communication channel ccRFCReceiverNPI (Party: , Service:
                BS_ECD, Object ID: 00b61d6e4363334d8bd052dfb9c2c09a) The
                channel with object ID 00b61d6e4363334d8bd052dfb9c2c09a could
                not be found in the Integration Server Java Cache. Check if
                the channel exists in the Integration Builder Directory and
                execute a refresh of the Java Cache.
com.sap.aii.mapping.lookup.LookupException:
                Error when calling an adapter by using the communication
                channel ccRFCReceiverNPI (Party: , Service: BS_ECD, Object ID:
                00b61d6e4363334d8bd052dfb9c2c09a) The channel with object ID
                00b61d6e4363334d8bd052dfb9c2c09a could not be found in the
                Integration Server Java Cache. Check if the channel exists in
                the Integration Builder Directory and execute a refresh of the
                Java Cache.
at
                com.sap.aii.ibrun.server.lookup.SystemAccessorInternal.getProxy(SystemAccessorInternal.java:130)
at
                com.sap.aii.ibrun.server.lookup.SystemAccessorInternal.<init>(SystemAccessorInternal.java:46)
at
                com.sap.aii.ibrun.server.lookup.SystemAccessorHmiServer.getConnection(SystemAccessorHmiServer.java:265)
at
                com.sap.aii.ibrun.server.lookup.SystemAccessorHmiServer.process(SystemAccessorHmiServer.java:69)
at
                com.sap.aii.utilxi.hmis.server.HmisServiceImpl.invokeMethod(HmisServiceImpl.java:139)
at
                com.sap.aii.utilxi.hmis.server.HmisServer.process(HmisServer.java:224)
at
                com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:370)
at
                com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:271)
at
                com.sap.aii.utilxi.hmis.web.workers.HmisInternalClient.doWork(HmisInternalClient.java:70)
at
                com.sap.aii.utilxi.hmis.web.HmisServletImpl.doWork(HmisServletImpl.java:570)
at
                com.sap.aii.utilxi.hmis.web.HmisServletImpl.doPost(HmisServletImpl.java:711)
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.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:202)
at
                com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:103)
at
                com.sap.engine.services.servlets_jsp.server.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:126)
at
                com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at
                com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:432)
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:276)
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:
                com.sap.aii.ibrun.server.cache.channel.ChannelReader$CachedChannelNotFoundException:
                The channel with object ID 00b61d6e4363334d8bd052dfb9c2c09a
                could not be found in the Integration Server Java Cache. Check
                if the channel exists in the Integration Builder Directory and
                execute a refresh of the Java Cache.
at
                com.sap.aii.ibrun.server.cache.channel.ChannelPersistor.read(ChannelPersistor.java:56)
at
                com.sap.aii.ibrun.server.lookup.SystemAccessorInternal.getProxy(SystemAccessorInternal.java:109)
                53 more
at
                com.sap.aii.ibrep.server.lookup.LookupServiceProvider$RemoteClientDelegator.<init>(LookupServiceProvider.java:102)
at
                com.sap.aii.ibrep.server.lookup.LookupServiceProvider$RemoteClientDelegator.<init>(LookupServiceProvider.java:88)
at
                com.sap.aii.ibrep.server.lookup.LookupServiceProvider$RemoteClient.getSystemAccessor(LookupServiceProvider.java:75)
at
                com.sap.aii.mapping.lookup.LookupService.getSystemAccessor(LookupService.java:138)
at
                ConsignmentTrackingMapping.execute(ConsignmentTrackingMapping.java:254)
                48 more
Caused by:
                com.sap.aii.utilxi.hmi.api.HmiMethodFault: Plain
                exception:Error when calling an adapter by using the
                communication channel ccRFCReceiverNPI (Party: , Service:
                BS_ECD, Object ID: 00b61d6e4363334d8bd052dfb9c2c09a) The
                channel with object ID 00b61d6e4363334d8bd052dfb9c2c09a could
                not be found in the Integration Server Java Cache. Check if
                the channel exists in the Integration Builder Directory and
                execute a refresh of the Java Cache.
com.sap.aii.mapping.lookup.LookupException:
                Error when calling an adapter by using the communication
                channel ccRFCReceiverNPI (Party: , Service: BS_ECD, Object ID:
                00b61d6e4363334d8bd052dfb9c2c09a) The channel with object ID
                00b61d6e4363334d8bd052dfb9c2c09a could not be found in the
                Integration Server Java Cache. Check if the channel exists in
                the Integration Builder Directory and execute a refresh of the
                Java Cache.
at
                com.sap.aii.ibrun.server.lookup.SystemAccessorInternal.getProxy(SystemAccessorInternal.java:130)
at
                com.sap.aii.ibrun.server.lookup.SystemAccessorInternal.<init>(SystemAccessorInternal.java:46)
at
                com.sap.aii.ibrun.server.lookup.SystemAccessorHmiServer.getConnection(SystemAccessorHmiServer.java:265)
at
                com.sap.aii.ibrun.server.lookup.SystemAccessorHmiServer.process(SystemAccessorHmiServer.java:69)
at
                com.sap.aii.utilxi.hmis.server.HmisServiceImpl.invokeMethod(HmisServiceImpl.java:139)
at
                com.sap.aii.utilxi.hmis.server.HmisServer.process(HmisServer.java:224)
at
                com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:370)
at
                com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:271)
at
                com.sap.aii.utilxi.hmis.web.workers.HmisInternalClient.doWork(HmisInternalClient.java:70)
at
                com.sap.aii.utilxi.hmis.web.HmisServletImpl.doWork(HmisServletImpl.java:570)
at
                com.sap.aii.utilxi.hmis.web.HmisServletImpl.doPost(HmisServletImpl.java:711)
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.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:202)
at
                com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:103)
at
                com.sap.engine.services.servlets_jsp.server.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:126)
at
                com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at
                com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:432)
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:276)
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:
                com.sap.aii.ibrun.server.cache.channel.ChannelReader$CachedChannelNotFoundException:
                The channel with object ID 00b61d6e4363334d8bd052dfb9c2c09a
                could not be found in the Integration Server Java Cache. Check
                if the channel exists in the Integration Builder Directory and
                execute a refresh of the Java Cache.
at
                com.sap.aii.ibrun.server.cache.channel.ChannelPersistor.read(ChannelPersistor.java:56)
at
                com.sap.aii.ibrun.server.lookup.SystemAccessorInternal.getProxy(SystemAccessorInternal.java:109)
                53 more
at
                com.sap.aii.utilxi.hmi.api.HmiMethodFault.parseGdi(HmiMethodFault.java:156)
at
                com.sap.aii.utilxi.hmi.core.msg.HmiResponse.setState(HmiResponse.java:190)
at
                com.sap.aii.utilxi.hmi.core.msg.HmiResponse.parseGdi(HmiResponse.java:141)
at
                com.sap.aii.utilxi.hmi.api.HmiHttpJDKClient.sendRequestAndReceiveResponse(HmiHttpJDKClient.java:257)
at
                com.sap.aii.utilxi.hmi.api.HmiClientAdapter.invokeMethod(HmiClientAdapter.java:92)
at
                com.sap.aii.ibrep.server.lookup.SystemAccessorHmiClient.<init>(SystemAccessorHmiClient.java:52)
at
                com.sap.aii.ibrep.server.lookup.SystemAccessorHmiClient.getInstance(SystemAccessorHmiClient.java:73)
at
                com.sap.aii.ibrep.server.lookup.LookupServiceProvider$RemoteClientDelegator.<init>(LookupServiceProvider.java:98)
                52 more
Root Cause:
com.sap.aii.mapping.lookup.LookupException:
                Plain exception:Error when calling an adapter by using the
                communication channel ccRFCReceiverNPI (Party: , Service:
                BS_ECD, Object ID: 00b61d6e4363334d8bd052dfb9c2c09a) The
                channel with object ID 00b61d6e4363334d8bd052dfb9c2c09a could
                not be found in the Integration Server Java Cache. Check if
                the channel exists in the Integration Builder Directory and
                execute a refresh of the Java Cache.
com.sap.aii.mapping.lookup.LookupException:
                Error when calling an adapter by using the communication
                channel ccRFCReceiverNPI (Party: , Service: BS_ECD, Object ID:
                00b61d6e4363334d8bd052dfb9c2c09a) The channel with object ID
                00b61d6e4363334d8bd052dfb9c2c09a could not be found in the
                Integration Server Java Cache. Check if the channel exists in
                the Integration Builder Directory and execute a refresh of the
                Java Cache.
at
                com.sap.aii.ibrun.server.lookup.SystemAccessorInternal.getProxy(SystemAccessorInternal.java:130)
at
                com.sap.aii.ibrun.server.lookup.SystemAccessorInternal.<init>(SystemAccessorInternal.java:46)
at
                com.sap.aii.ibrun.server.lookup.SystemAccessorHmiServer.getConnection(SystemAccessorHmiServer.java:265)
at
                com.sap.aii.ibrun.server.lookup.SystemAccessorHmiServer.process(SystemAccessorHmiServer.java:69)
at
                com.sap.aii.utilxi.hmis.server.HmisServiceImpl.invokeMethod(HmisServiceImpl.java:139)
at
                com.sap.aii.utilxi.hmis.server.HmisServer.process(HmisServer.java:224)
at
                com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:370)
at
                com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:271)
at
                com.sap.aii.utilxi.hmis.web.workers.HmisInternalClient.doWork(HmisInternalClient.java:70)
at
                com.sap.aii.utilxi.hmis.web.HmisServletImpl.doWork(HmisServletImpl.java:570)
at
                com.sap.aii.utilxi.hmis.web.HmisServletImpl.doPost(HmisServletImpl.java:711)
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.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:202)
at
                com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:103)
at
                com.sap.engine.services.servlets_jsp.server.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:126)
at
                com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at
                com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:432)
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:276)
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:
                com.sap.aii.ibrun.server.cache.channel.ChannelReader$CachedChannelNotFoundException:
                The channel with object ID 00b61d6e4363334d8bd052dfb9c2c09a
                could not be found in the Integration Server Java Cache. Check
                if the channel exists in the Integration Builder Directory and
                execute a refresh of the Java Cache.
at
                com.sap.aii.ibrun.server.cache.channel.ChannelPersistor.read(ChannelPersistor.java:56)
at
                com.sap.aii.ibrun.server.lookup.SystemAccessorInternal.getProxy(SystemAccessorInternal.java:109)
                53 more
at
                com.sap.aii.ibrep.server.lookup.LookupServiceProvider$RemoteClientDelegator.<init>(LookupServiceProvider.java:102)
at
                com.sap.aii.ibrep.server.lookup.LookupServiceProvider$RemoteClientDelegator.<init>(LookupServiceProvider.java:88)
at
                com.sap.aii.ibrep.server.lookup.LookupServiceProvider$RemoteClient.getSystemAccessor(LookupServiceProvider.java:75)
at
                com.sap.aii.mapping.lookup.LookupService.getSystemAccessor(LookupService.java:138)
at
                ConsignmentTrackingMapping.execute(ConsignmentTrackingMapping.java:254)
at
                ConsignmentTrackingMapping.transform(ConsignmentTrackingMapping.java:46)
at
                com.sap.aii.ib.server.mapping.execution.JavaMapping.executeStep(JavaMapping.java:92)
at
                com.sap.aii.ib.server.mapping.execution.Mapping.execute(Mapping.java:60)
at
                com.sap.aii.ib.server.mapping.execution.MappingHandler.map(MappingHandler.java:87)
at
                com.sap.aii.ib.server.mapping.execution.MappingHandler.map(MappingHandler.java:54)
at
                com.sap.aii.ibrep.server.mapping.rt.MappingHandlerAdapter.run(MappingHandlerAdapter.java:139)
at
                com.sap.aii.ibrep.server.mapping.exec.ExecuteIfMapCommand.execute(ExecuteIfMapCommand.java:33)
at
                com.sap.aii.ib.server.mapping.exec.CommandManager.execute(CommandManager.java:43)
at
                com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:40)
at
                com.sap.aii.ibrep.server.mapping.MapServiceBean.execute(MapServiceBean.java:40)
at
                sun.reflect.GeneratedMethodAccessor640.invoke(Unknown Source)
at
                sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at
                java.lang.reflect.Method.invoke(Method.java:597)
at
                com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:47)
at
                com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
at
                com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
at
                com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at
                com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:47)
at
                com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at
                com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:37)
at
                com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:21)
at
                com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at
                com.sap.engine.services.ejb3.runtime.impl.Interceptors_MethodRetry.invoke(Interceptors_MethodRetry.java:46)
at
                com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at
                com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)
at
                com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16)
at
                com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at
                com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:25)
at
                com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at
                com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:17)
at
                com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at
                com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:138)
at
                com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164)
at
                $Proxy1181.execute(Unknown Source)
at
                sun.reflect.GeneratedMethodAccessor639.invoke(Unknown Source)
at
                sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at
                java.lang.reflect.Method.invoke(Method.java:597)
at
                com.sap.engine.services.rmi_p4.P4DynamicSkeleton.dispatch(P4DynamicSkeleton.java:240)
at
                com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:459)
at
                com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:69)
at
                com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:72)
at
                com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:43)
at
                com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest(FCAConnectorImpl.java:983)
at
                com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:59)
at
                com.sap.engine.services.cross.fca.MessageReader.run(MessageReader.java:55)
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: com.sap.aii.utilxi.hmi.api.HmiMethodFault: Plain
                exception:Error when calling an adapter by using the
                communication channel ccRFCReceiverNPI (Party: , Service:
                BS_ECD, Object ID: 00b61d6e4363334d8bd052dfb9c2c09a) The
                channel with object ID 00b61d6e4363334d8bd052dfb9c2c09a could
                not be found in the Integration Server Java Cache. Check if
                the channel exists in the Integration Builder Directory and
                execute a refresh of the Java Cache.
com.sap.aii.mapping.lookup.LookupException:
                Error when calling an adapter by using the communication
                channel ccRFCReceiverNPI (Party: , Service: BS_ECD, Object ID:
                00b61d6e4363334d8bd052dfb9c2c09a) The channel with object ID
                00b61d6e4363334d8bd052dfb9c2c09a could not be found in the
                Integration Server Java Cache. Check if the channel exists in
                the Integration Builder Directory and execute a refresh of the
                Java Cache.
at
                com.sap.aii.ibrun.server.lookup.SystemAccessorInternal.getProxy(SystemAccessorInternal.java:130)
at
                com.sap.aii.ibrun.server.lookup.SystemAccessorInternal.<init>(SystemAccessorInternal.java:46)
at
                com.sap.aii.ibrun.server.lookup.SystemAccessorHmiServer.getConnection(SystemAccessorHmiServer.java:265)
at
                com.sap.aii.ibrun.server.lookup.SystemAccessorHmiServer.process(SystemAccessorHmiServer.java:69)
at
                com.sap.aii.utilxi.hmis.server.HmisServiceImpl.invokeMethod(HmisServiceImpl.java:139)
at
                com.sap.aii.utilxi.hmis.server.HmisServer.process(HmisServer.java:224)
at
                com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:370)
at
                com.sap.aii.utilxi.hmis.web.HmisServletImpl.processRequestByHmiServer(HmisServletImpl.java:271)
at
                com.sap.aii.utilxi.hmis.web.workers.HmisInternalClient.doWork(HmisInternalClient.java:70)
at
                com.sap.aii.utilxi.hmis.web.HmisServletImpl.doWork(HmisServletImpl.java:570)
at
                com.sap.aii.utilxi.hmis.web.HmisServletImpl.doPost(HmisServletImpl.java:711)
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.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:202)
at
                com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:103)
at
                com.sap.engine.services.servlets_jsp.server.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:126)
at
                com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at
                com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:432)
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:276)
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:
                com.sap.aii.ibrun.server.cache.channel.ChannelReader$CachedChannelNotFoundException:
                The channel with object ID 00b61d6e4363334d8bd052dfb9c2c09a
                could not be found in the Integration Server Java Cache. Check
                if the channel exists in the Integration Builder Directory and
                execute a refresh of the Java Cache.
at
                com.sap.aii.ibrun.server.cache.channel.ChannelPersistor.read(ChannelPersistor.java:56)
at
                com.sap.aii.ibrun.server.lookup.SystemAccessorInternal.getProxy(SystemAccessorInternal.java:109)
                53 more
at
                com.sap.aii.utilxi.hmi.api.HmiMethodFault.parseGdi(HmiMethodFault.java:156)
at
                com.sap.aii.utilxi.hmi.core.msg.HmiResponse.setState(HmiResponse.java:190)
at
                com.sap.aii.utilxi.hmi.core.msg.HmiResponse.parseGdi(HmiResponse.java:141)
at
                com.sap.aii.utilxi.hmi.api.HmiHttpJDKClient.sendRequestAndReceiveResponse(HmiHttpJDKClient.java:257)
at
                com.sap.aii.utilxi.hmi.api.HmiClientAdapter.invokeMethod(HmiClientAdapter.java:92)
at
                com.sap.aii.ibrep.server.lookup.SystemAccessorHmiClient.<init>(SystemAccessorHmiClient.java:52)
at
                com.sap.aii.ibrep.server.lookup.SystemAccessorHmiClient.getInstance(SystemAccessorHmiClient.java:73)
at
                com.sap.aii.ibrep.server.lookup.LookupServiceProvider$RemoteClientDelegator.<init>(LookupServiceProvider.java:98)
                52 more
Root Cause:
com.sap.aii.utilxi.hmi.api.HmiMethodFault:
                Plain exception:Error when calling an adapter by using the
                communication channel ccRFCReceiverNPI (Party: , Service:
                BS_ECD, Object ID: 00b61d6e4363334d8bd052dfb9c2c09a) The
                channel with object ID 00b61d6e4363334d8bd052dfb9c2c09a could
                not be found in the Integration Server Java Cache. Check if
                the channel exists in the Integration Builder Directory and
                execute a refresh of the Java Cache.
com.sap.aii.mapping.lookup.LookupException:
                Error when calling an adapter by using the communication
                channel ccRFCReceiverNPI (Party: , Service: BS_ECD, Object ID:
                00b61d6e4363334d8bd052dfb9c2c09a) The channel with object ID
                00b61d6e4363334d8bd052dfb9c2c09a could not be found in the
                Integration Server Java Cache. Check if the channel exists in
                the Integration Builder Directory and execute a refresh of the
                Java Cache.
at
                com.sap.aii.ibrun.server.lookup.SystemAccessorInternal.getProxy(SystemAccessorInternal.java:130)
at
                com.sap.aii.ibrun.server.lookup.SystemAccessorInternal.<init>(SystemAccessorInternal.java:46)

Similar Messages

  • RFC Lookup using Java Mapping program - Examples

    Dear Experts,
    I am working on a scenario which is using 1:N mapping. For deciding the target message I have to use RFC Lookup to call the backend ERP system and there are 2 ERP systems involved in this integration. As I am using Java Mapping and never did a RFC Lookup in Java. I kindly request you to give me some examples which I could use for my RFC calls in my Java Mapping. Simple example will do.
    Client is adamant to use Java mapping, I could achieve this easily using XSLT or Graphical Mapping.
    Advance Thanks,
    Pradeep

    Hello,
    why don't you use Extended Receiver Determination Defining Extended (Dynamic) Receiver Determination - Integration Directory - SAP Library?
    What you can do is create a Message Mapping between your source message and Receivers message type. In this message mapping you can use your RFC to generate the target message.
    For example, lets say we have the function ZFM_GET_INTERFACE_INFO used to generate the List of Receivers given a source message. You could create a Message Mapping as below:
    In this case, the RFCLookup box look as below:
    The receiver determination configuration would look as follows:
    Afterwards, you will need two specific message mappings for the two ERP systems.
    Summarizing, you'll need:
    1.- A Message Mapping: Source Message to Receivers Message Type (This one uses the RFC Lookup)
    2.- A Message Mapping: Source Message to Target Message for ERP 1
    3.- A Message Mapping: Source Message to Target Message for ERP 2
    In Integration Directory you'll have 1 Receiver Determination(Source system, Target System determined Dynamically) and 2 Interface Determinations (Source System to ERP1, Source System to ERP2), etc.
    I hope you find it useful.
    Regards!

  • XSLT Mapping : RFC Lookup using java helper class

    Hi All,
    I am doing RFC Lookup in xslt mapping using java helper class. I have found blog for the same (http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/05a3d62e-0a01-0010-14bc-adc8efd4ee14) However this blog is very advanced.
    Can anybody help me with step by step approach for the same?
    My basic questions are not answered in the blog as:
    1) where to add the jar file of the java class used in xslt mapping.
    I have added zip file of XSLT mapping in imported archived and using that in mapping.
    Thanks in advace.
    Regards,
    Rohan

    Hi,
    Can u please have look at this in detail , u can easily point out yourself the problem...
    http://help.sap.com/saphelp_nw04/helpdata/en/55/7ef3003fc411d6b1f700508b5d5211/content.htm
    Please observe the line,
    xmlns:javamap="java:com.company.group.MappingClass
    in XSLT mapping..
    The packagename of class and class name and XSLT namespace should be matching...
    Babu
    Edited by: hlbabu123 on Sep 29, 2010 6:04 PM

  • Java Error in RFC Lookup in XSLT Mapping usinf Java helper class

    Hi All,
    I am doing RFC Lookup in XSLT Mapping using Java Helper class.
    The Lookup works fine when called one RFC at a time However my requirement is I want to do 2 Lookups.
    Both Lookups works when done individually however when I call both lookups in one mapping I get following error "javax.xml.transform.TransformerException: DOMSource whose Node is null."
    Following is the code I have written in XSLT for the lookup:
         <xsl:template name="Lookup_1">
              <xsl:param name="STDPN"/>
                   <rfc:RFC_READ_TABLE>
                        <QUERY_TABLE>KNA1</QUERY_TABLE>
                        <OPTIONS><item><TEXT>
                                  <xsl:value-of select="$STDPN"/>
                             </TEXT></item>
                        </OPTIONS>
                        <FIELDS>
                             <item>
                                  <FIELDNAME>KUNNR</FIELDNAME>
                             </item>
                        </FIELDS>
                   </rfc:RFC_READ_TABLE>
              </xsl:variable>
              <xsl:variable name="response" xmlns:lookup="java:urn.mt.pi" select="lookup:execute($request, 'BS_D, 'cc_RfcLookup', $inputparam)"/>
              <xsl:element name="STDPN">
                   <xsl:value-of select="$response//DATA/item/WA"/>
              </xsl:element>
         </xsl:template>
         <xsl:template name="Lookup_2">
              <xsl:param name="BELNR"/>
                   <xsl:variable name="Query">AGMNT = '<xsl:value-of select="$BELNR"/>'</xsl:variable>
                   <xsl:variable name="request1">
                        <rfc:RFC_READ_TABLE>
                             <QUERY_TABLE>ZTABLE</QUERY_TABLE>
                             <OPTIONS><item><TEXT>
                                  <xsl:value-of select="$Query"/>
                                  </TEXT></item>
                             </OPTIONS>
                             <FIELDS>
                                  <item>
                                       <FIELDNAME>KUNAG</FIELDNAME>
                                  </item>
                             </FIELDS>
                        </rfc:RFC_READ_TABLE>
                   </xsl:variable>
                   <xsl:variable name="response1" xmlns:lookup="java:urn.mt.pi" select="lookup:execute($request1, 'BS_D','cc_RfcLookup', $inputparam)"/>
                   <xsl:element name="BELNR">
                        <xsl:value-of select="$response1//DATA/item/WA"/>
                   </xsl:element>
         </xsl:template>
    My Question: Am I doing anything wrong? Or Is it possible to call multiple lookups in one XSLT?
    Thanks and Regards,
    Atul

    Hi Atul,
    I had the same problem like you had.
    The main Problem is that with the example code the request variable is created as NodeList object. In XSLT a variable is somekind of a constant and can't be changed. As the request object is empty after the first request the programm fails at the following line:
    Source source = new DOMSource(request.item(0));
    So I've created a workaround for this problem.
    In the call of the template I've put the request as a parameter object at the template call:
    <xsl:with-param name="req">
    <rfc:PLM_EXPLORE_BILL_OF_MATERIAL xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
      <APPLICATION>Z001</APPLICATION>
      <FLAG_NEW_EXPLOSION>X</FLAG_NEW_EXPLOSION>
      <MATERIALNUMBER><xsl:value-of select="value"/></MATERIALNUMBER>
      <PLANT>FSD0</PLANT>
      <VALIDFROM><xsl:value-of select="//Recordset/Row[name='DTM-031']/value"/></VALIDFROM>
      <BOMITEM_DATA/>
    </rfc:PLM_EXPLORE_BILL_OF_MATERIAL>
    </xsl:with-param>
    With this change the request will be provided as a String object and not as a NodeList object.
    Afterwards the RfcLookup.java has to be changed to the following:
    package com.franke.mappings;
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.PrintWriter;
    import java.io.StringWriter;
    import java.util.Map;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.transform.Source;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.dom.DOMSource;
    import javax.xml.transform.stream.StreamResult;
    import org.w3c.dom.Document;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    import com.sap.aii.mapping.lookup.Channel;
    import com.sap.aii.mapping.api.StreamTransformationConstants;
    import com.sap.aii.mapping.api.AbstractTrace;
    import com.sap.aii.mapping.lookup.RfcAccessor;
    import com.sap.aii.mapping.lookup.LookupService;
    import com.sap.aii.mapping.lookup.XmlPayload;
    * @author Thorsten Nordholm Søbirk, AppliCon A/S
    * Helper class for using the XI Lookup API with XSLT mappings for calling RFCs.
    * The class is generic in that it can be used to call any remote-enabled
    * function module in R/3. Generation of the XML request document and parsing of
    * the XML response is left to the stylesheet, where this can be done in a very
    * natural manner.
    * TD:
    * Changed the class that request is sent as String, because of IndexOutOfBound-exception
    * When sending multiple requests in one XSLT mapping.
    public class RfcLookup {
         * Execute RFC lookup.
         * @param request RFC request - TD: changed to String
         * @param service name of service
         * @param channelName name of communication channel
         * @param inputParam mapping parameters
         * @return Node containing RFC response
         public static Node execute( String request,
                 String service,
                 String channelName,
                 Map inputParam)
              AbstractTrace trace = (AbstractTrace) inputParam.get(StreamTransformationConstants.MAPPING_TRACE);
              Node responseNode = null;
              try {
                  // Get channel and accessor
                  Channel channel = LookupService.getChannel(service, channelName);
                  RfcAccessor accessor = LookupService.getRfcAccessor(channel);
                   // Serialise request NodeList - TD: Not needed anymore as request is String
                   /*TransformerFactory factory = TransformerFactory.newInstance();
                   Transformer transformer = factory.newTransformer();
                   Source source = new DOMSource(request.item(0));
                   ByteArrayOutputStream baos = new ByteArrayOutputStream();
                   StreamResult streamResult = new StreamResult(baos);
                   transformer.transform(source, streamResult);*/
                    // TD: Add xml header and remove linefeeds for the request string
                    request = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"+request.replaceAll("[\r\n]+", ""); 
                    // TD: Get byte Array from request String to send afterwards
                    byte[] requestBytes = request.getBytes();
                   // TD: Not used anymore as request is String
                    //byte[] requestBytes = baos.toByteArray();
                    trace.addDebugMessage("RFC Request: " + new String(requestBytes));
                    // Create input stream representing the function module request message
                    InputStream inputStream = new ByteArrayInputStream(requestBytes);
                    // Create XmlPayload
                    XmlPayload requestPayload =LookupService.getXmlPayload(inputStream);
                    // Execute lookup
                    XmlPayload responsePayload = accessor.call(requestPayload);
                    InputStream responseStream = responsePayload.getContent();
                    TeeInputStream tee = new TeeInputStream(responseStream);
                    // Create DOM tree for response
                    DocumentBuilder docBuilder =DocumentBuilderFactory.newInstance().newDocumentBuilder();
                    Document document = docBuilder.parse(tee);
                    trace.addDebugMessage("RFC Response: " + tee.getStringContent());
                    responseNode = document.getFirstChild();
              } catch (Throwable t) {
                   StringWriter sw = new StringWriter();
                   t.printStackTrace(new PrintWriter(sw));
                   trace.addWarning(sw.toString());
              return responseNode;
         * Helper class which collects stream input while reading.
         static class TeeInputStream extends InputStream {
               private ByteArrayOutputStream baos;
               private InputStream wrappedInputStream;
               TeeInputStream(InputStream inputStream) {
                    baos = new ByteArrayOutputStream();
                    wrappedInputStream = inputStream;
               * @return stream content as String
               String getStringContent() {
                    return baos.toString();
              /* (non-Javadoc)
              * @see java.io.InputStream#read()
              public int read() throws IOException {
                   int r = wrappedInputStream.read();
                   baos.write(r);
                   return r;
    Then you need to compile and upload this class and it should work.
    I hope that this helps you.
    Best regards
    Till

  • RFC Lookup using RFC_READ_TABLE

    Hi,
    I'm doing RFC lookup using RFC_READ_TABLE to read data from table "LIPS". I am getting the following error with the XML signature
    DVEBMGS01/j2ee/cluster/server0/./temp/classpath_resolver/Mapb16b89b090ec11debb52001e0b450820/source/com/sap/xi/tf/_MM_GetCompanyDetails_.java:72: ';' expected String rfcXML = "<?xml version="1.0" encoding="UTF-8"?><ns0:RFC_READ_TABLE xmlns:ns0="urn:sap-com:document:sap:rfc:functions"><QUERY_TABLE>"+ DBTABLE + "</QUERY_TABLE><DATA></DATA><FIELDS><item><FIELDNAME>"+ FIELDS "</FIELDNAME></item></FIELDS><OPTIONS><item><TEXT>" WHERE_CLAUSE +"</TEXT></item></OPTIONS></ns0:RFC_READ_TABLE>" ; ^ 1 error.
    Please let me know how this works
    Regards,
    Ravi

    Hi Ravi,
    This seems to me like a syntax error. Fix that and it should work fine.
    Regards,
    Neetesh

  • N:1 Mapping Possible using Java Mapping?

    All,
    Is it possible to do a N:1 mapping using Java Mapping?
    If yes , how?
    Reason for this question is that the execute() of the Java Mapping is going to take the source / request message as the InputStream . In the case of N:1 mapping , as we have multiple messages , how will they be send to the InputStream? Will both the messages be sent combined into the InputStream? Will the MESSAGES tag be embedded into the input stream?
    Regards,
    Bhavesh

    Hi @ll;
    i try the same.
    to conduct a java mapping with 2 input structures that fills one target structure.
    This mapping is part of a Integrationprocess.
    I tested the mapping at the Integration Repository (Interface mapping) with the structure given by henrique and it works fine without any error.
    At runtime this structure looks like this (different prefix)
    <?xml version="1.0" encoding="UTF-8"?>
    <sxi:Messages xmlns:sxi="http://sap.com/xi/XI/SplitAndMerge">
         <sxi:Message1>
              <YOURXML1>...</YOURXML1>
         </sxi:Message1>
         <sxi:Message2>
              <YOURXML2>...</YOURXML2>
         </sxi:Message2>
    </sxi:Messages>
    As I put it in the Integrationprocess unfortunately a strange error arises.
    The trace Workflow-Protocoll shows following error.
    <Trace level="2" type="T">Call method execute of the application Java mapping com.endress.infoserve.xi.mapping.MergeConfigStore_IdocOrder </Trace>
    <Trace level="2" type="T">Java mapping com/endress/infoserve/xi/mapping/MergeConfigStore_IdocOrder completed. (executeStep() of com.endress.infoserve.xi.mapping.MergeConfigStore_IdocOrder </Trace>
    <Trace level="1" type="T">Parsing error after multi mapping.Expected Message<i> instead of IDOC </Trace>
    I can't make head nor tail of it.
    what´s the mistake?
    can anybody please help me?
    Thanks in advance
    Kind regards

  • Handling Character Entities - Java Mapping Issue

    Hi Experts,
        I need to replace the character entities in my input XML. But, the problem is the java mapping I've written isn't replacing  the character entities as expected.  For example if my input XML  contains <NAME>&><XYZ</NAME>, then the ouput is <NAME>&amp:&gt:<0001&lt:/NAME>, whereas it should be <NAME>&amp:&gt:&lt:0001</NAME>.
    Note: I've used : instead of ; just to show it properly SDN.
    Can any of you share the code for the same if you've used it already?
    Thanks a lot in advance.
    Regards,
    Hussain.

    Hi Pooja,
        Thanks for your prompt reply.
    Are you trying to use the java mapping just to handle the character entities or your interface itself only has a java mapping?
                   - I'm using Java Mapping just to handle the character entities. Say my input XML looks like
    <?xml version="1.0" encoding="UTF-8"?>
    <resultset>
    <row>
    <ID>&<1</ID>
    <MESSAGE><![CDATA[<?xml version="1.0" encoding="UTF-8" ?><LGORT>&<0001</LGORT>]]></MESSAGE>
    </row>
    </resultset>
    I need to replace &< in <ID> to &amp:&lt: and similarly for CDATA <LGORT>&amp:&lt:0001</LGORT> before I process it in XI. In my java mapping I read the whole XML as string (line by line as mentioned below) and try to replace the character entities using some logic, which isn't working properly.
    StringBuffer buffer = new StringBuffer();
    BufferedReader reader = new BufferedReader(new InputStreamReader(inputStream, "UTF-8"));
    for (String lineRead = reader.readLine(); lineRead != null; lineRead = reader.readLine()) {
           buffer.append(lineRead);
    I've also checked the thread mentioned by Srinivas. But, StringEscapeUtils.escapeXml() would replace all the character entities like &lt:?XML... , which would result in an invalid xml...
    Please suggest.
    Thanks,
    Hussain.

  • 1:n Transformation using JAVA Mapping Scenario

    Hi Frnds,
    I done a scenario using 1:n Transformation Scenario using XSLT,Graphical Mapping.
    But i want to develop scenario Using JAVA Mapping.
    Can anybody done the same scenario using JAVA Mapping share the links..
    Regards,
    Raj Sekhar

    You can use SAX parser for this
    firstly create a StringBuffer sb object which will store our target output
    when startDocument() gets called append the xml declaration in this method
    sb.append("<?xml version=\"1.0\" encoding=\"utf-8\" ?>");
    sb.append("<Root>");
    next for the Test element you have your startElement() method called which will contain the name of your source tag i.e Test
    for this , you will need to set a variable boolean isTest to true which was initialised as a false value.
    in the characters method you will get the value present in this tag.
    test the variable isTest for true value.
    if it is true then append the following
    sb.append("<Test1>"name"</Test1>"); //name is the buffer passed in characters method
    sb.append("<Test2>"name"</Test2>");
    sb.append("<Test3>"name"</Test3>");
    at the end your endelement() will be called
    here reset the value of isTest to false.
    in your endDocument()
    sb.append("</Root>");
    lastly convert to byte[] and then to outputStream format
    Edited by: Progirl Progirl on Jul 4, 2008 2:00 PM

  • How TO Use Java Mapping In XI

    Hi Experts,
    please help me ,
    How TO Use Java Mapping In XI?
    Thanks
    Mahesh

    Hi,
    Just refer the following links for java mapping:-
    1./people/thorsten.nordholmsbirk/blog/2006/08/10/using-jaxp-to-both-parse-and-emit-xml-in-xi-java-mapping-programs
    2./people/alessandro.guarneri/blog/2007/03/25/xi-java-mapping-helper-dom
    Regards,
    Ashwin M
    Reward if helpful

  • XML Structure Conversion using JAVA Mapping

    Hi Experts,
    I am having a requirement in which i want to convert the contents of source xml structure into a string and map it to the target field.
    Source Structure:
    <SRC>
    <Node1>ABCD</Node>
    <Node2>XYZ</Node2>
    <Node3>1234</Node>
    </SRC>
    Target Structure:
    <TRG>
    <Node1>ABCDXYZ</Node1>
    </TRG>
    Both the source and target structures are in xml format only.....just the condition is that I have to use Java mapping to achieve it.
    The contents of Source node Node3 are not to be mapped.
    Since I have very less knowledge of Java it will be very helpful if you provide the complete code to me.
    Thanks,
    Abhishek.

    Hello Udo,
    Thank you for reply. It seems ABAP mapping is easier.
    What do you think about the idea of using Value Mapping for such conversion task? In this case is it obligatory to use Java coding? And how about performance - will it be better than in case of ABAP mapping, can you say?
    Thank you,
    Igor

  • Dynamic file name while using java mapping

    Hi All,
    i need help.
    I am using java mapping to convert xml file in zip file.
    Now i need to set output file name as SiteId_TimeStamp.zip.
    Site id is comping in xml file.
    How can i do this?
    I tried many thing but didnt get the solution..
    As their is no message mapping so I am unable to use ASMA.
    Please help.

    Did you check the wiki? You just need to add the code into you java mapping..
      Map mapParameters = (Map) transformationInput.getInputHeader().getAll();
       // a) Set Output File name
       mapParameters.put(DynamicConfigurationKey.create("http://sap.com/xi/XI/Dynamic",
                                                             StreamTransformationConstants.DYNAMIC_CONFIGURATION), "");
       DynamicConfiguration conf = (DynamicConfiguration) mapParameters.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
       DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File", "FileName");
       //Depending on your requirement edit this logic. Here, NewDynamicName + CurrentDate will be output file name.
       DateFormat dateFormat = new SimpleDateFormat("yyyyMMdd");
       conf.put(key, ("NewDynamicName_" + dateFormat.format(new Date())) + ".pdf");

  • Query on processing a PDF file using Java mapping

    Hi All,
    i am trying to process a XML and PDF file using Java mapping, it is successful in XML but unable to do for PDF.
    below is the code i am using... can any one guide me how to process PDF's..
    byte byte1 = 0;     
    java.io.ByteArrayOutputStream bos = (ByteArrayOutputStream)outputstream;
    while((byte1=(byte)inputstream.read())!=-1){
    bos.write(byte1);
    bos.close(); 
    Thank You,
    Madhav

    Hi Madhav,
    I think instead of going with JAVA mapping you can write a custom adapter module for it.
    Ref:  /people/sap.user72/blog/2005/07/31/xi-read-data-from-pdf-file-in-sender-adapter
    Also check : Re: PI 7.1 : Taking a input PDF file and mapping it to a hexBinary attribute
    /people/shabarish.vijayakumar/blog/2009/05/17/trouble-writing-out-a-pdf-in-xipi
    Thanks,
    Edited by: Hareenkumar on Dec 21, 2010 11:12 AM

  • Can any one please send me sample programs using java mapping..

    <b>Can any one please send me sample programs using java mapping with input and output?</b>
    please let me know how to get started with java mapping?
    Prerequisites for java mapping ?
    What are the jars need to be deployed for SAX,DOM.  And how to do it in NWDS?
    Use of Execute() and setparameter() ... StreamTransformation?
    Some sample program using java mapping with simple logic(input and output)?

    Hi,
    Did you go thro these blogs?
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-i
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-ii
    /people/prasad.ulagappan2/blog/2005/06/29/java-mapping-part-iii
    Nice blogs to start Java Mapping.
    Go thro this one too.
    /people/stefan.grube/blog/2006/10/23/testing-and-debugging-java-mapping-in-developer-studio
    Regards,
    P.Venkat
    Message was edited by:
            Venkataramanan

  • File to JDBC using JAVA Mapping

    Hello,
      Can u explain me about the above scenario of File to JDBC using JAVA Mapping.
       Iam new to XI explain above in detail.
    *Points will be Rewarded*
    Thanks&Regards,
    RavichandKone.

    HI,
    If your mapping is one to one then dont go for java mapping use graphical mapping.
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30 --> for jdbc receiver: file -JDBC
    Here are the link which will help you in writing the stored procedure:
    Receiver JDBC scenario MS access - /people/sameer.shadab/blog/2005/10/24/connecting-to-ms-access-using-receiver-jdbc-adapter-without-dsn
    Stored Procedures-
    /people/siva.maranani/blog/2005/05/21/jdbc-stored-procedures
    http://www.ics.com/support/docs/dx/1.5/tut6.html
    /people/sriram.vasudevan3/blog/2005/02/14/calling-stored-procs-in-maxdb-using-sap-xi
    http://www.ics.com/support/docs/dx/1.5/tut6.html
    http://java.sun.com/docs/books/tutorial/jdbc/basics/sql.html
    http://www.sqlteam.com/article/stored-procedures-an-overview
    thnx
    Chirag Gohil

  • How to replace namespace tag with new value using -JAVA MAPPING

    Hi Guys,
    I need to replace namespace Tag in Target xml with a new value.
    For Eg: My namespace Tag is - <ns0:TestHeader xmlns:ns0="http://0020.TestHeader.SS.com">
    I want My target xml to have value- <ns0:TestHeader>
    How can i achieve it using JAVA mapping?
    Can you provide me the code to do so.

    Sarjana,
    Not well-formed XML is only possible by Java Mapping. Please use below replace logic in Java map.
    inputContent.replaceAll("<ns0:TestHeader xmlns:ns0=\"http://0020.TestHeader.SS.com\">", "<ns0:TestHeader>");
    Link1, Link2.

Maybe you are looking for

  • After OSX Mavericks update I now can't open the App store

    Upgraded to the new Mavericks OS however when i try to open the App store as well as a few other apps fail to load at all. Any advice would be appreciated. Thanks Tom

  • REG: Creating customer stock for different material codes has an single set

    Hi FRIENDS, we  are purchasing finished items from our vendor in numbers (Eg. Item Number 1 to 6 (all different items and having different item codes)) and selling it to our customer in a set ( 1 set contains all this 6 items and we have code for thi

  • Measuring Point in Maintenance Plan

    How can I link a measuring point (not a counter) to the Maintenance Plan? Currently, I can only link a counter to a Maintenance Plan but not a measuring point. The reason why I am asking for this is that I would like to trigger automatic creation of

  • Best wireless headphones for 5G?

    I want to get wireless headphones for my 5G iPod. There seem to be three models from Logitech - the black ones, the white ones (more expensive for some reason), and the new "Free Pulse" with the stronger headband section. From what I have found, you

  • Need to stop or cancel Skype

    Hi Skype, I need to stop or cancel SKYPE.  You have everything from me.  I seem to not be able to stop it on my end in the software as of yesterday, 10/14/13.  Please stop my credit card info. Please get back to me. Thank you, Post transferred to cre