cancel
Showing results for 
Search instead for 
Did you mean: 

ALE Settings For File-IDOC Scenario

Former Member
0 Kudos

Hi All,

While Doing IDOC-File Scenario we have to do the Following Settings

In XI

1) Create RFC Destination towards R/3

2) Create Port

3) Load Meta data

In R/3

1) Create RFC Destination towards XI

2) Create Port

3) Create PF

Q1) Coming to File-IDOC Scenario do we need to do the Same Settings ????

Q2) In this File-IDCO Scenario do we need to create RFC Destination in R/3 towards XI ????

Clarify me these Confusions

Regards

Bopanna

Accepted Solutions (0)

Answers (10)

Answers (10)

Former Member
0 Kudos

HI,

for IDOC TO FILE

We need to create the rfc destination at XI side so as to send the acknowledgement to sap r/3 as soon as idoc has been received.This is the reason WHY WE NEED RFC DESTINATION AT XI SIDE

There are are only 2 major difference in Ale settings for FILE TO IDOC AND IDOC-FILE

i.e for FILE-IDOC

1) No need to Distribute the modal view

2) For partner profile Specify the INBOUND PARAMETERS

FOR STEP BY STEP U CAN SEE THE SETTINGS GIVEN BELOW

We need to do the following settings in XI

1) Create an RFC Destination to the Receiving System in transaction code (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.Both should be succesful

****************************************************************

2) Create Port Using Transaction Code 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 XI towards R/3

e) Save

*********************************************************************

3) Load Meta Data for IDOC Using transaction Using Transaction (IDX2)

**********************************************************************

a) Create new

b) IDOC Message Type

c) Enter port created in IDX1

**********************************************************************************************************************

SETTINGS IN SAP R/3

***********************************************************************************************************************

We need to do the following settings in R/3

Logon to Sap R/3 System

**********************************************************************

1) Create an RFC Destination to XI in transaction code (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.Both must be succesful

***********************************************************************

2) Create communication Port for Idoc processing Using Transaction(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)

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

e) Save

***********************************************************************

3) Create Partner Profile with Inbound Parameters (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

Then Save

e) Select Partner no. and LS which were create above

f) Now we have to give some Inbound Parameters.So click on ADD TO Create Inbound Parameter

g) Select Message type

h) Double click on Message Type and Then Enter the details for Message Type and Process Code.

I) save

*******************************************

4) In Transaction SALE, Create Logical System

*******************************************

a). Go to Basic Settings-> First Define logical systems

and then assign logical systems

b) Double click on Define the logical systems

c) Give data for your Logicaal System and Name

d) Now click on Save.Here one window may appear just click on Continue.Now the Logical System name is ready

e) Assign the logical system name to the client

ALSO WE NEED TO CONFIGURE THE IDOC ADAPTER AS RECEIVER TO CONVERT THE IDOC-XML TO IDOC

PLZ REFER THE LINK BELOW.

PLZ REWARDS THE POINTS

VIKAS JAIN

[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d19fe210-0d01-0010-4094-a6fba344e098]

Edited by: vikas jain on Jan 22, 2008 11:49 AM

Former Member
0 Kudos

Hi,

As you mentioned

for IDOC TO FILE

We need to create the rfc destination at XI side so as to send the acknowledgement to sap r/3 as soon as idoc has been received.This is the reason WHY WE NEED RFC DESTINATION AT XI SIDE

We are not sending any Acknowlwdgement to sap r/3 explicitly here, Is there any internal acknowlwdgements sending is there ????

Please let me know

Regards

Bopanna

Former Member
0 Kudos

HI,

YES UR RIGHT THERE IS AN INTERNAL ACKNOWLEDGEMENT SEND FRM XI TO SAP R/3

HOPE UR DOUBT IS NOW CLEARED .

PLZ REWARDS POINTS

VIKAS

Former Member
0 Kudos

Hello,

Try this in we19

Receiver

Port: created in XI for R3

Partner No. : R3(Receiver systems) Logical name.

Sender

Port : SAP<XI sys name>

in my case its SAPTXT............ where TXT is my XI sys name.... sap use this port by default......... no need to create

Partner No. : LS given in Business system or service.

Hope this will help u.

Thanks,

Maheshwari

Former Member
0 Kudos

Hi,

You are talking abt the IDOC-File Scenario Only naaa ????

If it is YES means

You said that

*Receiver

Port: created in XI for R3

Partner No. : R3(Receiver systems) Logical name*

But u told that no need to create any PORT in XI, But here u r saying that give the PORT created in XI For R/3 ???

