cancel
Showing results for 
Search instead for 
Did you mean: 

Idoc Adapter

Former Member
0 Kudos

Hi

The Idoc control record contains info about the Idoc, the sender party, service com channel info etc. So is it created by the Idoc adapter when it is on the outbound side. When it is in the inbound side, we don't use sender Idoc adapter so how are these informations added to the control record. In other words if there is no Idoc sender adapter how does the SAP system knows the correct sender communication channel and sender party.

Radhika

Accepted Solutions (1)

Accepted Solutions (1)

former_member187339
Active Contributor
0 Kudos

Hi Radhika,

>>The Idoc control record contains info about the Idoc, the sender party, service com channel info etc.

Control record contains information about sender and receiver and the IDoc.. Viz partner, port and partner function of sender and receiver and basic type, message type and extension of idoc...

>>In other words if there is no Idoc sender adapter how does the SAP system knows the correct sender communication channel and sender party.

Ideally it is not created by the sender IDoc adapter, when an IDoc leaves an R3 system, it has all the required details in its Control Record.. So it it the Sender SAP system which makes the control header of an Idoc

Based on this control record it chooses the Receiver Determination in XI (and it skips the sender agreement part of the pipeline steps)

>>So is it created by the Idoc adapter when it is on the outbound side.

Practically yes.. based on the option whether you selected Apply control records from payload or take sender/receiver from payload...

another mode of creation is through message mapping, where you create the control record in output payload..

Regards

Suraj

Former Member
0 Kudos

Thanks everyone !

based on the option whether you selected Apply control records from payload or take sender/receiver from payload..

So whenever we use Idoc we have to select Apply control records from payload option, right ?

So when the Idoc adapter is on the outbound side the control record information is created by the Idoc adapter or through message mapping and when the Idoc adapter is on the indound side, the sender SAP system creates the control recod information.

Regards

Radhika

former_member187339
Active Contributor
0 Kudos

Hi Radhika,

>>So whenever we use Idoc we have to select Apply control records from payload option, right ?

Not necessarily.. If you wan the control record to be made according to the configuration done in XI, then use this option.. Generally we use this option when the sender is a party ... Normally we specify it in payload (during message mapping)

>>So when the Idoc adapter is on the outbound side the control record information is created by the Idoc adapter or through message mapping and when the Idoc adapter is on the indound side, the sender SAP system creates the control recod information.

Yes,

Regards

Suraj

Former Member
0 Kudos

Thanks Suraj

Regards

Radhika

Answers (3)

Answers (3)

former_member200962
Active Contributor
0 Kudos
In other words if there is no Idoc sender adapter how does the SAP system knows the correct sender communication 
channel and sender party.

The SAP systems needs to know to which system it should be sending the IDOC.

This is done by specifying the corresponding Control Record details in WE19 of the SAP system....it ultimately goes into the header of the inbound IDOC.

Also the RFC destination (pointing to the SAP system) helps in sending (receiving) IDOCs from SAP (into XI)

I would suggest you to go through the corresponding TBIT document available for IDOC adapter.

Regards,

Abhishek.

Former Member
0 Kudos

Hello Radhika,

As idoc is built using ABAP stack..idoc will sent directly to integration engine unlike other adapters..there the idoc adapter will checks the associated logical system of the business system and the idocs sender partner ...if both matches then the associated business system will be used as sender in this case....

then the respective receiver and interfaces and routings for the target systems...

same question has been asked in forum so many times..please check the sdn for the same if still not clear....

HTH

Rajesh

sunilchandra007
Active Contributor
0 Kudos

The reason is that R/3 can directly send Idocs to XI via ALE layer using RFC destination specified in SM59. This IDoc after reaching XI is converted in IDoc-XML. This is done when we specify IDoc metadata IDX2 in XI.

Now for the receiver side, when IDoc-XML is created after mapping program run is sent to R/3. Before that, it has to be converted into IDoc. This conversion is IDoc-XML to IDoc is done by IDoc Receiver adapter.

Regards,

Sunil Chandra