0% found this document useful (0 votes)
135 views23 pages

Complete ALE Working

This document provides an overview of electronic data interchange (EDI) and application link enabling (ALE) and describes the process of passing data between two separate SAP systems. It details the key components involved, including IDocs, message types, partner profiles, logical systems, and function modules. The steps outlined include creating relevant definitions and configurations in both the source and target systems to enable the exchange of data via IDocs.

Uploaded by

jeetchauhan
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
135 views23 pages

Complete ALE Working

This document provides an overview of electronic data interchange (EDI) and application link enabling (ALE) and describes the process of passing data between two separate SAP systems. It details the key components involved, including IDocs, message types, partner profiles, logical systems, and function modules. The steps outlined include creating relevant definitions and configurations in both the source and target systems to enable the exchange of data via IDocs.

Uploaded by

jeetchauhan
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 23

This DOC help you to Pass Data Between two separate sap System Introduction to EDI and ALE:--EDI

(Electronic Document interchange) EDI is the electronic exchange of business documents between the computer systems of business partners, using a standard format over a communication network. EDI is also called paperless exchange. Advantages: Reduced Data entry errors Reduced processing time Availability of data in electronic form Reduced paperwork Reduced Cost Reduced inventories and better planning Standard means of communications Better business process

EDI has two process

1. Outbound process 2. Inbound process Outbound Process:

1.Application document is created. 2. IDOC is generated 3.Idoc is transferred from SAP to Operating system layer 4.Idoc is converted into EDI standards 5.Edi document is transmitted to the business partner 6.The Edi Subsystem report status to SAP Inbound Process:

1. EDI transmission received 2 .EDI document is converted into an IDOC 3. IDOC is transferred to the SAP layer 4. The application document is created 5. The application document can be viewed. IDOC:

IDOC is a container that can be used to exchange data between any two processes. Each IDOC is assigned a unique number for tracking and future reference. IDOC consists of several segments, and segments contain several fields.

IDOC contains the following three types of records... 1. One Control Record. 2. One or many Data Record 3. One or many Status record.

In IDOCs the following terms are to be known. PORT: Port is used in the outbound process to determine the name of the EDI subsystem program, the directory path where the IDOC file will be created at the operating system level, the IDOC file names and the RFC destinations. RFC Destination: Used to define the characteristics of communication links to a remote system on which a functions needs to be executed.

Partner Profile: Partner profile specified the various components used in an outbound process (Partner number, IDOC type, message type, Port, Process code), the

mode in which it communicates with the subsystem (batch or immediate) and the person to be notified in case of errors. Message Control Used in pricing, account determination, material determination, and output determination. The message control component enables you to encapsulate business rules without having to write ABAP programs.

To process IDOC following Tcodes are needed:--On both sides: Logical System Names :SALE Setup RFC destinations :SM59 Port Destinations :WE21 In Source system: Segment Creation : WE31 Basic IDOC Type Creation: WE30 Message Type Creation : WE81 Assign Message Type To Basic IDOC Type: WE82 Distribution Model : BD64 Writing Report Program : SE38 Partner Profile : WE20 Message control : NACE Check IDOCs : WE02, WE05 In Destination System: If both system are separate then, we have to again do Segment Creation : WE31 Basic IDOC Type Creation: WE30 Message Type Creation : WE81 Assign Message Type To Basic IDOC Type: WE82 , with the same as created in Source System, otherwise if we have two instances in same R/3 system then no need to do above one , do the below one only

Creating FM Assign FM to Logical Message Define I/P method for Inbound FM Create Process Code Generate Partner Profile

SE37 WE57 BD51 WE42 BD64

Idoc processing among two different R/3 server:--NOTE:- To transfer the data between two clients the table structures and their data types should be match.

Common Steps in Both Clients:-1.Creating Logical System name and assigning them to clients:-Goto Tcode SALE:-IMG path IDoc Interface / Application Link Enabling (ALE) -> Basic Settings -> Logical Systems -> Define Logical System

