cancel
Showing results for 
Search instead for 
Did you mean: 

file-to-IDOC sceanrio

Former Member
0 Kudos

can SDN provide me guidance to make a file to IDOC scenario, specially the settings at the XI and at the receiver SAP R/3 side.....

i m new to XI so, setting details are important,

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

HI,

The configuration required in XI and R/3 for file to IDOC scenario .

XI:

SM59 - Create the RFC Destination for Relevant R/3 System type 3.

IDX1 - Create the RFCPort for what ever we create above RFC Destination .

SAP R/3:

BD54 - Create a new logical system for File system .:

WE20 - Maintain the Partner Profile for Sender File System and add the inbound parameter.

Former Member
0 Kudos

thanks

former_member335553
Active Contributor
0 Kudos

HI

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.

cehck out these blogs

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

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

/people/michal.krawczyk2/blog/2005/03/29/xi-error--unable-to-convert-the-sender-service-to-an-ale-logical-system

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

/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions

Also have a look at these forum threads...

-- /people/sravya.talanki2/blog/2006/12/25/aspirant-to-learn-sap-xiyou-won-the-jackpot-if-you-read-this-part-i - here check the part 1 and 2 examples with all screen shots.

--

Message was edited by:

Anu Ram

Former Member
0 Kudos

hi anu...thanks for response,

in file to IDOC scenario, in receiver SAP system, why do we need to vreate port and partner profile.......

former_member184619
Active Contributor
0 Kudos

Hi Pankaj,

The configuration required in XI and R/3 for file to IDOC scenario is as under:

XI:

SM59 – Create the RFC Destination for Relevant R/3 System as follows:

IDX1 – Create the RFC Port for the RFC Destination created above

R/3:

BD54 – Create a new logical system for File system

WE20 – Maintain the Partner Profile for Sender File System and add the inbound parameter for the IDOC.

WE02 – Check for the status of IDOC

Have a look at this for some screenshots of above steps.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6bd6f69a-0701-0010-a88b-adb...

Sachin

Message was edited by:

Sachin Dhingra

former_member529475
Active Contributor
0 Kudos

Hi Pankaj

These are the configuration steps...

Re: File to IDOC

Posted: Jul 27, 2006 7:58 AM Reply E-mail this post

Hi,

SLD-

1) Create a Product/Software Component

2) Technical System pointing to R/3 system

3) Business System for the above technical system

In the Repository

1) Import the Software component created in the sld

2) Create a namespace,

3) import the idoc and then create sender data type/message type etc and mapping

4) Mapping Rules is depends on the requirement

In the Directory

1) Create a Scenario /import the business system

2) Create Receiver/Interface determination

3) Create communication channels for sender and receiver

4) Sender Agreeement and Receiver Agreement.

Then the file adapter configuration is depend on the input file format.

Also you need to have Logical destionation created in the XI , and the IDX1 entry

In R/3 Port, Partner profiles etc should be created

Have a look into this document~

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/877c0d53-0801-0010-3bb0-e38...

While doing an File -> XI -> IDoc scenario, The Points to noted are:

1. You don’t need a DT, MT or a message interface for the IDOC as it itself acts as the Message Interface.

2. You import the IDOC and use the same in your mapping.

3. In this configuration note that you will need a sender agreement for the file.

4. In this configuration note that you will also need a receiver agreement for the IDOC.

For any File -> XI -> IDoc scenario ref:

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

Hope this helps you.

Cheers..

Vasu

    • Reward Points if found useful **