cancel
Showing results for 
Search instead for 
Did you mean: 

XML file to IDoc

Former Member
0 Kudos

hi all

i have a scenario, in that i want to convert XML file to IDoc.

here the

1. adapter used to link in source system is XML

2.adapter used in target system is IDoc.

can any one help me in doing the configuration in source system, target system and in XI.

can you please send me the screen shots of the above configurations if you have

regards

Pradeep P N

Message was edited by:

pradeep p

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

HI,

See below link also..

/people/sravya.talanki2/blog/2006/12/25/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-i

Regards

Chilla..

Former Member
0 Kudos
Former Member
0 Kudos

Hi Pradeep,

in XI in ID, Create a File sender adapter for XML file and create an IDOC receiver adapter for receiving IDOC in SAP R/3 system.

in XI in SM59, Create a r/3 conn from XI to SAP R/3 system.......use this conn in IDOC comm channel......

in R/3 create a Logical system for SAP in we20...add the IDOC in the inbound parameter of this LS and give processing code for it.

In XI, do the mapping of XML file to IDOC in IR. Hope this solves your query.

Thanks,

Rajeev Gupta

Message was edited by:

RAJEEV GUPTA

Former Member
0 Kudos

hi sir

do you have some screen shots or notes for this file sender adapter and IDOC receiver adapter. if you have, could you please send it to this id

: mailpnpradeep@gmail.com

Thanks anf regards

Pradeep

Former Member
0 Kudos

Hi,

For screenshots and some sample example scenarios .. please visit just bove blog and click on sample scenarios part I and Part II.

If it is usefull..points rewarded ..

Regards

Chilla..

Former Member
0 Kudos

Hi Pradeep,

for file adapter, go thruogh below link:

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

for IDOC adpter, go through the below link:

Thanks,

Rajeev Gupta

Message was edited by:

RAJEEV GUPTA

Former Member
0 Kudos

padeep,

check this blogs

/people/michal.krawczyk2/blog/2005/09/01/xi-idoc-adapter--edidc40--demystified

/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi

/people/michal.krawczyk2/blog/2007/01/09/edi-external-partner-numbers--avoiding-lookups-in-xi

Regards

Sreeram.G.Reddy

Former Member
0 Kudos

hi sir

can you please give me an idea of what all configurations i have to do in R/3 side. acutally i am very new to SAP.

thanks & regards

Pradeep

Former Member
0 Kudos

hi sir

need some more help in configuration of R/3 side of the target system

thanks & regards

Pradeep

Former Member
0 Kudos

Hi ,

These are all the ALE settings which you have to be done in XI and R/3 side while working with IDOC scenarios.

SAP XI

1) RFC Destination (SM59)

a) Choose create.

b) Specify the name of the RFC destination

c) Select connection type as 3 and save

d) In the technical settings tab enter the details SAP SID/URL and system number#.

e) Enter the Gateway host as same details above SID/URL.

f) Gateway service is 3300+system number#.

g) In the Logon /Security tab, enter the client user & Password details of Destination system.

h) Test the connection and remote logon.

2) Create Port (IDX1)

a) Select create new button

b) Enter the port name as SAP+SID (The starting char should be SAP)

c) Enter the destination client.

d) Enter the RFC Destination created in SAP R/3 towards other system.

e) Save

3) Load Meta Data for IDOC (IDX2)

a) Create new

b) IDOC Message Type

c) Enter port created in IDX1.

SAP R/3

1) RFC Destination (SM59)

a) Choose create.

b) Specify the name of the RFC destination

c) Select connection type as 3 and save

d) In the technical settings tab enter the details SAP SID/URL and system number#.

e) Enter the Gateway host as same details above SID/URL.

f) Gateway service is 3300+system number#.

g) In the Logon /Security tab, enter the client user & Password details of Destination system.

h) Test the connection and remote logon.

2) Create Port (We21)

a) First Select Transactional RFC and then click create button

b) Enter the destination port name as SAP+SID (The starting char should be SAP)

c) Enter the destination client.

d) Enter the RFC Destination created in SAP R/3 towards other system.

e) Save

3) Create Partner Profile (WE20)

a) Create New

b) Create the Partner no. name as same the logical system name of the destination system.

c) Select Partner type LS

d) Enter details for Type: US/USER, Agent, and Lang.

e) Click on the + button to select the message type.

f) Select Partner no. and LS which ever create above.

g) Select Message type

h) Select Process code related to the Message type.

I) save.

In SLD – System Landscape Directory

TS for R/3 (Logical system):-Assign the client name created in R/3 as Logical system Name.

Ts for Third Party (Logical system):-

BS for SAP R/3 (Logical system):- Assign the client name created in R/3 as Logical system Name.

BS for Third Party (Logical system):-Enter the XI logical system name.

In Transaction SALE

Define and Assign the logical system name.

Regards,

Former Member
0 Kudos

HI,

see below links

idoc settings /people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi

Regards

Chilla..

Former Member
0 Kudos

Hi Pradeep,

see for R/3 - Do below:

Login in r/3

go to WE20 Transaction - Create a logical system for some partner in SAP.... In its inbound parameter, add your idoc basic type, then tell the processing code of your IDOC.......Then when your IDOC will reach SAP, then by this process code it will be posted in SAP.....You can ask the process code for your IDOC from your functional people....

Thanks,

Rajeev Gupta

Former Member
0 Kudos

HI,

In source side take file adapter ,

Please see the below links..how to do..

/people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping - Any flat file to any Idoc

idoc settings /people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi

Regards

Chilla..

Former Member
0 Kudos

Pradeep,

have a look at this weblog

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

>>1. adapter used to link in source system is XML

Adapter for sender here should be File adapter with Message protocol "File".

Regards,

Jai Shankar