Professional Documents
Culture Documents
BY ARJUN
ALE- Application Link Enabling ALE NETWORK (SAP TO- SAP Communication) It is a network which is used to create a connection between the servers available at different geo-graphical locations is called as ALE NETWORK. The data transfer is always done through a Document called as IDOC IDOC- Intermediate Document. Types of data transfer 1. Outbound data transfer 2. Inbound data transfer When ever we send the data from one SAP server to another, it is called OUTBOUND data transfer. When ever we receive the data in to SAP server from remote server is called INBOUND data transfer.
ALE is a technology or network which is used to communicate from one SAP server to another SAP server. Since both are SAP servers the data transfer is always done through IDOCs
Electronic Data Interchange EDI (SAP To -NON SAP communication) IDOC IDOC is intermediate document which is a container of the data. Technically IDOC is a group of segments Each segment is a group of fields Segment is similar to structures All the standard SAP segments will start with E1. All the custom SAP segments will start with Z1. WE30 is the TCODE for IDOC types WE31 is the TCODE for Segment definition DEBMAS05 is the IDOC type for customer data E1KNA1 fields are KUNNR, LAND1, and NAME1 E1KNBK fields are KUNNR, BUKRS E1KNB1 fields are KUNNR BANKS, BANKT CREMAS05 is the IDOC type for Vendor data MATMAS05 is the IDOC type for material data Runtime components of IDOC When ever we transmit the IDOC from one server to another server automatically some components were added at runtime. The components are, 1. Control 2. Data - Stored in table EDIDC - Stored in table EDIDD
It identifies the type of the application for which IDOC is used That is same IDOC is used for different applications So to identify each application uniquely we use message types Ex MATMAS Message Type Matmas01 Matmas02 Matmas03 CREMAS Message Type Cremas01 Cremas02 Cremas03 DEBMAS Message Type Debmas01 Debmas02 Debmas03 IDOC TYPE IDOC TYPE IDOC TYPE
First we have to create the IDOC with segments then we should create message type Then we have to link message type and IDOC type.
Steps to create SEGMENTS Go to TCODE we31 Give the segment name as Z1KNB1 then click on create
Give the description and field names and data elements as below
Once you release the segments only, it can be used in the IDOC Similarly create the more segments Z1KNA1, Z1KNBK.
Steps to create IDOCS Go to TCODE WE30 Give the IDOC name as ZDEBMAS05 and click on create
Then put the cursor on IDOC name and click on create as below
Then put the cursor on Z1KNA1 then click no Create button as below
Sending material master from source system to (800) to receiver (810) Sender System Step 1: Define Logical system (SALE) Step 2: Assign client to Logical System Step 3: Maintain RFC destinations (SM59) Step 4: Maintain PORT (WE21) Step 5: Maintain outbound partner profile (WE20) Step 6: Maintain Distribution model (BD64) Step 7: Run the Outbound Program Receiver System Step 1: Define Logical system (SALE) Step 2: Assign client to Logical System Step 3: Optional Step 4: Optional Step 5: Maintain inbound partner profile (WE20) Step 6: Not Required Step 7: Not Required
Go to SALE transaction
It gives the below screen click on new entries button as below Enter logical system names as ZZ800 and ZZ810
Double click on 800 client And give the logical system name as zz800
Press enter, click on save then back Then double click on 810 client and give the RX Logical System name as ZZ810
PROVIDE LANGUAGE,CLIENT,USERNAME,PASSWORD
Select the own port name Radio Button Give the name as ZPORT1
Then maintain the distribution outbound partner profile in we20 Goto WE20 Select the folder partner type LS folder then click on create
Here specify massage type as MATMAS Receiver port as ZPORT1 Select Transfer IDOC Immediately Basic type as MATMAS05
Then click on save. Then go to receiver 810 client -- Maintain the Inbound Partner Profile Login in to 810 client Go to WE20
Click on save immediately Then create the inbound parameters by clicking on + symbol. Here specify massage type as MATMAS Process code as MATM
Then maintain the distribution model in BD64 as below Go to BD64 Click on change Button or CTRL+F1 Then click on create model view button
Here select the ydmv1 MODEL VIEW as above and click on add message type button as below Add sendor name , receiver name and message type
Then run the outbound program Go to BD10 Tcode Specify material no , message type , logical system and select checkbox as below
Checking the status Go to WE02 Click on execute of F8 Then the IDOC information is displayed below
Expand DATA RECORDS,STATUS RECORDS FOLDER TO check data Checking the Status of receiver system Go to WE02 Click on execute of F8 Then the IDOC information is displayed below (Double click it)
Then click on Application log button The errors will be clearly defined as below Here the error is plant does not exist.
UNIT Test Case 1 for correct data : Lets create a new material and send it. Go to MM01
Press enter select the BASIC DATA 1 check box press enter
A material will be created Then go to SENDOR SYSTEM (800) Execute the BD10 TCODE Give the material number as 1417
Filtering