cancel
Showing results for 
Search instead for 
Did you mean: 

Doubt Regarding IDoc Adapter

Former Member
0 Kudos

Dear Gurus,

In IDoc to XML conversion scenarios, we never use Sender Communication Channel because the IDoc adapter sits on the ABAP stack and the conversion is done by the IDoc adaper in the Integration Server.

Then why in case of the reverse scenario , i.e. XML to IDoc conversion we use Receiver Communication channel and the IDoc adapeter explicitly? Why can't that IDoc Adpater that sits on the ABAP stack convert the xml file into IDoc format?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

you need the receiver channel for example to configure the RFC-Connection and the port that should be used in your scenario.

At sender side this is not necessary as your Sender Adapter only have to "receive" and convert the IDoc.

Regards

Patrick

Answers (7)

Answers (7)

Former Member
0 Kudos

Hi Shweta,

There is no need of sender communication channel for Idoc because the idoc whis is triggered directly received by the idoc adapter....

where as in case of receiver side.....we have to create receiver Communication channel because

In technical routing step physical receiver system is identified for that it needs RFC destination and port... these details we have to give in receiver communication channel........

Thanks,

Sreedhar Goud.

Former Member
0 Kudos

Hi,

Reciver IDOC adapter is required because you need to do conversion from XML to IDOC-XML format and by reciver IDOC adapter you tell XI which r/3 system is the target system to send the IDOC and using which RFC connection XI has to send that IDOC to which r/3 system.

Regards,

Rajeev Gupta

former_member184619
Active Contributor
0 Kudos

Hi Shweta,

the reason for this is:

The adapter at the inbound channel is located before the Integration Server pipeline and calls this pipeline. The adapter at the outbound channel, however, is called by the pipeline, and can therefore be regarded as part of the pipeline.

The connected systems transfer or receive IDocs through their IDoc RFC interface.

if you check this link:

http://help.sap.com/saphelp_nw04/helpdata/en/ab/bdb13b00ae793be10000000a11402f/frameset.htm

and read the Integration section and try to understand the pipeline flow, as the names are not understandable(viz. receiver determintaion, mapping etc.) in the diagram.

you will get the clarity after reading this..

Sachin

JoelTrinidade
Active Contributor
0 Kudos

Hi Shweta,

The question that you ask pertains to the designing and architecture of the XI system.

The why's and what only SAP can answer but if you want to understand what is built rather than why it was built that way..... then go through.

idoc to idoc xml format

http://help.sap.com/saphelp_nwpi71/helpdata/en/45/098b6145360488e10000000a155369/frameset.htm

xml to idoc

http://help.sap.com/saphelp_nw04/helpdata/en/ab/bdb13b00ae793be10000000a11402f/frameset.htm

The above would help you in having some insight.

Rgds

joel

aashish_sinha
Active Contributor
0 Kudos

Hi,

>> In IDoc to XML conversion scenarios, we never use Sender Communication Channel because the IDoc adapter sits on the ABAP stack and the conversion is done by the IDoc adaper in the Integration Server.

This is true.

>> Then why in case of the reverse scenario , i.e. XML to IDoc conversion we use Receiver Communication channel and the IDoc adapeter explicitly? Why can't that IDoc Adpater that sits on the ABAP stack convert the xml file into IDoc format?

IDoc adapter enables us to process IDocs using the Integration Engine. The Idoc adapter converts the IDocs to IDoc XML format so that they can be processed by the Integration Server Pipeline.The IDoc adapter only evaluates the payload of a received XML message.

It is also possible to transfer XML received by Integration Server in IDoc format to connected Systems.

Regards

Aashish Sinha

Former Member
0 Kudos

As you need to convert the idoc to idoc-xml and also as there can be lot of target system available you need this

Rajesh

Former Member
0 Kudos

Hi

The function is NOT restricted to conversion to XML or back.

go through this link (sub items in left menu also) to understand how it works, then you will get a complete picture

http://help.sap.com/saphelp_nw04/helpdata/en/ab/bdb13b00ae793be10000000a11402f/frameset.htm

Regards

Vishnu