ale idoc training

Post on 04-Apr-2015

609 Views

Category:

Documents

27 Downloads

Preview:

Click to see full reader

TRANSCRIPT

SAP ALE – IDocs

2

Agenda

1. Introduction to ALE2. Overview of ALE3. Introduction to IDoc4. Process flow for outbound process5. Process flow for inbound process6. Configuring the ALE Infrastructure7. Creating the new IDoc type8. Configuring the system for new IDoc9. Case study10. Questions

3

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

Agenda

4

Introduction to ALE

• Application linking and enabling (ALE) is SAP’s technology to support distributed process across several SAP systems.

• A distributed process is one in which part of a business is carried out in one system and part on another.

• A distributed process may contain SAP and non SAP Systems. It is not necessarily between only SAP systems.

• ALE can be used to exchange the data between, SAP to SAP system SAP to Non-SAP system Non SAP to SAP System

5

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

6

Over view of ALE

R/3 System

R/3 System Non-SAP System

Translator

ALE Interface

ALE Interface

7

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

8

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.

9

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

10

Introduction to IDOC

• Control Record

11

Introduction to IDOC

• Control Record

12

Introduction to IDOC• Data Record In an IDOC the data record contains the application data.

13

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

14

Introduction to IDOC

• Status record

15

Introduction to IDOC

• IDOC as seen in transaction WE02

16

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

17

Process flow for outbound process

Selection screen

Selection Program/Build IDOC data

Master IDOC

Application Repository

Conversion Filtering Version Change

Communication IDOC

RSEOUT00

ARFCDATA

RSARFCEX

Application Layer

ALE Service layer

Communication Layer

Destination system

Function module MASTER_IDOC_ DISTRIBUTE

18

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

19

Process flow for inbound process

Application Repository

Direct input function module or CALL transaction

Posting program

RBDAPP01

Application IDOCs

Conversion Filtering Version Change

ID0C_INBOUND_ASYNCHRONOUS

Communication IDOC from remote system

Application Layer

ALE Service layer

Communication Layer

20

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

21

Configuring the ALE Infrastructure

• The basic settings for the IDOC interface must be maintained once on each system involved in distributed process

• Basic settings for IDOCs

1. Maintaining logical system

2. Allocating logical system to the client

3. Setting up an RFC destination

4. The port definition

5. Maintain the distribution model

6. Create a partner profile

22

Configuring the ALE Infrastructure

1. Maintaining logical system – Transaction ‘SALE’

23

Configuring the ALE Infrastructure

1. Maintaining logical system

24

Configuring the ALE Infrastructure

2. Allocating logical system to the client – Transaction ‘SALE’

25

Configuring the ALE Infrastructure

2. Allocating logical system to the client – Transaction ‘SALE

26

Configuring the ALE Infrastructure

3. Setting up an RFC destination – Transaction ‘SM59’

Transaction SM51 to Identify the Target Host of remote system

27

Configuring the ALE Infrastructure

4. The Port definition – Transaction ‘WE21’

28

Configuring the ALE Infrastructure

5. Maintaining the distribution model – Transaction ‘BD64’

29

Configuring the ALE Infrastructure

6. Create the partner profile – Transaction ‘WE20’

30

Configuring the ALE InfrastructurePartner profile : outbound parameters

31

Configuring the ALE Infrastructure

Partner profile : Inbound parameters

32

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

33

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.

2. Release segment type and basic IDOC type

3. Allowed data type for the segments.

CHAR Character strings

CLNT Client

CUKY Currency key, referenced by CURR fields

DATS Date field (YYYYMMDD) stored as char(8)

LANG Language key

NUMC Character fields with only digits

TIMS Time field (HHMMSS) stored as char(6)

34

Creating the new IDOC type

1. Create the segments – Transaction ‘WE31’

35

Creating the new IDOC type

2. Create the basic IDOC type Transaction ‘WE30’ step 1

36

Creating the new IDOC type

2. Create the basic IDOC type Transaction ‘WE30’ step 2

37

Creating the new IDOC type

2. Create the basic IDOC type Transaction ‘WE30’ step 3

38

Creating the new IDOC type

2. Create the basic IDOC type Transaction ‘WE30’ step 4

39

Creating the new IDOC type

2. Create the basic IDOC type Transaction ‘WE30’ step 5

40

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

41

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)

42

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)

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

44

Agenda

1. Introduction to ALE2. Over view of ALE3. Introduction to IDOC4. Process flow for outbound process5. Process flow for inbound process6. Configuring the ALE Infrastructure7. Creating the new IDOC type8. Configuring the system for new IDOC9. Case study10. Questions

45

Questions?

46

Thank You

top related