cancel
Showing results for 
Search instead for 
Did you mean: 

About Idoc sender

Former Member
0 Kudos

If we use the idoc at sender side then we didn't specify the Adapter, then how the data is converted to XML.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

TX

Former Member
0 Kudos

Hi Venkat,

In this case conversion is for sure done in SAP XI. Please fallow Jakub's answer he did a lot of such scenarios.

Bear in your mind that sender adapter dispite of stack is always transforming from external message to XI native format and in oposite way in case of receiver adapter.

To sum up: Sender adapter External protocol -> XI protocol

Receiver adapter XI protocol -> External protocol

It's simple rule but very often it confuses even more experienced developers.

Agasthuri, you should also look at that link and sap xi help.

In case of IDOC communication you should read that links:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d19fe210-0d01-0010-4094-a6fba344...

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cdded790-0201-0010-6db8-beb9bb2b...

(spend on it 1h and save 8h later for a coffee break )

Kind regards,

Wojciech

agasthuri_doss
Active Contributor
0 Kudos

Hi,

Adding to Jakub Post,

Since we go ahead and do the Port, Partner Profile settings, The message directly hits the integration Engine hence No Adapter.

Regards

Agasthuri Doss

turmoll
Active Contributor
0 Kudos

Hi,

Data is converted by IDoc adapter in XI system.

In sender R/3 system you have specified the port WE21 and RFC destination SM59 is linked to the port. That's all needed to send IDoc to XI.

When data is transfered to XI, IDoc adapter converts IDoc to IDoc-XML. IDoc adapter requires port definition IDX1 to get IDoc metadata (description of IDocs segments/fields) in order to perform conversion.

This presentation describes IDoc adapter in details: [SAP XI - Using the IDoc Adapter|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b2b4035c-0d01-0010-31b5-c470d3236afd]

Regards,

Jakub

Former Member
0 Kudos

Means the conversion done at R/3 ? not at XI system ?

yes ? or Integration engine will take care that conversion ?

Edited by: Venkat on Apr 12, 2008 12:11 AM

agasthuri_doss
Active Contributor
0 Kudos

Hi,

> Means the conversion done at R/3

Yes

>Integration engine will take care that conversion ?

NO, To Convert into XML message is the task of Adapter, Since the R3 converts to XML message & Port,Partner Profile &RFC Destination the message directly goes to Integration engine.

Regards

Agasthuri Doss

turmoll
Active Contributor
0 Kudos

> Means the conversion done at R/3 ? not at XI system ?

Nope, conversion IDoc -> IDoc-XML is done in XI system by IDoc adapter on ABAP stack.

Regards,

Jakub

Former Member
0 Kudos

Conversion is done in XI.Idoc adapter converts Idoc to Idoc XML.

Regards

Ratan

turmoll
Active Contributor
0 Kudos

> > Means the conversion done at R/3

>

> Yes

>

Nope, have a look at link previously mentioned by me, page - 5th

Regards,

Jakub

agasthuri_doss
Active Contributor
0 Kudos

Thanks Dude,

The Document was wonderfull, I got it,

Sorry for the assumption from my side.

Regards

Agasthuri Doss

turmoll
Active Contributor
0 Kudos

Regards,

Jakub