cancel
Showing results for 
Search instead for 
Did you mean: 

XML to IDoc in XI?

Former Member
0 Kudos

Hi,

I am new to XI and I really need help in this.. I couldn't find any relevant source, so I thought I should post it up.

I am currently dealing with a PO processing project, whereby the image-based PO will be converted to searchable PDF, and I use Conversion Agent Tool to convert it to XML format. How do I map the XML result to IDoc for the SAP server? I read from somewhere that an inbound file adapter, IDX1 and IDX2 is involved but is there something which I can get more information or guide in regard to how to do it?

I am still an IT student and XI is very new to me.

Thanks in advance!

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hey

u have to design a whole File to IDOC scenario.

as far as posting file to PO is concerned have a look at the following

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

thanx

ahmad

Message was edited by:

Ahmad

Former Member
0 Kudos

Hey

have a look at the following thread,its IDOC to file but will help u.

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

also for any IDOC scenario u have to do the following before startin off with the scenario

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.

Note:If u search sdn for File to IDOC u will get loadz of material,dats how i got the above steps

thanx

ahmad

Former Member
0 Kudos

Thanks alot ahmad, I will try with your answers. You certainly helped a lot!

Thanks so much

Former Member
0 Kudos

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

Sap tutor

Kindly look at the above link and further material ia avaiable in wiki page.

Kindly reward points.

Former Member
0 Kudos

Thanks, but the link was already given by ahmad above. 😃