TRAINING ON :
CRM Middleware
Agenda
CRM Middleware Architecture Data Replication Mechanism Internal Data Flow within CRM Server Monitoring and Error Handling
Agenda
CRM Middleware Architecture Data Replication Mechanism Internal Data Flow within CRM Server Monitoring and Error Handling
BW
CRM Server
Mobile Clients
Telephone Callers
R/3 System
SAP AG 2003, mySAP CRM Overview Presentation: CRM Middleware / 4
Subject to change without notice
Middleware:
software that connects separate applications
CRM Middleware:
A SAP product open to other ERP solutions An integral part of the mySAP CRM Solutions CRM specific Does not handle the entire data exchange with other systems Does not provide business logic
Mobile Clients
BDoc Messages
BW
CRM Middleware
CRM Server
Communication Station
R/3 System
SAP AG 2003, mySAP CRM Overview Presentation: CRM Middleware / 6
Subject to change without notice
Requires
No extra software No extra installation No extra server
CRM Database
Agenda
CRM Middleware Architecture Data Replication Mechanism Internal Data Flow within CRM Server Monitoring and Error Handling
Data Replication
Replication types
Publish & Subscribe
Data Replication
Other SAP / Non-SAP System
Mobile Clients
BDoc Messages
CRM Server
CRM Middleware BDoc Messages
BW
Communication Station
R/3 System
SAP AG 2003, mySAP CRM Overview Presentation: CRM Middleware / 10
Subject to change without notice
Mobile Clients
Middleware Broker
BDoc Smith
BDocs - Definition
A Container of business data that contains all the required information for a business process
The smallest unit of data for supporting a single complete business transaction A logical unit of data involved in Business flow
ADRC
BDoc instance
KNVV
BDoc message
Customer BDoc Smith: NAME1 = Smith NAME2 = John KUNNR = 2045 ....
(all fields)
also: insert or delete Customer BDoc Smith: TASK = update Fields: CITY1 = New York, STREET = 1 Broadway (contains only modified fields)
SAP AG 2003, mySAP CRM Overview Presentation: CRM Middleware / 14
Subject to change without notice
Business Document
BDoc
Intermediate Document
Control Data
tRFC or qRFC Usage in CRM for data exchange Possibly complex data structures both in transport and processing Runtime objects, e.g. services generated from BDoc repository information
Status
Internally created
Uses delta field communication
BDoc Classes
Two types of data transfer:
R/3 System
SAP BW
Messaging
Non-SAP System
Synchronization
Mobile Clients
Messaging BDocs
mBDoc
Used for message exchange with CRM Server applications, R/3 and external systems, Motivation: growing importance of online scenarios, new distribution scenarios, mass data capabilities
Synchronization BDocs
Data realignment *
Redistribution of data
Non-SAP System
R/3 System
A B
BDoc
?
?
Different Types:
Bulk replication
? ?
Intelligent replication
Intelligent Replication
Definition of the replication rules
#1 .. #2 .. #3 .. #4 .. #5 .. #6 .. #7 .. #8 .. #9 ..
A
#1 .. #2 .. #3 .. #4 .. #5 .. #6 .. #7 .. #8 .. #9 ..
B
#1 .. #2 .. #3 .. #4 .. #9 ..
C
#8 .. #9 ..
D
#1 .. #3 .. #4 .. #7 .. #8 .. #9 ..
1 : 1 Relation
BDoc
Replication Object
Assignment of replication method to BDoc type Assignment of possible criteria fields Inclusion of replication objects into one or more publications Assignment of actual criteria fields Assignment of site IDs to publications Assignment of criteria values
Publication Publication
Subscription SiteID
Subject to change without notice
Subscription SiteID
Subscription SiteID
Publisher-Subscriber Concept
Publications
Material Master Business Partner
Subscriptions
Subscription = Assigning receivers to publications & specifying values for criteria fields
SAP AG 2003, mySAP CRM Overview Presentation: CRM Middleware / 23
Subject to change without notice
Mobile Client
Result:
R/3 System
BW
Non-SAP System
Data Exchange
Adapters - Overview
Purpose: data exchange between major systems
Adapters
Ext. Interfaces (XML / IDocs) Mobile Client Adapter Mobile Client
SAP AG 2003, mySAP CRM Overview Presentation: CRM Middleware / 26
Subject to change without notice
R/3 System
The Middleware allows easy integration of other adapters Adapters receive data via the replication mechanism
R/3 Adapter
Adapters
Other systems
XIF Adapter Messaging Flow mBDoc Mapping mBDoc Structure Complex Data Type
CRM Server
RosettaNet, xCBL,
SAP AG 2003, mySAP CRM Overview Presentation: CRM Middleware / 29
Subject to change without notice
Agenda
CRM Middleware Architecture Data Replication Mechanism Internal Data Flow within CRM Server Monitoring and Error Handling
mBDoc
Outbound Adapter(s)
Mobile Bridge
sBDoc
sBDoc
mBDoc
Mobile Bridge
CDB CDB Service Middleware Broker
Subject to change without notice
Outbound Adapter(s)
Synchronization Flow
sBDoc Mapping Service
Messaging Flow
Validation
mBDoc CRM DB (CRM applications) R/3 or any other system Mobile Bridge sBDoc CDB
Synchronization Flow
SAP AG 2003, mySAP CRM Overview Presentation: CRM Middleware / 33
Subject to change without notice
Inbound Queue
Inbound Adapter
CRM DB
Outbound Adapter
Inbound Queue sBDoc Inbound Adapter Mapping Service / Mobile Bridge Synch Flow CDB Service Replication and Realignment Service Outbound Adapter Outbound Queue
SAP AG 2003, mySAP CRM Overview Presentation: CRM Middleware / 35
Subject to change without notice
mBDoc
Messaging Flow
CDB
Common Services
CRM Service (Validation) Mapping Service Replication Service (message flow)
Mobile Bridge
CDB Service Replication and Realignment Service (synch flow) Outbound Adapter (general)
SAP AG 2003, mySAP CRM Overview Presentation: CRM Middleware / 36
Subject to change without notice
Messaging Flow
Infrastructure for passing data to the CRM Server Application and for
Agenda
CRM Middleware Architecture Data Replication Mechanism Internal Data Flow within CRM Server Monitoring and Error Handling
mBDoc
Outbound Adapter(s)
Mobile Bridge
sBDoc
Monitoring - Middleware
sBDoc
mBDoc
Mobile Bridge
CDB CDB Service Middleware Broker
Subject to change without notice
Outbound Adapter(s)
TRAINING:
CRM Middleware