What is this

Regards

Bopanna

Former Member
0 Kudos

Hi,

For file to IDOC follow this :

In XI

1. Create RFC destination pointing to R3.

2. create port.

3. Load the metadata

Give this RFC & Port in Receiver IDOC adapter.

Now in ID first decide which business Service/ system u want to use.

Double click on BS....then go to Servie -> adapter specific Identifiers.

See the Logical System name over there say LS1.

If u r creating new Business service .... then u have to add it over there.

IN R3.

1. create partner profile with that name LS1.

In the inbound parameters of this add ur message type.

Double click on message type & give proper Inbound process code.

there is no need to create PORT in R3.

This is all u need to do.

Thanks,

Maheshwari.

Former Member
0 Kudos

Hi Maheswari,

I will agree with your Reply.

In IDOC-File Scenario

While Entering Control Records in WE19, we have to mention PORT & Partner No which is created in XI.

If we didnt provide these details means the IDOC will not be posting to XI Successfully.

In File-IDOC Scenario

Similarly it will ask for the Sender Port & Receiver Port in the IDOC Structure, while mapping.

If we no need to create the Port in the Receiver end means how to handle these

What to do for this.

Regards

Bopanna

Edited by: BOPANNA B on Jan 18, 2008 1:45 PM

Former Member
0 Kudos

Hope this will help u.

For IDOC to File:

In R3

1.Craete Logical system for R3 say SAPR3

2.assign client to this LS.

3.Create Logical system for XI say SAPXI

4.create RFC pointing to XI say R3_To_XI

5.Crate port of type Transactional RFC say PORT_To_XI.... give RFC created in step 4.

5.Create Partner Profile of type LS.

Give Partner no as SAPXI (LS of XI created in step 3)

In outbound parameters add ur Message type

Double click on message type & give Port PORT_TO_XI created in step 5.

6.Create Distribution Model.

In XI

1. Load the metadata IDX2 transaction

Thanks,

Maheshwari

Former Member
0 Kudos

Hi BOPANNA,

yes its correct.

Chirag is also trying to tell u the same.

U dont need RFC in XI pointiong to R/3(Sender) in IDOC to file scenario.

its simple........... ur sender shd know how to connect to receiver.

there is no need for receiver to hv connect(RFC) to sender again.

R u getting any error in IDOC to file scenario?? if not plz assign points & close the thread.

Thanks,

Maheshwari.

Former Member
0 Kudos

Hi Maheswari,

Prakash Babu is Saying that we have to create in XI.

See the Prakash reply. & Let me know

Regards

Bopanna

Former Member
0 Kudos

Hi Bopanna,

Prakash has explained u the revese scenario where u r sending the IDOC to R3 from XI. that case wil be File-IDOC.

File -IDOC R3 system configuration:

In XI u need to create the RFC destination which points to R3

create the port using IDX1 through which ur IDOC will be send.

Load the metadata using IDX2

I dont know in which language I should explain u as many people have already explained u the same things more than one times.

Do let me know if u r still confused.

Thnx

Chirag

Former Member
0 Kudos

Hi Chirag,

I am explaining the requirement here clearly.Dont compare with the Subject Line.

IDOC-File Scenario

What are the Settings we nedd to do in R/3 Side as well as XI Side.????

File-IDOC Scenario

What are the Settings we need to do in R/3 side as well as XI Side ???

You can Just give me these details is enough

Regards

Bopanna

Former Member
0 Kudos

Hi Bopanna,

That means all peoples previous help will not help you in understanding the things.

This question was answered already but then also please find the below answer:

Scenario: IDOC-FILE

Pre-requisites for Outbound IDoc from R/3 to PI:

Configurations required in R/3:

Maintain Logical System (SALE) for PI

Define RFC Destination (SM59) which points to PI system

Maintain Port (WE21)

Maintain partner profile. (WE20): For XI

Maintain Distribution Model (BD64):

COnfiguration required at Xi side:

Load the metadata using IDX2 transaction

Follow the steps which is mentioned in Doc.

File To IDOC - Part1 (SLD and Design):

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC&

File To IDOC - Part2 (Configuration):

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part2+(Configuration)&

File To IDOC - Part3 (Steps required in XI and R3):

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part3(StepsrequiredinXIandR3)&

Scenario FILE-IDOC

Configurations required in R/3:

Maintain Logical System (SALE) for PI

Maintain Port (WE21)

Maintain partner profile. (WE20): For XI

COnfiguration required at Xi side:

