cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC 2 FILE

Former Member
0 Kudos

hi all,

what r the configurations 2 b done at R/3 side and XI side while doing IDOC 2 FILE scenario?

regards,

keerthi

Accepted Solutions (1)

Accepted Solutions (1)

former_member529475
Active Contributor
0 Kudos

Hi Keerthi,

<b>Maintain the Sender R/3 System</b>

Create a RFC Destination to XI using the Tcode SM59

Create a TRFC Port and specify RFC Destination created above using the TCode WE21

Create the partner profile for Inbound and Outbound Parameters using WE20

<b>Maintain the Receiver XI System</b>

Create the RFC Destination for sender system using SM59

Create the port to get IDOC Metadata from Sender System using the Tcode IDX1. Here the Port name we are given and port name in the IDOC header will be identical.

Maintain the IDOC Metadata using the Tcode IDX2.

Cheers...

Vasu

<b>** REward POints if found useful **</b>

Answers (4)

Answers (4)

nisarkhan_n
Active Contributor
0 Kudos

Hi Keerthi

To send an IDOC from R/3 to XI.

1. Check the Bsystem of R/3 in SLD and note down the LS name of R/3.

On XI.

1.Create the RFC destination on the Xi pointing to R/3 (Name = LSname) (SM59: type R/3)

2.Create Port in XI (Port name should be SAPXXX "XXX is the SID of R/3) and select the RFC destinatino created earlier.

3. Check IDX2, Either you can maually upload the Metada of the IDOC which you are trying to send to XI.

On R/3:

Check the LS name oF XI and define the LS name of XI in R/3 Suing the sale TC.

1. Create an RFC Dest pointing to XI (Type R/3) SM59 TC

2. Create trfc port select the RFC destination created.

3. Configure your IDOC in BD64 to send it, cross check the partner profiles.

Any doubts check this link

/people/michal.krawczyk2/blog/2005/11/21/xi-idoc-to-idoc-tunneling--how-fast-and-easy-can-you-get

regards

Nisar

Former Member
0 Kudos

Hi,

Steps

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.

Reward Points if Helpful

Regards

sesh

Message was edited by:

Seshagiri

justin_santhanam
Active Contributor
0 Kudos

Keerthi,

Refer https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/sapR3%28Idocs%29ToXI--Steps+Summarized&

Best regards,

raj.

Former Member
0 Kudos

Hi,

IDOC - File scenario

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

configuring IDOCS

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

IDOC scenarios

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

Idoc related setting

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/73527b2c-0501-0010-5398-c4ac372c...

regards,

vasanth.