ALE Agni
ALE Agni
ALE Agni
ALE: Overview
2
Overview of SAP Terminology
Client-Independent Data
(ABAP, DDIC, client-
Database
independent tables, etc.)
Database Server
Client XXX
• client-dependent
configuration
• master data
• transaction data
Application Server Application Server Application Server
Client YYY
4
Why Distributed Applications?
MM-
GL
PUR
PS
PP
CO
SD-
MM- SHP
INV
SD-
ORD
MM-
INV
One central system is not always optimal for unifying
business processes with integrated applications
5
Why Use ALE?
System Performance
High Availability Requirements
SAP Release Co-ordination
Very Large Database
Business Structure
Interfaces with legacy systems Headquarter
Sales
System
Production
6 System
Why not distributed databases?
7
Messaging with ALE
BLAORD,
HEAD QUARTERS
BLAOCH Financials
Central purchasing
BLAREL Purchasing info.
EKSEKS system
FIDCMT
FIROLL
8
What Can Be Distributed with ALE?
Transaction Data
R/3 and R/3
R/2 and R/3
Master Data
SAP and non-SAP
Control Data systems
9
What Business Scenarios does
ALE Support?
Master Data Distribution Logistics Information
Control Data Distribution Systems
Financial Accounting Sales and Operations
Cost Accounting Planning (SOP)
Sales and Shipping Warehouse Management
Purchasing - Distributed Personnel Cost Planning
Contracts Payroll Accounting
Profitability Analysis
10
Application integration
ALE ALE
HEAD QUARTERS
Reference System for
Master Data and Control
Tables
Financials
PRODUCTION Central controlling SALES
Local SOP Central SOP Sales, shipping and
PP Information Systems: billing
Local purchasing, invoice Inventory Purchasing of
verification Purchasing trading goods
Inventory Management Sales Inventory
Internal sales, shipping Central Purchasing Management
and billing Local controlling
PM ALE
11
Technical integration
Change documents
Change pointers are written for ALE-relevant field changes
notified by the change document tool
ALE modules use the pointers to fill IDOCs with application
tables' contents
No difference between EDI & ALE processing from
application point of view
Applications using the EDI option in message control can also
transmit via ALE.
IDOCs passed to ALE can be transmitted directly or via an
EDI-subsystem (assuming EDI message exists)
12
Integration Is The Key
Application A
Application A
Application B
Application A
Application B Application D
Application C Application B
Application C Application D Application C
Application D
13
Distribution Scenario
Example: Separate Financial & Logistics Systems
Accounts payable
+ rollup accounts
MM, PP
Accounts
receivable +
rollup accounts
FI, CO
SD
Central Accounts system, local Logistics
14
Distribution Scenario
Example: Sales & Distribution
1. Order
4. Order Acknowledgement
8. Invoice
Sales
nt Office
r e
rde m
O dge
rn al le
Customer
nt e n ow
I ck
2. r A ce
de v i
s. ship
. Or h Ad
3 atc ic e
p o
. Dis l Inv
6
e rna
. Int
7
Headquarters
15
Distribution Scenario
Example: Blanket Purchasing
1. Blanket Order
Supplier
r
r de
Headquarters 2. Co seO
4.
py
elea nt
o fB . R e
R ele 3 ipm
lan h
as ke S
e tO 5.
St rd
at er
i st
i cs
Plant
16
Distribution Scenario
Example: MRP
Production Production
Plan Plan
Division
Division
Production Plan
Plant
Plant Reporting Plant
Plant
17
ALE-Tools make distribution easier
18
ALE Components
R/3
R/3 System
System 11
Master
Master
IDOC
Master Determine
Determine Filter/Convert
Filter/Convert Comm.
IDOC
Application
Application Receipients
Receipients Data,
Data,Create
Create IDOC
IDOC IDOC
IDOC
Carrier
Carrier
R/3
R/3 System
System 22
Application Application
Data
Application Filter/Convert
Filter/Convert Comm.
Functions
Functions
Data
Data IDOC
19
Messaging needs
20
IDOC Overview
Intermediate Document
Control Record
Data Records
Status Records
21
Structure of an IDOC
Control record
HEADER
HEADER ACCUM
ACCUM
Sender
Sender Receiver
Receiver MsgType
MsgType IDOC-type
IDOC-typeStatus
Status
M
M 11 M
M 11
HEADER
HEADER xxxxxxxx
xxxxxxxx
ITEM
ITEM xxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxx
SUBITEM xxxx Data
SUBITEM xxxx
SUBITEM xxxx records
SUBITEM xxxx ITEM
ITEM
TEXT
TEXT xxxxxxx
xxxxxxx
ITEM
ITEM xxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxx M 9999
M 9999
SUBITEM
SUBITEM xxxx
xxxx
SUBITEM
SUBITEM xxxx
xxxx
ACCUM
ACCUM xxxxxxxx
xxxxxxxx
SUBITEM
SUBITEM TEXT
TEXT
Status records
"Ready
"Ready for
forprocessing"
processing" 16:22:34
16:22:34 M
M 99
99 O
O 9999
9999
"Successfully
"Successfullyprocessed"
processed" 16:22:42
16:22:42
22
Extensions to IDOCs
23
Features
24
Output processing: direct
Need to Customer
create IDOC? Distribution Model
Asynch. RFC
Create master or
M Receiver determination
IDOC EDI
Segment filter
25
Types of receivers
26
Output processing: message control
27
Input processing
Input
control A
A Serialization Process IDOC
Simultaneously update
IDOC's status
Post application
Database document
28
Mass processing
29
Database monitoring
30
Cross-system application links
4711 9876
"DC" "HQ"
IDOC "DC"
C
4711 4711
31
Technical links
32
Serialization
2 2
1 !?
!?
33
Error processing Workflow
Outbound !?
!?
M C
asynch. RFC
or
EDI
Error-processing
Workflow
Inbound !?
!?
A C
34
Error processing
35
Limitations
36
Modelling/Controlling
ALE
Requirements
38
Solution
39
Distribution Reference Model
Filter Material
Material Division
Division BusArea
BusArea Plant
Plant
object type
Message type
INVCON
INVCON
40
Customer model with filter objects
Paris London
Inventory
Inventory Inventory
Inventory
control
control control
control
01
Division 1000
Division
BusArea
BusArea
Inventory
Inventory Inventory
Inventory Inventory
Inventory
management
management management
management management
management
41
PC-Tool 'Distributed Architect'
42
Distributed Architect model
43
Master data replication
44
Customizing master data IDOCs
45
Master data distribution with 3.0
Material
Customer
Vendor
Cost center
Cost element
Activity type
Tarif
General Ledger account
46
Integration with change documents
47
Example scenarios (1)
Reference A,B,C,D
48
Example scenarios (2)
M1 M1
M1 M2
BU = Business Unit
Reference M1, M2, M3 are
A,B,C,D
customized
messages
M3 M3 M3
49
Original & copy systems
Original
Original Maintenance A,B C, D
maint.
maint.
distribute fetch
Copy
Copy Reference A,B,C,D
admin.
admin.
distribute fetch
Copy
Copy Client A,B,D B,C A,D
admin.
admin. systems
50
Reference model
Msg.Type(View)
Msg.Type(View) Plant
Plant SalOrg
SalOrg DistCh
DistCh Listing
Listing
Company
Company Sector
Sector MatGrp
MatGrp etc.
etc.
Material
Materialmaster
master
Material
Materialmaster
master Material
Material master
master
Copy
Copy Admin.
Admin.
Original
Original Copy
CopyAdmin.
Admin.
MATMAS MATMAS
MATMAS MATMAS
MATFET MATFET
MATFET MATFET
51
Simple customer model
Paris Example:
Material engineering and accounting
Materialmaster
master views maintained centrally
Original
Original for both companies
MATMAS
0001 0002
Company
Company Company
Company
Site 1 only gets data for Site 2 only gets data for
company 0001 company 0002
Lyon Rome
Material
Materialmaster
master Material
Materialmaster
master
Copy
Copyadmin.
admin. Copy
Copyadmin.
admin.
52
Listings
53
Maximum and Core IDOCs
54
Limitations
Reference A,B,C
A A,B
B A,C
B,C C
Original: A 1 B 2 C 3
Copy: B,C A,C A,B
55
SMD Tool - Change pointers
Write pointers
56
SMD Tool - IDOC customizing
Request screen
Request screen At creation a new message
type is linked with the
New Mesg.Type ________
Ref.Mesg.Type ________ IDOC type.
Stucture description
MATMAS01
E1MARAM general Data
Structure description
E1MAKTM short text Segments of the IDOC can
Fieldfaktors
E1MARMM Conversion list E1MARAM be deactivated.
_ MATNR Material n
E1MARCM Plant data
_ MTART Material t
_ MBRSH Industry S
_ MATKL Material g Fieldlist
_ WRKST Basic mat Fields of a segment can be
...
deactivated.
Mandatory-Segments/Fields cannot be removed
Link to change documents is automatically updated
57
Distributing Control Data: Overview
58
Distributing control data
Carrier
Control data
import Workflow 'input'
Standard view transactions
Comm.-
Control Compare & IDoc
data Workitem
import data
59
Basis side of ALE
60