cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot perform RFC lookup

Former Member
0 Kudos

Hello,

In file - PI 7.1 - IDOC scenario i am using graphical rfc lookup in my message mapping to get Comp_Code (Company codes from table T001 using BAPI_COMPANYCODE_GETLIST). and send it to IDCO DEBMAS06 (BUKRS). The lookup and the whole scenario works fine in PIU (PI development) but when I exported all design and configuration objects to PIT (PI test), I am getting this error message:

Cannot perform RFC lookup

In the Test system, I have checked SICF and SM59 and the service is running (As in Development) and all parameters in SM59 and SICF are same as in Dev. system.

any suggestion what the problem might be?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Are you using a communication channel and using it inside the UDF (look up api in message mapping) ?

If yes check the CC is configured correctly to the production system.

Mathews

Former Member
0 Kudos

Hi,

No, I am using Graphical RFC Lookup (in PI 7.1). I am using UDF too to filter out non-numeric data and so on, but it hasn't anything to do with rfc lookup. And it is working in Development system, but not in Test system (I have exported design objects from DEV to TEST so I can not edit them..).

former_member181985
Active Contributor
0 Kudos

open the software component -->edit mode --> at the bottom check "all objects are modifiable" now save .

now open the mapping program you should be able to edit it.

Activate both SWCV and Mapping.

Thanks,

- Gujjeti.

Former Member
0 Kudos

Hi again,

I did åpen the OM and MM in edit mode, added some description and saved/activated. but still getting this error:

RuntimeException when executing application mapping program com/sap/xi/tf/_MM_POSCustomerData_to_DEBMAS_DEBMAS06_; Details: com.sap.aii.mappingtool.tf7.MessageMappingException; Runtime exception when processing target-field mapping /DEBMAS06/IDOC/E1KNA1M/E1KNB1M; root message: Cannot perform RFC lookup

former_member181985
Active Contributor
0 Kudos

have you edited the channel as well.

As far as I know when you transport you will loose configuration parameters in ID.

Thanks,

- Gujjeti.

Former Member
0 Kudos

Hi

yes I have maintained the CC and reactivate every possible object one more time, but same error message :

Cannot perform RFC lookup....

Former Member
0 Kudos

Is it because of some auth issue since its production system?

See if the user id used can go and see the entries in R3 systen - SE16 - table t001.

Mathews

Former Member
0 Kudos

Hi,

The lookup is toward Test system and not production, but any way, the communication user RFCPITEST which is used due configuration, has the SAP_ALL and I suppose with SAP_ALL it shouldn't have authorization limits...

The system DEV and TEST are almost identical, and I am using same user in DEV environment without any problem.

Former Member
0 Kudos

Hi,

1)C heck whether password is correct or not for that user and password is not expired.

2) Also,check whether specified user is in locked state. if yes, u have to remove the lock.

Former Member
0 Kudos

here is the log data :

com.sap.aii.mappingtool.tf7.MessageMappingException: Runtime exception when processing target-field mapping /DEBMAS06/IDOC/E1KNA1M/E1KNB1M; root message: Cannot perform RFC lookup at com.sap.aii.mappingtool.tf7.AMappingProgram.processNode(AMappingProgram.java:443) at com.sap.aii.mappingtool.tf7.AMappingProgram.processNode(AMappingProgram.java:395) at com.sap.aii.mappingtool.tf7.AMappingProgram.processNode(AMappingProgram.java:395) at com.sap.aii.mappingtool.tf7.AMappingProgram.processNode(AMappingProgram.java:395) at com.sap.aii.mappingtool.tf7.AMappingProgram.start(AMappingProgram.java:482) at com.sap.aii.mappingtool.tf7.Transformer.start(Transformer.java:133) at com.sap.aii.mappingtool.tf7.AMappingProgram.transform(AMappingProgram.java:612) 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.SequenceMapping.executeStep(SequenceMapping.java:40) 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.GeneratedMethodAccessor604.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585)

....

......

.........

.........

.......

......

....

