cancel
Showing results for 
Search instead for 
Did you mean: 

Error sending data to an SCMTM system from an R3 system

Former Member
0 Kudos

Dear Friends

I am trying to send an Idoc from R3 system to an SCMTM system.

I have imported the idoc, message mapping is preconfigured from SAP and requisite configurations in ID have been completed.

I am getting this error in sxmb_moni when I use FTP adapter to post the data to SCMTM system:(it is showing as processed successfully)

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- Technical Routing of Response

-->

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">

<SAP:Category>XIServer</SAP:Category>

<SAP:Code area="OUTBINDING">CO_TXT_OUTBINDING_NOT_FOUND</SAP:Code>

<SAP:P1>,BS_TM7_100</SAP:P1>

<SAP:P2>,BS_ECV_350,,</SAP:P2>

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:Stack>No receiver agreement found for sender ,BS_TM7_100 to receiver ,BS_ECV_350,,</SAP:Stack>

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

When I tried to do this with Idoc receiver adapter but it was giving this following error in Call adapter:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- Call Adapter

-->

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">

<SAP:Category>XIAdapter</SAP:Category>

<SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_WRONG_INTF</SAP:Code>

<SAP:P1>ShipmentRequestRequest_In</SAP:P1>

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:Stack>Unable to interpret IDoc interface ShipmentRequestRequest_In</SAP:Stack>

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

Do we have to use some other way of sending data to SCMTM system?or what should we use?

Do we have to suppress any acknowledgements in IDXNOALE,then please give me the steps for it

Please help.

Thank You

Warm Regards

Arjun Ghose

Edited by: Arjun Ghose on Apr 7, 2009 10:48 AM

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Arjun,

The IDoc adapter only allows you to provide it with IDocs. The interface you send to the IDoc adapter is ShipmentRequestRequest_In, which is causing the error.

I think your interface mapping is not specified in the interface determination.

Kind regards,

Koen

Former Member
0 Kudos

Hi Koen

Do you mean instead of Idoc adapter I should use some other adapter?

Edited by: Arjun Ghose on Apr 7, 2009 1:38 PM

Former Member
0 Kudos

In first case did you bind your receiver adapter with receiver agreement

go to testConfiguration tool in ID and check your config objects in ID for your sceanario

Rajesh

Former Member
0 Kudos

Hi Rajesh

Found the problem in Receiver agreement/Operation Mapping /Message Mapping after running the test:

Operation Mapping

DESADVDELVRY03_2_ShipmentRequestRequest

 

Runtime error

Runtime exception occurred during application mapping com/sap/xi/tf/_DESADVDELVRY03_to_ShipmentRequestR~; com.sap.aii.utilxi.misc.api.BaseRuntimeException:Parsing an empty source. Root element expected!

 

... (136 lines)

In message mapping I tested, but it gave no error.In Operation Mapping there was error:

18:19:04 Start of test

RuntimeException during appliction Java mapping com/sap/xi/tf/_DESADVDELVRY03_to_ShipmentRequestRequest_

com.sap.aii.mappingtool.tf7.IllegalInstanceException: Cannot create target element /ns0:ShipmentRequestRequest. Values missing in queue context. Target XSD requires a value for this element, but the target-field mapping does not create one. Check whether the XML instance is valid for the source XSD, and whether the target-field mapping fulfils the requirement of the target XSD at com.sap.aii.mappingtool.tf7.AMappingProgram.processNode(AMappingProgram.java:366) at com.sap.aii.mappingtool.tf7.AMappingProgram.start(AMappingProgram.java:496) at com.sap.aii.mappingtool.tf7.Transformer.start(Transformer.java:133) at com.sap.aii.mappingtool.tf7.AMappingProgram.transform(AMappingProgram.java:626) 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.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:43) 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:71) 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:38) at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22) 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:21) 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:16) 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:133) at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164) at $Proxy1579_10000.execute(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 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)

18:19:05 End of test

I could not make out where is the problem .Please help.

Former Member
0 Kudos

Check the data is passed looks like source data is empty

Rajesh

Former Member
0 Kudos

Hi,

Please monitor the communication channel though Component monitoring -RWB and provide more information regarding the error.

Regards,

Shweta.

Former Member
0 Kudos

Hi Shweta

This is the error in communication channel monitoruing of Component monitoring:

Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error when getting an FTP connection from connection pool: com.sap.aii.af.lib.util.concurrent.ResourcePoolException: Unable to create new pooled resource: FTPEx: This is a private system - No anonymous login