Ale Idoc Training
Ale Idoc Training
Ale Idoc Training
Agenda
1. Introduction to ALE
2. Overview of ALE
3. Introduction to IDoc
4. Process flow for outbound process
5. Process flow for inbound process
6. Configuring the ALE Infrastructure
7. Creating the new IDoc type
8. Configuring the system for new IDoc
9. Case study
10. Questions
2
Agenda
1. Introduction to ALE
2. Over view of ALE
3. Introduction to IDOC
4. Process flow for outbound process
5. Process flow for inbound process
6. Configuring the ALE Infrastructure
7. Creating the new IDOC type
8. Configuring the system for new IDOC
9. Case study
3
Introduction to ALE
• A distributed process may contain SAP and non SAP Systems. It is not
necessarily between only SAP systems.
4
Agenda
1. Introduction to ALE
2. Over view of ALE
3. Introduction to IDOC
4. Process flow for outbound process
5. Process flow for inbound process
6. Configuring the ALE Infrastructure
7. Creating the new IDOC type
8. Configuring the system for new IDOC
9. Case study
5
Over view of ALE
ALE Translator
Interface
6
Agenda
1. Introduction to ALE
2. Over view of ALE
3. Introduction to IDOC
4. Process flow for outbound process
5. Process flow for inbound process
6. Configuring the ALE Infrastructure
7. Creating the new IDOC type
8. Configuring the system for new IDOC
9. Case study
7
Introduction to IDOC
• The term IDOC stands for Intermediate document. It is simply a data
container used to exchange information between any two process. That
can understand the syntax and semantics of the data.
• IDOC’s are made using the segments
• IDOC’s are stored in the data base
• Every IDOC has unique number
• An IDOC is attached to a message type and identified by its message type
• IDOC consists of three types of records
One control record
One or many data records
One or many status records.
8
Introduction to IDOC
• Control Record:
A control record contains all of the control information about an IDOC,
IDOC number
Sender and receiver information
Message type it represents
Its direction
9
Introduction to IDOC
• Control Record
10
Introduction to IDOC
• Control Record
11
Introduction to IDOC
• Data Record
In an IDOC the data record contains the application data.
12
Introduction to IDOC
• Status Record
Status records are attached to an IDOC throughout the process as the
IDOC achieves different milestones or encounter an error. At every
milestone a status code, date and time are assigned.
The system defines numerous status code,
0 – 49 are reserved for outbound process
50 and above are reserved for inbound process
13
Introduction to IDOC
• Status record
14
Introduction to IDOC
• IDOC as seen in transaction WE02
15
Agenda
1. Introduction to ALE
2. Over view of ALE
3. Introduction to IDOC
4. Process flow for outbound process
5. Process flow for inbound process
6. Configuring the ALE Infrastructure
7. Creating the new IDOC type
8. Configuring the system for new IDOC
9. Case study
16
Process flow for outbound process
Application Selection
screen
Selection
Program/Build Application
Layer IDOC data Repository
Function module
Master MASTER_IDOC_
IDOC DISTRIBUTE
Communication
IDOC
RSEOUT00
Communication
Layer ARFCDATA
RSARFCEX Destination
system
17
Agenda
1. Introduction to ALE
2. Over view of ALE
3. Introduction to IDOC
4. Process flow for outbound process
5. Process flow for inbound process
6. Configuring the ALE Infrastructure
7. Creating the new IDOC type
8. Configuring the system for new IDOC
9. Case study
18
Process flow for inbound process
Application
Repository
Application
Layer Direct input function
module or CALL
transaction
Posting program
RBDAPP01
ID0C_INBOUND_ASYNCHRONOUS
Communicatio Communication
n Layer IDOC from
remote system
19
Agenda
1. Introduction to ALE
2. Over view of ALE
3. Introduction to IDOC
4. Process flow for outbound process
5. Process flow for inbound process
6. Configuring the ALE Infrastructure
7. Creating the new IDOC type
8. Configuring the system for new IDOC
9. Case study
20
Configuring the ALE Infrastructure
• The basic settings for the IDOC interface must be maintained once on
each system involved in distributed process
21
Configuring the ALE Infrastructure
1. Maintaining logical system – Transaction ‘SALE’
22
Configuring the ALE Infrastructure
1. Maintaining logical system
23
Configuring the ALE Infrastructure
2. Allocating logical system to the client – Transaction ‘SALE’
24
Configuring the ALE Infrastructure
2. Allocating logical system to the client – Transaction ‘SALE
25
Configuring the ALE Infrastructure
3. Setting up an RFC destination – Transaction ‘SM59’
Transaction
SM51 to
Identify the
Target Host
of remote
system
26
Configuring the ALE Infrastructure
4. The Port definition – Transaction ‘WE21’
27
Configuring the ALE Infrastructure
5. Maintaining the distribution model – Transaction ‘BD64’
28
Configuring the ALE Infrastructure
6. Create the partner profile – Transaction ‘WE20’
29
Configuring the ALE Infrastructure
Partner profile : outbound parameters
30
Configuring the ALE Infrastructure
Partner profile : Inbound parameters
31
Agenda
1. Introduction to ALE
2. Over view of ALE
3. Introduction to IDOC
4. Process flow for outbound process
5. Process flow for inbound process
6. Configuring the ALE Infrastructure
7. Creating the new IDOC type
8. Configuring the system for new IDOC
9. Case study
32
Creating the new IDOC type
1. IDOC is created using one or more segments. Each segment will have one
or more fields. Group functionally related fields into segments. Then use
segments to create the IDOC.
33
Creating the new IDOC type
1. Create the segments – Transaction ‘WE31’
34
Creating the new IDOC type
2. Create the basic IDOC type Transaction ‘WE30’ step 1
35
Creating the new IDOC type
2. Create the basic IDOC type Transaction ‘WE30’ step 2
36
Creating the new IDOC type
2. Create the basic IDOC type Transaction ‘WE30’ step 3
37
Creating the new IDOC type
2. Create the basic IDOC type Transaction ‘WE30’ step 4
38
Creating the new IDOC type
2. Create the basic IDOC type Transaction ‘WE30’ step 5
39
Agenda
1. Introduction to ALE
2. Over view of ALE
3. Introduction to IDOC
4. Process flow for outbound process
5. Process flow for inbound process
6. Configuring the ALE Infrastructure
7. Creating the new IDOC type
8. Configuring the system for new IDOC
9. Case study
40
Configuring the system for new IDOC
Configuring the outbound process
Create the new message type (WE81)
Link the IDOC type to the message type (WE82)
Add the message to the ALE distribution model (BD64)
Create the partner profile (WE20)
41
Configuring the system for new IDOC
Configuring the inbound process
Create the new message type (WE81)
Link the IDOC type to the message type (WE82)
Allocate the function module to the logical message (WE57)
Define the attributes for the inbound function module (BD51)
Create new process code (WE42)
Assign the process code to the function module (WE42)
Create the partner profile (WE20)
42
Agenda
1. Introduction to ALE
2. Over view of ALE
3. Introduction to IDOC
4. Process flow for outbound process
5. Process flow for inbound process
6. Configuring the ALE Infrastructure
7. Creating the new IDOC type
8. Configuring the system for new IDOC
9. Case study
43
Agenda
1. Introduction to ALE
2. Over view of ALE
3. Introduction to IDOC
4. Process flow for outbound process
5. Process flow for inbound process
6. Configuring the ALE Infrastructure
7. Creating the new IDOC type
8. Configuring the system for new IDOC
9. Case study
10. Questions
44
Questions?
45
Thank You
46