cancel
Showing results for 
Search instead for 
Did you mean: 

ALE settings in sapR3 system logical system

Former Member
0 Kudos

Hi People

IN IDoc to File scenario

How to create Logical system(ALE settings) in SAP R3 system, i know little bit idea about that, we have to 1st create LS name (for R3 sys & PI sys), after that we have to assign that name's how to assign that, PLS can u provide me to with screen shots (if possible) r any links

Regards

shekar

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Create Inbound Function Module – Transaction SE37

In the receiving system, create a function module Z_IDOC_INPUT_ZRZSO_MT using SE37. Below, I have described the logic for the same:

Add Include MBDCONWF. This include contains predefined ALE constants

Loop at EDIDC table

Check if the message type is ZRZORDER. Otherwise raise WRONG_FUNCTION_CALLED exception

Loop at EDIDD table

Append data from the segments to appropriate internal tables

For example: append data from ZRZSEG1 segment to the internal table of type ZCUSTOMERS

Update the DDic tables from internal tables

Depending on the result of the update, fill the IDoc status record (type BDIDOCSTAT) and append it to the corresponding table.

Status 53 => Success

Status 51 => Error

You can download the sample ABAP code for the above function module here.

Assign Function Module to Logical message – Transaction WE57

Create a new entry

Specify name of the Function Module as Z_IDOC_INPUT_ZRZSO_MT

Also, specify Type as F, Basic IDoc type as ZRZORDER, Message type as ZRZSO_MT and Direction as 2 (Inbound)

Save the entry

Define Input method for Inbound Function Module – Transaction BD51

Create a new entry

Provide Function Module name as Z_IDOC_INPUT_ZRZSO_MT

Specify the Input method as 2

Save the entry

Create a Process code – Transaction WE42

Create a new Process Code ZPCRZ

Select Processing with ALE Service

Choose Processing type as Processing by function module

Save the entry

On the next screen, select your function module from the list

Save the changes

On the next screen, select your function module from the list

Save the changes

Define Logical system for the partner - Transaction SALE or BD54

Define a Logical system LOGSYS100 using transaction SALE or BD54 to identify the partner business system

Former Member
0 Kudos

Hi,

IDOC

http://msdn2.microsoft.com/en-us/library/ms942196.aspx

Idoc configuration Required~

in R/3

1) RFC destination pointing to XI

2) WE20 Partner Profile entries

in XI

1) RFC destination pointing to R/3

Go thru this -

Go thru these for Idoc to XI scenarios-

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

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

These will be the Configurations needed in your R3,

1. SM 59 - Create an RFC destination for your XI .

2. We21 -- Create a port for XI

3. We 20 -- Create a partner profile entry for the Outbound IDOCs for XI.

Configuration on XI

1. IDX2 - Import IDOC metadata.

For eg : Lets assume the R/3 system and Xi system are QZA and X7A.

In XI :

Step 1 : In SALE Tcode :

a)Create Logical systems for R/3 and XI.

EG : (QZACLNT100) and (X7ACLNT100).

b) Assign the logical system of XI to Client.(X7ACLNT100)

Both the above options u can find in SALE transaction under SENDING and RECEIVING SYSTEMS tab

Step 2 : In SM59 create RFC destination in XI pointing to R/3(i.e IP address of R/3) (This RFC Destination name shd be same as the Sender LS name)=> QZACLNT100 is my RFC destination.

Step 3: Create the PORT in XI for the Sender system and assign the RFC destination.

In R/3 :

Step 1:

In SALE Tcode :

a) Create Logical systems for R/3 and XI for

b) Assign the logical system of R/3 to Client.(QZACLNT100)

Step 2 : In SM59 create RFC destination in R/3 pointing to XI(i.e IP address of XI) (This RFC Destination name shd be same as the Receiver LS name)=> X7ACLNT100 is my RFC destination.

Step 3: In SALE Tcode under Modelling and Implementing Bussiness Processes-> maintain Disribution Model and Distribute Views.

a)Click on that ,it shall take to Tcode BD64 ,where u can create a Distribution Model.

b)Once you create that ADD MESSAGE type(You have the button at the top), there it shall ask for Receiver and Sender LS and Message type.

c)In Menu Bar EDIT->Generate Partner Profile.

Click on that and press Execute .

This shall create 2 partner profile X7ACLNT100 and QZACLNT100 ,X7ACLNT100(this is the partner number for QZA system) shall have the outbound parameter as CREMAS, and QZACLNT100 is created with no parameters ,you need not worry .

d) Click EDIT->MODEL VIEW->Distribute.

This shall distribute the model and you can see the distribution mode aslo getting created in XI system.

This configuration shall surely help u out as it worked out for me.

Configurations required for IDocs in R/3

In your XI system, you need to do the following.

1. Create a RFC destination to your R/3 system

2. Create a port in IDX1 of your XI system and use the RFC destination in step1.

3. Try importing a idoc metadata thru idx2 transaction to check whether the configuration is correct.

4. In your SLD configure the technical system and business system. The technical system should hold the logical system name you have in your R/3 system client.

5. Import the business system and you can use it in your configuration scenario.

Please also refer below links for details.

Go thru this-

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

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

Regards,

Phani

Former Member
0 Kudos

Hi Raja,

Check this,

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.

/people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi

Regards

Seshagiri

Former Member
0 Kudos

Hi,

Go through the below weblog:

IDOC configuration

/people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi

Configurations required in R/3:

Maintain Logical System (SALE)

Define RFC Destination (SM59) which points to PI system

Maintain Port (WE21)

Maintain partner profile. (WE20):

Maintain Distribution Model (BD64):

Thnx

Chirag