Skip to Content
avatar image
Former Member

Doubt Regarding IDoc Adapter

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?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

8 Answers

  • Best Answer
    avatar image
    Former Member
    Feb 24, 2009 at 09:48 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 24, 2009 at 09:44 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 24, 2009 at 09:45 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 24, 2009 at 10:00 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 24, 2009 at 10:32 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 24, 2009 at 11:56 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 24, 2009 at 09:41 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 24, 2009 at 09:53 AM

    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

    Add comment
    10|10000 characters needed characters exceeded