Ale Idoc Training

  • View
    525

  • Download
    8

Embed Size (px)

Text of Ale Idoc Training

SAP ALE IDocs

Agenda 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. Introduction to ALE Overview of ALE Introduction to IDoc Process flow for outbound process Process flow for inbound process Configuring the ALE Infrastructure Creating the new IDoc type Configuring the system for new IDoc Case study Questions2

Agenda 1. 2. 3. 4. 5. 6. 7. 8. 9. Introduction to ALE Over view of ALE Introduction to IDOC Process flow for outbound process Process flow for inbound process Configuring the ALE Infrastructure Creating the new IDOC type Configuring the system for new IDOC Case study

3

Introduction to ALE Application linking and enabling (ALE) is SAPs 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

4

Agenda 1. 2. 3. 4. 5. 6. 7. 8. 9. Introduction to ALE Over view of ALE Introduction to IDOC Process flow for outbound process Process flow for inbound process Configuring the ALE Infrastructure Creating the new IDOC type Configuring the system for new IDOC Case study

5

Over view of ALER/3 System

ALE Interface

ALE Interface

Translator

R/3 System

Non-SAP System

6

Agenda 1. 2. 3. 4. 5. 6. 7. 8. 9. Introduction to ALE Over view of ALE Introduction to IDOC Process flow for outbound process Process flow for inbound process Configuring the ALE Infrastructure Creating the new IDOC type Configuring the system for new IDOC 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. IDOCs are made using the segments IDOCs 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. 2. 3. 4. 5. 6. 7. 8. 9. Introduction to ALE Over view of ALE Introduction to IDOC Process flow for outbound process Process flow for inbound process Configuring the ALE Infrastructure Creating the new IDOC type Configuring the system for new IDOC Case study

16

Process flow for outbound processApplication LayerSelection screen Selection Program/Build IDOC data Application Repository Function module MASTER_IDOC_ DISTRIBUTE

Master IDOC

ALE Service layer

Conversion

Filtering

Version Change

Communication IDOC RSEOUT00

Communication Layer

ARFCDATA

RSARFCEX

Destination system17

Agenda 1. 2. 3. 4. 5. 6. 7. 8. 9. Introduction to ALE Over view of ALE Introduction to IDOC Process flow for outbound process Process flow for inbound process Configuring the ALE Infrastructure Creating the new IDOC type Configuring the system for new IDOC Case study

18

Process flow for inbound processApplication Repository

Application Layer

Direct input function module or CALL transaction Posting program

RBDAPP01

ALE Service layerConversion

Application IDOCs

Filtering

Version Change

ID0C_INBOUND_ASYNCHRONOUS

Communication Layer

Communication IDOC from remote system 19

Agenda 1. 2. 3. 4. 5. 6. 7. 8. 9. Introduction to ALE Over view of ALE Introduction to IDOC Process flow for outbound process Process flow for inbound process Configuring the ALE Infrastructure Creating the new IDOC type Configuring the system for new IDOC 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 Basic settings for IDOCs 1. 2. 3. 4. 5. 6. Maintaining logical system Allocating logical system to the client Setting up an RFC destination The port definition Maintain the distribution model Create a partner profile

21

Configuring the ALE Infrastructure1. Maintaining logical system Transaction SALE

22

Configuring the ALE Infrastructure1. Maintaining logical system

23

Configuring the ALE Infrastructure2. Allocating logical system to the client Transaction SALE

24

Configuring the ALE Infrastructure2. Allocating logical system to the client Transaction SALE

25

Configuring the ALE Infrastructure3. Setting up an RFC destination Transaction SM59

Transaction SM51 to Identify the Target Host of remote system

26

Configuring the ALE Infrastructure4. The Port definition Transaction WE21

27

Configuring the ALE Infrastructure5. Maintaining the distribution model Transaction BD64

28

Configuring the ALE Infrastructure6. Create the partner profile Transaction WE20

29

Configuring the ALE InfrastructurePartner profile : outbound parameters

30

Configuring the ALE InfrastructurePartner profile : Inbound parameters

31

Agenda 1. 2. 3. 4. 5. 6. 7. 8. 9. Introduction to ALE Over view of ALE Introduction to IDOC Process flow for outbound process Process flow for inbound process Configuring the ALE Infrastructure Creating the new IDOC type Configuring the system for new IDOC Case study

32

Creating the new IDOC type1. 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. Release segment type and basic IDOC type 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)

2. 3.

33

Creating the new IDOC type1. Create the segments Transaction WE31

34

Creating the new IDOC type2. Create the basic IDOC type Transaction WE30 step 1

35

Creating the new IDOC type2. Create the basic IDOC type Transaction WE30 step 2

36

Creating the new IDOC type2. Create the basic IDOC type Transaction WE30 step 3

37

Creating the new IDOC type2. Create the basic IDOC type Transaction WE30 step 4

38

Creating the new IDOC type2. Create the basic IDOC type Transaction WE30 step 5

39

Agenda 1. 2. 3. 4. 5. 6. 7. 8. 9. Introduction to ALE Over view of ALE Introduction to IDOC Process flow for outbound process Process flow for inbound process Configuring the ALE Infrastructure Creating the new IDOC type Configuring the system for new IDOC Case study

40

Configuring the system for new IDOCConfiguring 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 IDOCConfiguring 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. 2. 3. 4. 5. 6. 7. 8. 9. Introduction to ALE Over view of ALE Introduction to IDOC Process flow for outbound process Process flow for inbound process Configuring the ALE Infrastructure Creating the new IDOC type Configuring the system for new IDOC Case study

43

Agenda 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. Introduction to ALE Over view of ALE Introduction to IDOC Process flow for outbound process Process flow for inbound process Configuring the ALE Infrastructure Creating the new IDOC type Configuring the system for new IDOC Case study Questions44

Questions?

45

Thank You

46