ALE Manual 01
ALE Manual 01
Purpose: Page:
ALE Quick Start – Material Master
1/27
Application level:
BASIS/SD
Lecturer: Date of Creation: Author: Date of Modification:
2003/10/31 上午 10:57 Christine Chao 11/21/2003 02:48:00 PM
Contents
Preface
___________________________________________________________________
Unit 0 Introductions
0. Introductions
這份文件的目的, 在描述如何將 application data 透過 ALE 傳送到 R/3 系統中. 以下將用 Material Master 為例,
說明在兩個 client 中建立 message flow 來傳送資料的過程.
2. Defining Logical System Names for Clients: 在 distributed environment 中, 為了避免混淆, 每個參與
的系統都必須要建立唯一的 logical system name 做為辦認的 ID.
R/3 Implementation Guide
Basis Application Link Enabling (ALE) under Sending and Receiving Systems Logical Systems
Technical Documentation
Purpose: Page:
ALE Quick Start – Material Master
5/27
Application level:
BASIS/SD
Lecturer: Date of Creation: Author: Date of Modification:
2003/10/31 上午 10:57 Christine Chao 11/21/2003 02:48:00 PM
2.1 IMG
Basis Components
Distribution (ALE) Sending
and Receiving Systems
Logical System Define
Logical System
2.3.
本例中, 兩個 client 是分屬不同的
R/3 system, 因此必須確定兩邊
系統的設定是一樣的
2.4 IMG
Basis Components
Distribution (ALE) Sending
and Receiving Systems
Logical System Assign
Logical System
Technical Documentation
Purpose: Page:
ALE Quick Start – Material Master
7/27
Application level:
BASIS/SD
Lecturer: Date of Creation: Author: Date of Modification:
2003/10/31 上午 10:57 Christine Chao 11/21/2003 02:48:00 PM
2.5
一個 client 只能指派一個 logical
system.
Technical Documentation
Purpose: Page:
ALE Quick Start – Material Master
8/27
Application level:
BASIS/SD
Lecturer: Date of Creation: Author: Date of Modification:
2003/10/31 上午 10:57 Christine Chao 11/21/2003 02:48:00 PM
3. Defining the Communication Parameters: 為了讓 logical system 間進行 communicate, 必須要
定義彼此 connect 的方式.
3.1 IMG
Basis Component Distribution
(ALE) Sending and Receiving
Systems Systems in Network
Define Target Systems for
RFC Calls
3.3
決定 Target host 時, 也決定了
receiving system application
server 要用哪一種方式進行
communication. 如: UNIX host
name, the host name in DNS
format, IP address, or SAP
router name(可以參考 SAP
logon 中的設定). 儲存設定後, 可
以用 Test connection 及 Remote
logon 來測試.
Technical Documentation
Purpose: Page:
ALE Quick Start – Material Master
10/27
Application level:
BASIS/SD
Lecturer: Date of Creation: Author: Date of Modification:
2003/10/31 上午 10:57 Christine Chao 11/21/2003 02:48:00 PM
4.1 IMG
Basis Component Distribution
(ALE) Modeling and
Implementing Business
Processes Maintain
Distribution Model and Distribute
Views.
Technical Documentation
Purpose: Page:
ALE Quick Start – Material Master
11/27
Application level:
BASIS/SD
Lecturer: Date of Creation: Author: Date of Modification:
2003/10/31 上午 10:57 Christine Chao 11/21/2003 02:48:00 PM
5. Generating Partner Profiles in the Sending System: 藉由建立 partner profile, 告知 sending system ALE 傳送
資料的方式.
5.1 Generate Partner Profiles
7. Distributing the Distribution Model: 將 model view 從 sending system 傳送到 receiving system, 讓 receiving
system 被告知所有的 message flow, 並產生 communication interface.
7.1 Distribute model view
將 sending system 中建立的
model view 傳送到 receiving
system.
7.2 IMG
在 receiving system 中, Basis
Component Distribution
(ALE) Modeling and
Implementing Business
Processes Maintain
Distribution Model and Distribute
Views
Technical Documentation
Purpose: Page:
ALE Quick Start – Material Master
19/27
Application level:
BASIS/SD
Lecturer: Date of Creation: Author: Date of Modification:
2003/10/31 上午 10:57 Christine Chao 11/21/2003 02:48:00 PM
7.5
在這個例子中, 資料的傳輸方式
只開放從 client 777client 620;
而沒有開放資料從 client 620
client 777. 故不同 5.3, 產生
partner profile 時, 系統無法建立
client 620 client 777 的 port.
Technical Documentation
Purpose: Page:
ALE Quick Start – Material Master
21/27
Application level:
BASIS/SD
Lecturer: Date of Creation: Author: Date of Modification:
2003/10/31 上午 10:57 Christine Chao 11/21/2003 02:48:00 PM
7.7
Partner Partner type LS, 點
選 Receiving system, 進入
distributed message type 的內容
中.
Technical Documentation
Purpose: Page:
ALE Quick Start – Material Master
22/27
Application level:
BASIS/SD
Lecturer: Date of Creation: Author: Date of Modification:
2003/10/31 上午 10:57 Christine Chao 11/21/2003 02:48:00 PM
8.2. Send
Enter a message type and
execute program to send
Material.
Technical Documentation
Purpose: Page:
ALE Quick Start – Material Master
24/27
Application level:
BASIS/SD
Lecturer: Date of Creation: Author: Date of Modification:
2003/10/31 上午 10:57 Christine Chao 11/21/2003 02:48:00 PM
Appendix A. SAP Note 624163: 如果照上述步驟操作後, 仍有錯誤, 可參考是否跟 Note 624163 有關.
Symptom
You can display IDoc of message type MATMAS via the object links as a link to the material. However, this
does not work, since the Customizing references to the business object BUS1001, but only the business
object BUS1001006 is published for the object links in the material master.
WE57, BDA4, BD67, MATMAS, TBD14, TBD52, VEDIEDIFCT, EDIFCT, B1252, B1 252, B1 (252)
Solution
Up to Note 452424, the object links for the business object BUS1001 were still published in Release 4.6B
and 4.6C.If your system already contains Note 452424, you can also use Note 553246 with which both
business objects are published in the material master. This way, old IDoc, which have still been assigned
to business, object BUS1001 can also be found via the object links for the material.
For the correction, you must carry out the following Customizing changes:
1. Using Transaction WE57 change the object type to BUS1001006 for the following entries.
For this purpose you must copy the existing entry and afterwards delete the original entry.
a) Function module: IDOC_INPUT_MATMAS01
Function type: F
Basic type: MATMAS01
Enhancement:
Message type: MATMAS
Message code:
Message function:
Object type: BUS1001
b) Function module: IDOC_INPUT_MATMAS01
Function type: F
Technical Documentation
Purpose: Page:
ALE Quick Start – Material Master
27/27
Application level:
BASIS/SD
Lecturer: Date of Creation: Author: Date of Modification:
2003/10/31 上午 10:57 Christine Chao 11/21/2003 02:48:00 PM