cancel
Showing results for 
Search instead for 
Did you mean: 

XML >> XI >> IDOC

Former Member
0 Kudos

Hi All,

I am new to SAP xi.I need information about XML to XI to IDOC Scenario.(Step by Step)

appreciate your help.

regards,

F.Kökce

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Fatih,

XML is the standard language used for communication in XI.

An XML>>XI>> IDOC scenario is one where your source is an XML file and you send it to XI using a <b>sender file adapter</b>, and is received using an receiver IDOC adapter

On the other hand, an IDOC>> XI>> IDOC scenario is one where both ur source and destination are IDOCs and you do NOT have to configure a sender IDOC channel. Only a receiver IDOC channel is enough.

Please ask away if you have more questions.

cheers,

Prashanth

Answers (9)

Answers (9)

Former Member
0 Kudos

Hi Fatih,

My id is prashanth.azharuddin@wipro.com

cheers,

Prashanth

former_member91687
Active Contributor
0 Kudos

Hi Fatih,

One is a file to idoc scenario where you would have configured a file adapter as your sender to send the xml file and corresponding to that you would have had your sender agreements etc configured, the other is an idoc-idoc scenario where you would have configured only the receiver idoc adapter since you would not need a sender idoc adapter since it resides in the integration engine and hence need not have a seperate communication channel for it, and also you would not have had a sender aggrement for this. This is just a jest of it, if you look more closely you would find several such instances.

Regards,

Chandra

Former Member
0 Kudos

Hi Faith,

->XML is a Language which XI understands.

->IDOC is a message type which is provided.

->The IDOC is converted again to XML format in the integration engine.

XML is just the language by which we communicate with XI.

Hope this clears your doubt.

Regards,

Jesse.

Former Member
0 Kudos

Hi Fatih,

Just adding on to what the others have told...These are also a few information that will come to use.

<u>

<b>TCODES for File>XI>IDoc</b></u>

SM59-rfc destination on recving side

IDX1-port on recving side

IDX2-load metadata

Bus. service adapter specific Identifiers-->Logical sys name (check this blog:/people/michal.krawczyk2/blog/2005/03/29/xi-error--unable-to-convert-the-sender-service-to-an-ale-logical-system )

we05-IDoc status records

BD54-Create Partner Number

We20-Create Partner Profile

and also go thru this blog...

/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping

when configuring the Receiver IDOC adapter follow these steps:

1. create a port in TCODE - IDX1

to your r/3 server

http://help.sap.com/saphelp_nw04/helpdata/en/3b/beb13b00ae793be10000000a11402f/content.htm

2. use this port and RFC dest (to the r/3 server)

while configuring receiver idoc adapter

http://help.sap.com/saphelp_nw04/helpdata/en/96/791c42375d5033e10000000a155106/content.htm

Also go thru these links for step by step procedure to do the same:

/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30

/people/sap.user72/blog/2005/01/06/how-to-process-csv-data-with-xi-file-adapter

/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter

/people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file

http://help.sap.com/saphelp_erp2005/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm

/people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30

I guess they are of help to you.

Regards,

abhy

Message was edited by: Abhy Thomas

Former Member
0 Kudos

Correct link,

Thanks,

Prateek

Former Member
0 Kudos

Hi Faith,

jus chk out this link for the step by step approach for xml>xi>idoc.

\

regards

jithesh

Former Member
0 Kudos

This Link give me Error Jithesh...

Former Member
0 Kudos

Hi fatih,

correct link is

regards

jithesh

Former Member
0 Kudos

Hi Fatih,

STEPS IN DESIGN

1. Import idoc from the SAP System through imported objects.

2. Create Data Type, Message Type, Message Interface for the Outbound File.

3. Create Message Mapping with source XML message and your IDOC

5.Create Interface mapping between File Interface and the idoc.

<b>

Steps to be followed in Creation of Technical and Business System</b>

Technical System:

Create anew technical system for ur scenario

Business System:

1.Goto Business Landscape->New Business System->Name the business system.

2. Choose the technical system that needs to be attached

Steps in Configuration

1. Goto service without party, right click->Assign a business system.

2. Choose the business system to be added.

3. Create a File Sender Service with communication channel for the same.

4. Create an idoc receiver channel under the business system.

7. The Idoc type is mentioned as inbound parameter.

8. Mention the logical Name in the Service->Adapter Specific Parameters of both the File Sender Service as well as the business system.

9. Make the Sender Agreement for the File Sender with communication channel.

10.Create the Receiver Determination and Interface Determination for the business system.

11.Create the Receiver Agreement for the Business system.

Thanks,

Prashanth

Former Member
0 Kudos

I have last week tried IDOC >> XI >>IDOC and they was Successfuly.

http://www.directupload.net/images/060327/RkgfBQzj.gif

My Question is, what is the different between idoc>>xi>>idoc and

xml>>XI>>IDOC?

Thanks,

Fatih Kökce

Former Member
0 Kudos

Hi,

IDOC is a standard format which the SAP systems use, to communicate with each other.

It basically acts as a container which holds data that should be exchanged between two or more systems.

Moreover, you wouldnt configure a sender IDoc adapter in the above scenario.

When an idoc is sent, it is converted to xml, and xi does further processing.

XML is a language that xi understands. The second scenario is a file to idoc scenario.In this case, there must be a sender adapter, listening, on a particular port for incoming files.There must also be a receiver idoc adapter.

Accordingly, There will be a receiver determination,interface determination,receiver agreement and sender agreement.

Regards,

Smitha.

Former Member
0 Kudos

Hello Prashanth,

Thank you for the Answers, I follow the Steps and configure the Szenario.If I get problems i ask away.

Can you send me your e-mail adress?

to : koekce@fh-wolfenbuettel.de

former_member187339
Active Contributor
0 Kudos

Hi,

Refer these blogs:

/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping

/people/kannan.kailas/blog/2005/12/07/posting-multiple-idocs-with-acknowledgement

/people/ravikumar.allampallam/blog/2005/03/03/creating-purchase-order-idoc-through-xi

/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters

Regards

Suraj

udo_martens
Active Contributor
0 Kudos

Hi Fatih,

plz have a look to the documentation <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cdded790-0201-0010-6db8-beb9bb2b2660">How To…Sample IDoc-XI Scenarios</a>

Regards,

Udo