com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164) at $Proxy1580.execute(Unknown Source) at sun.reflect.GeneratedMethodAccessor603.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.sap.engine.services.rmi_p4.P4DynamicSkeleton.dispatch(P4DynamicSkeleton.java:234) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:351) at com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:70) at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:62) at com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:37) at com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest(FCAConnectorImpl.java:872) at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:53) at com.sap.engine.services.cross.fca.MessageReader.run(MessageReader.java:58) at com.sap.engine.core.thread.execution.Executable.run(Executable.java:108) at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:304) Caused by: com.sap.aii.mapping.api.StreamTransformationException: Cannot perform RFC lookup at com.sap.aii.mappingtool.flib7.RfcLookup.cacheMore(RfcLookup.java:105) at com.sap.aii.mappingtool.tf7.rt.AMultiResIterator$MultiOutIterator.gotoNextContext(AMultiResIterator.java:95) at com.sap.aii.mappingtool.flib7.Plainer.gotoNextNonEmptyContext(Plainer.java:47) at com.sap.aii.mappingtool.flib7.Plainer.gotoNextContext(Plainer.java:21) at com.sap.aii.mappingtool.tf7.rt.C2CFunctionWrapper.cacheContext(C2CFunctionWrapper.java:73) at com.sap.aii.mappingtool.tf7.rt.C2CFunctionWrapper.gotoNextContext(C2CFunctionWrapper.java:42) at com.sap.aii.mappingtool.tf7.rt.Q2QFunctionWrapper.cacheQueue(Q2QFunctionWrapper.java:68) at com.sap.aii.mappingtool.tf7.rt.Q2QFunctionWrapper.gotoNextContext(Q2QFunctionWrapper.java:34) at com.sap.aii.mappingtool.tf7.AMappingProgram.processNode(AMappingProgram.java:299) ... 52 more Caused by: com.sap.aii.mapping.lookup.LookupException: Technical error when calling an adapter remotely. The HMI method with the ID process was called with an incorrect session status. The system accessor object is missing at com.sap.aii.ibrep.server.lookup.LookupServiceProvider$RemoteClientDelegator.call(LookupServiceProvider.java:119) at com.sap.aii.mapping.lookup.RfcAccessor.call(RfcAccessor.java:81) at com.sap.aii.mappingtool.flib7.RfcLookup.cacheMore(RfcLookup.java:81) ... 60 more Caused by: com.sap.aii.utilxi.hmi.api.HmiMethodFault: Technical error when calling an adapter remotely. The HMI method with the ID process was called with an incorrect session status. The system accessor object is missing at com.sap.aii.utilxi.hmi.api.HmiMethodFault.parseGdi(HmiMethodFault.java:156) at com.sap.aii.utilxi.hmi.core.msg.HmiResponse.setState(HmiResponse.java:181) at com.sap.aii.utilxi.hmi.core.msg.HmiResponse.parseGdi(HmiResponse.java:132) at com.sap.aii.utilxi.hmi.api.HmiHttpJDKClient.sendRequestAndReceiveResponse(HmiHttpJDKClient.java:256) at com.sap.aii.utilxi.hmi.api.HmiClientAdapter.invokeMethod(HmiClientAdapter.java:92) at com.sap.aii.ibrep.server.lookup.SystemAccessorHmiClient.process(SystemAccessorHmiClient.java:108) at com.sap.aii.ibrep.server.lookup.LookupServiceProvider$RemoteClientDelegator.call(LookupServiceProvider.java:115) ... 62 more Root Cause: com.sap.aii.mapping.api.StreamTransformationException: Cannot perform RFC lookup at com.sap.aii.mappingtool.flib7.RfcLookup.cacheMore(RfcLookup.java:105) at com.sap.aii.mappingtool.tf7.rt.AMultiResIterator$MultiOutIterator.gotoNextContext(AMultiResIterator.java:95) at com.sap.aii.mappingtool.flib7.Plainer.gotoNextNonEmptyContext(Plainer.java:47) at com.sap.aii.mappingtool.flib7.Plainer.gotoNextContext(Plainer.java:21) at com.sap.aii.mappingtool.tf7.rt.C2CFunctionWrapper.cacheContext(C2CFunctionWrapper.java:73) at com.sap.aii.mappingtool.tf7.rt.C2CFunctionWrapper.gotoNextContext(C2CFunctionWrapper.java:42) at com.sap.aii.mappingtool.tf7.rt.Q2QFunctionWrapper.cacheQueue(Q2QFunctionWrapper.java:68) at com.sap.aii.mappingtool.tf7.rt.Q2QFunctionWrapper.gotoNextContext(Q2QFunctionWrapper.java:34) at com.sap.aii.mappingtool.tf7.AMappingProgram.processNode(AMappingProgram.java:299) at com.sap.aii.mappingtool.tf7.AMappingProgram.processNode(AMappingProgram.java:395) at com.sap.aii.mappingtool.tf7.AMappingProgram.processNode(AMappingProgram.java:395) at com.sap.aii.mappingtool.tf7.AMappingProgram.processNode(AMappingProgram.java:395) at com.sap.aii.mappingtool.tf7.AMappingProgram.start(AMappingProgram.java:482) at com.sap.aii.mappingtool.tf7.Transformer.start(Transformer.java:133) at com.sap.aii.mappingtool.tf7.AMappingProgram.transform(AMappingProgram.java:612) 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.SequenceMapping.executeStep(SequenceMapping.java:40) 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.GeneratedMethodAccessor604.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585)

....

......

.........

.........

.......

......

....

12:43:48 End of test

former_member181985
Active Contributor
0 Kudos

Try editing Mapping and RFC channel by giving some description. Save & Activate.

Now check again...............