Create the Port using IDX1

Load the metadata using IDX2 transaction

Create RFC destination which points to R3.

Hope now u understood the configuration properly.

Thnx

Chirag

Please close the thread once u got the answer and reward accordingly.

nisarkhan_n
Active Contributor
0 Kudos

Check this: to send IDOC

File To IDOC - Part1 (SLD and Design):

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC&

File To IDOC - Part2 (Configuration):

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part2+(Configuration)&

File To IDOC - Part3 (Steps required in XI and R3):

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part3(StepsrequiredinXIandR3)&

To receiver IDOC

This is will help you more

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e07dcaa0-a92b-2a10-3a96-b3d942bd...

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...

Former Member
0 Kudos

Hi Chirag,

This is the Reply u said

*Scenario FILE-IDOC

Configurations required in R/3:

Maintain Logical System (SALE) for PI

Maintain Port (WE21)

Maintain partner profile. (WE20): For XI

COnfiguration required at Xi side:

Create the Port using IDX1

Load the metadata using IDX2 transaction

Create RFC destination which points to R3.*

My Question is ::

While creating the Port in R/3 (_Maintain Port (WE21)_), it is asking the RFC Destination Name .

What will be the RFC Destination name here

Regards

Bopanna

aashish_sinha
Active Contributor
0 Kudos

Hi,

>>> Q1) Coming to File-IDOC Scenario do we need to do the Same Settings ????

No , There is no need to do the same setting.

>>>Q2) In this File-IDCO Scenario do we need to create RFC Destination in R/3 towards XI ????

Again the ans is Yes. For posting the data to SAP using the IDOC Adapter you need to create the RFC destination and then you need to give that information at receiver agreement for the receiver adapter.

Hope this will clarify you.

Regards

Aashish Sinha

PS : reward points if helpful

Former Member
0 Kudos

Heloo Chirag & Aashish,

My Doubt is Simple, ther is no complex in this Please try to understant my Doubt.

First clear me this doubt.

in IDOC-File Scenario

In R/3:

we need to create RFC Destination in R/3 towards XI to determine the Receiver.

In XI:

We need to create the RFC Destination in XI towards R/3.

My doubt is what is the purpose of RFC Destination Creation which in created in XI side towards R/3

Regards

Bopanna

Jitendra_Jeswan
Contributor
0 Kudos

For Outbound flows (from SAP to legacy system)

Settings done on SAP system

-- RFC Destination for XI server

-- TRFC Port

-- Partner profile for XI

Settings in XI server

-- RFC Destination for SAP system

-- HTTP Destination

-- Port

Regards.

Jeet/

Former Member
0 Kudos

Hi Bopanna,

I dont know how u r interpreting the answer which is given to u by me till now.

What maheshwari has mentioned, the same thing I have mentioned in my reply.

Here was my reply:

This is required for IDOC-FILE scenario:

Pre-requisites for Outbound IDoc from R/3 to PI:

Configurations required in R/3:

Maintain Logical System (SALE) for PI

Define RFC Destination (SM59) which points to PI system

Maintain Port (WE21)

Maintain partner profile. (WE20): For XI

Maintain Distribution Model (BD64):

Configuration required at Xi side:

Load the metadata IDX2 transaction

Do let me know if still u r confused.

Thnx

Chirag

Former Member
0 Kudos

Hi BOPANNA,

I think u r confused.

For IDOC to File Scenarion u need,

IN R/3

1) Create RFC Destination towards XI

2) Create Port

3) Create Partner Profile

In XI

1) Load Meta data

U dont need RFC & Port in XI.

Thanks,

Maheshwari.

Edited by: Maheshwari Morbale on Jan 18, 2008 8:45 AM

Former Member
0 Kudos

Hi Maheswari,

*In XI

1) Load Meta data

U dont need RFC & Port in XI.*

Is this is Correct ???????

Regards

Bopanna

Former Member
0 Kudos

Hi Bopanna,

You need to create RFC destination from XI to R/3 system in sm59

In IDX1 you need to create port and assign above RFC destination

In IDX2 import metadata of particular idoc through above port.

Regards,

Prakash

Former Member
0 Kudos

Hi BOPANNA B ,

The following websites guide u thru step-by-step solution along with screen shots on settings in ALE in FILE 2 IDOC scenario & IDOC 2 FILE scenario:

FILE 2 IDOC scenario

How to convert an IDoc-XML structure to a flat file and vice-versa in XI 3.0

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1...

IDoc Packaging and Mapping Techniques

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

check this blog