Click on Display / Change Button . Note: - In this example , as logical system is already existing ,so no need to do new entries .Otherwise we have to click New Entries tab and enter Logical client name with naming convention <SID>CLNT<NNN>. In this case it will be JEDCLNT800(sender) and JETCLNT800(receiver)

Click on Save and Back buttons Now you will come back to the IMG path screen. Click on Assign Logical System to client.

Click on new enteries:

Click on save button and Press back a new client will be assigned .

Now new logical system is assigned to both client. 2. Now 2nd step , Create RFC Connection Name:--Tcode SM59

Next screen will look like, we have to give RFC destination , in which we have to enter logical client to which we want to connect , for e.g. in JED server we will give RFC destination as JETCLNT800.

In JET client we will enter RFC destination as JEDCLNT800

To check connection press test connection (Ctrl + F3) To login to other server , click on Remote Logon(Ctrl + F7). Depends upon your settings the destination client will open. If you check the Current user option under Logon/ Security tab, then it will show the screen directly without asking the user name and password details.

Now come to 3rd step,

3. Create RFC PORTS(Tcode WE21) On pressing create , in dialog box you can select either Generate port name or own port name. If you select Generate Port name system will generate automatically. Here I selected Own port name. Click on Continue.

Now common steps for both server are done, now we will concentrate on Sender client ,i.e JEDCLNT800

4.Now create a table in JED say ZJEET_STUDENTS(SE11), with some enteries.

Create a table with same structure in client JET , say ZJST. 5.Now creating IDOC Segments in JED Tcode WE31.

6.After creating segment type we will create BASIC IDOC Type Tcode : WE30

Click on Save and back button , Basic Idoc type is created and segment is assigned to it.

Goto Edit->Set Release

In next dialog box click on , yes

7.Now to create Message Type(WE 81)

New Message type is created:--

8.Assign Message type(ZJSTSEGMSG) to basic Idoc Type(ZJSTIDOC):--Tcode WE82, Click on Display/Change Button , and then click New Entries

9.Creating Model View and Distributing and Generating Partner profile: Go to TCODE BD64 Click on Display/ Change button

Now , generate partner profile for created Model View, i.e. ZJSTMV--

Press F8(Execute)

Now Press Back , and distribute Model View.

In display dialog box ,select partner client system i.e. JETCLNT800 and click continue, the following screen will appear.

10.To check partner profile Go to TCODE WE20 In displayed screen select the partner system in left side tree under Partner Type LS.

Now execute the program, and specify the range of records to transfer to JET

Go to TCODE WE02 to check the generated IDOC control records. Click on Execute

If status record is 30, run standard report RSEOUT00, give generated IDoc Number. At receiver client , i.e. JET:-12. Create a FM to update the table from IDOC Segment. 1. Goto SE37

Click on Save and activate. 12. Assign Fm to logical Message.

Tcode :-- WE57(Message name should be same as in sender client )

Segment creation at JET(Tcode we31)(If 2 different R/3 ,i.e. not on same instance):-

13.

Define Input Method for Inbound Function Module: Go to TCODE BD51 Click on Display / Change button

14.Creating Process Code:

Go to TCODE WE42
Click on Display / Change Button

Double click on Logical Message ---

15.Generating the Partner Profile: Go to TCODE BD64. Select the Model View which you distributed in client JED.

Transferring the IDOC control records from Client JED to JET: In source system, go to TCODE SE38. (In client JED)

Execute the Report program (ZJEET_IDOC)which you created. Check in JED Tcode WE02 , if status is 30. Run Standard Report RSEOUT00, at JED. Check in Destination System: (Here client JET) Go to TCODE WE02, if status is 64 , Run Standard report RBDAPP01 at JET. To know more about ALE Status , http://help.sap.com/saphelp_erp2004/helpdata/en/52/16adef543311d1891c0000e8322f96/content.htm

You might also like