How ToConfigure IDoc Adapters

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d19fe210-0d01-0010-4094-a6f...

Troubleshooting File-to-IDOC Scenario in XI.

/people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi

IDOC 2 FILE scenario

A Step-by-Step Guide on IDoc-to-File Using Business Service in the XI Integration Directory

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e07dcaa0-a92b-2a10-3a96-b3d942bd...

How to convert an IDoc-XML structure to a flat file and vice-versa in XI 3.0

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1...

Introduction to IDoc-XI-File scenario and complete walk through for starters.

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

IDOCs (Multiple Types) Collection in BPM

/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm

cheers!

gyanaraj

****Pls reward points if u find this helpful

Former Member
0 Kudos

Hi,

In XI

1) Create RFC Destination towards R/3 this is required when u send IDOC from XI to R3...not required in reverse case.

2) Create Port

3) Load Meta data

The points which u have mentioned are correct.

Pre-requisites for Outbound IDoc from R/3 to PI:

Configurations required in R/3:

Maintain Logical System (SALE) for PI

Define RFC Destination (SM59) which points to PI system

Maintain Port (WE21)

Maintain partner profile. (WE20): For XI

Maintain Distribution Model (BD64):

Follow the steps which is mentioned in Doc.

File To IDOC - Part1 (SLD and Design):

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC&

File To IDOC - Part2 (Configuration):

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part2+(Configuration)&

File To IDOC - Part3 (Steps required in XI and R3):

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part3(StepsrequiredinXIandR3)&

Q2) In this File-IDCO Scenario do we need to create RFC Destination in R/3 towards XI ????

Yes its required.

Thnx

Chirag

Edited by: chirag Gohil on Jan 17, 2008 10:35 AM

Former Member
0 Kudos

Hi Chirag,

this is like a general Question:

In case of IDOC-File

Q1) Why do we create RFC Destination in XI towards R/3 ???? what is the Neccesity to create ???

Usually we have to create the RFC Destination From Sender to Identify the receiver......

Here my doubt is do we need to create RFC Destination at Receiver end also ????

Regards

Bopanna

former_member335553
Active Contributor
0 Kudos

For a File to IDoc scenario, file will be sent from XI to R/3 so in XI you need to create the RFC destination for R/3 so that XI can comunicate with R/3,

and for R/3 u don't need to create the destination since there is no matter for R/3 communicating back to XI .

Former Member
0 Kudos

Hi Anusha,

File-Idoc

*and for R/3 u don't need to create the destination since there is no matter for R/3 communicating back to XI *

then if this is the case means

IDOC-File Scenario

No need to create the RFC Destination in XI towards R/3. Here also Xi is not communicating back with R/3.

Regards

Bopanna

Former Member
0 Kudos

Hi,

Your understanding is right.

For IDOC-File.

R3 system should know to which system the IDOC should be sent and hence u create the RFC destination pointing to XI in R3.

Similarly FILE-IDOC.

Xi system should understand that to which system the IDOC should be sent hence we create the RFC destination for R3 in XI.

I think I have mentioned all the required configuration in my previous reply I hope u have gone through it thoroughly.

Thnx

Chirag

Former Member
0 Kudos

Hi Chirag,

I Don't want any BLOG's or Doc's on this Doubt.

R3 system should know to which system the IDOC should be sent and hence u create the RFC destination pointing to XI in R3.

I am expecting that one line Explaination why should we create the RFC Destination in XI towards R/3 in case of IDOC -File Scenario.

Regards

Bopanna

Former Member
0 Kudos

Hi Boppana,

You are asking hte same question again and again I think u have not gone through the reply which I have sent u in my thread.

This was the reply thread.

For IDOC-File.

R3 system should know to which system the IDOC should be sent and hence u create the RFC destination pointing to XI in R3.

Similarly FILE-IDOC.

Xi system should understand that to which system the IDOC should be sent hence we create the RFC destination for R3 in XI.

I am expecting that one line Explaination why should we create the RFC Destination in XI towards R/3 in case of IDOC -File Scenario.

U r statement is not correct for IDOC-File scenario u create RFC destination for XI in R3 not in XI. Please read the line thoroughly which I have mentioned.

Please close the thread once u are satisfy with the answers and reward poitns to helpful answers.

Weblog are given to people for better understanding with the screen shots. You should appriciate people givening u answers with the proper details.

Thnx

Chirag

Former Member
0 Kudos

Hi Chirag,

Please Look into Mahewsari's reply.......and let me know the solution

Regards

Bopanna