Anda di halaman 1dari 41

SATHYA

TRAINING ON :

CRM Middleware

Agenda

CRM Middleware Architecture Data Replication Mechanism Internal Data Flow within CRM Server Monitoring and Error Handling

SAP AG 2003, mySAP CRM Overview Presentation: CRM Middleware / 2


Subject to change without notice

Agenda

CRM Middleware Architecture Data Replication Mechanism Internal Data Flow within CRM Server Monitoring and Error Handling

SAP AG 2003, mySAP CRM Overview Presentation: CRM Middleware / 3


Subject to change without notice

CRM Component: Terminology


Other Systems

mySAP.com Workplace Users

As one big logical box


Internet

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

Introduction to CRM Middleware

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

SAP AG 2003, mySAP CRM Overview Presentation: CRM Middleware / 5


Subject to change without notice

System Landscape: Data Containers Used


Other Systems

Mobile Clients
BDoc Messages

XML Files, Idocs, or ASCII Files

Data Extracts / Excel Workbooks

BW
CRM Middleware

CRM Server
Communication Station

Direct Access via BAPIs

R/3 System
SAP AG 2003, mySAP CRM Overview Presentation: CRM Middleware / 6
Subject to change without notice

Architecture CRM Server


The CRM Middleware
Is an integral part of the CRM Server Is the message hub

CRM Server CRM Middleware


Groupware Adapter
External Interface Adapter

CRM Server Applications


Interaction Center Internet Sales Marketing Planning Campaign Mgmt. ...

Requires
No extra software No extra installation No extra server

CRM Adapter (Validation Service)

R/3 Adapter BW Adapter Mobile Client Adapter

Benefit: Reduced integration costs

SAP Web Application Server

CRM Database

SAP AG 2003, mySAP CRM Overview Presentation: CRM Middleware / 7


Subject to change without notice

Agenda

CRM Middleware Architecture Data Replication Mechanism Internal Data Flow within CRM Server Monitoring and Error Handling

SAP AG 2003, mySAP CRM Overview Presentation: CRM Middleware / 8


Subject to change without notice

Data Replication

BDocs Site type concept

Replication types
Publish & Subscribe

SAP AG 2003, mySAP CRM Overview Presentation: CRM Middleware / 9


Subject to change without notice

Data Replication
Other SAP / Non-SAP System

Mobile Clients

BDoc Messages

XML Files, Idocs, or ASCII Files

CRM Server
CRM Middleware BDoc Messages

BW

Communication Station

Direct Access via BAPIs

R/3 System
SAP AG 2003, mySAP CRM Overview Presentation: CRM Middleware / 10
Subject to change without notice

BDocs !!! What Are They ? Why do I need it ?

SAP AG 2003, mySAP CRM Overview Presentation: CRM Middleware / 11


Subject to change without notice

Business Documents (BDocs) - Motivation


Idea: process/transport business objects as one unit
Mobile Clients Exchange customer: Smith Middleware Broker

KNA1 ADRC KNVV ...

Mobile Clients

Middleware Broker

BDoc Smith

SAP AG 2003, mySAP CRM Overview Presentation: CRM Middleware / 12


Subject to change without notice

BDocs - Definition

A Business Document can be defined as :

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

SAP AG 2003, mySAP CRM Overview Presentation: CRM Middleware / 13


Subject to change without notice

What are BDocs?


Distinction:
BDoc type (structure)
KNA1

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

Comparison: BDoc versus IDoc

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

Asynchronous Usage in ALE and EDI Consisting of


Status

control record data record status record

Internally created
Uses delta field communication

Message-oriented Transfers all fields

SAP AG 2003, mySAP CRM Overview Presentation: CRM Middleware / 15


Subject to change without notice

BDoc Classes
Two types of data transfer:
R/3 System

SAP BW

Messaging
Non-SAP System

Synchronization
Mobile Clients

SAP AG 2003, mySAP CRM Overview Presentation: CRM Middleware / 16


Subject to change without notice

Overview of BDoc Classes

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

sBDoc Used for communication with Mobile Clients

SAP AG 2003, mySAP CRM Overview Presentation: CRM Middleware / 17


Subject to change without notice

Replication and Realignment Distribution of data throughout the system


Controlled by the replication model Publications and subscriptions Administered centrally (AdminConsole)

Data realignment *
Redistribution of data

Non-SAP System

R/3 System

A B

* For Mobile Clients only


SAP AG 2003, mySAP CRM Overview Presentation: CRM Middleware / 18
Subject to change without notice

Different Types of Replication


Replication = Message forwarding to one or more sites

BDoc

?
?

Different Types:
Bulk replication

? ?

Intelligent replication

SAP AG 2003, mySAP CRM Overview Presentation: CRM Middleware / 19


Subject to change without notice

Intelligent Replication
Definition of the replication rules

#1 .. #2 .. #3 .. #4 .. #5 .. #6 .. #7 .. #8 .. #9 ..

BDoc messages of one type

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 ..

Filter on BDoc messages


SAP AG 2003, mySAP CRM Overview Presentation: CRM Middleware / 20
Subject to change without notice

BDocs and Related Replication Objects

1 : 1 Relation

BDoc

Replication Object

SAP AG 2003, mySAP CRM Overview Presentation: CRM Middleware / 21


Subject to change without notice

Replication Modeling - Overview

BDoc Type 1:1 relation 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

SAP AG 2003, mySAP CRM Overview Presentation: CRM Middleware / 22

Publisher-Subscriber Concept

Publication = Grouping of BDocs from an application point of view

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

Site Type Concept


Idea:
Every receiver is represented by an abstract site

Different site types

Replication administration: Site A Site B Site C Site D

Mobile Client
Result:

R/3 System

BW

Data replication to different systems can be administered in a uniform way

Non-SAP System

SAP AG 2003, mySAP CRM Overview Presentation: CRM Middleware / 24


Subject to change without notice

Data Exchange

Adapters overview Data exchange via Adapters

Interfaces to non-SAP systems

SAP AG 2003, mySAP CRM Overview Presentation: CRM Middleware / 25


Subject to change without notice

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

Administration Console Non-SAP System

Adapters

Mobile Client CRM Server Middleware Adapter R/3


BDoc

Other systems

Examples: R/3 Adapter, XIF Adapter, ASCII Adapter, Inbound Adapter


SAP AG 2003, mySAP CRM Overview Presentation: CRM Middleware / 27
Subject to change without notice

The CRM Adapter

CRM Server Applications


CRM Database API

CRM Adapter (Validation Service)

flow inbound processing

flow outbound processing

SAP AG 2003, mySAP CRM Overview Presentation: CRM Middleware / 28


Subject to change without notice

The XIF Adapter

XIF Adapter Messaging Flow mBDoc Mapping mBDoc Structure Complex Data Type

SAP Web Application Server 6.10

CRM Server

XML SOAP / IDoc Conversion SAP Business Connector

XML SOAP / IDoc

EDI Subsystem (3rd party)

RosettaNet, xCBL,
SAP AG 2003, mySAP CRM Overview Presentation: CRM Middleware / 29
Subject to change without notice

XML SOAP IDoc

ANSI X.12, ODETTE, EDIFACT,

Agenda

CRM Middleware Architecture Data Replication Mechanism Internal Data Flow within CRM Server Monitoring and Error Handling

SAP AG 2003, mySAP CRM Overview Presentation: CRM Middleware / 30


Subject to change without notice

Internal Data Flow


Inbound Queue

Inbound Adapter sBDoc


Mapping Service Middleware Broker mBDoc
Subject to change without notice

mBDoc CRM DataBase

CRM Validation Service

mBDoc

Replication Service Outbound Queue

Outbound Adapter(s)

Mobile Bridge

sBDoc

SAP AG 2003, mySAP CRM Overview Presentation: CRM Middleware / 31

Internal Data Flow

sBDoc

mBDoc

Mobile Bridge
CDB CDB Service Middleware Broker
Subject to change without notice

Replication and Realignment Service Outbound Queue

Outbound Adapter(s)

SAP AG 2003, mySAP CRM Overview Presentation: CRM Middleware / 32

Two Types of BDoc Flows

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

Messaging BDoc Message Flow

Inbound Queue

Inbound Adapter

Mapping Service CRM Service (Validation) Messaging Flow Replication Service

CRM DB

Outbound Adapter

Mobile Bridge* Outbound Queue


SAP AG 2003, mySAP CRM Overview Presentation: CRM Middleware / 34
Subject to change without notice

Synchronization BDocs Synchronization Flow

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)

CRM Midleware Services

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 and Flow Contexts

Messaging Flow
Infrastructure for passing data to the CRM Server Application and for

processing data from the CRM Server Application so called notifications.


Inbound mBDocs are passed to the validation service in the CRM Server. In case of a successful validation the data will be stored in the CRM Database and an outbound processing is triggered. Messaging flow dispatches a change notification to subscribed consumers (e.g. R/3 ).

SAP AG 2003, mySAP CRM Overview Presentation: CRM Middleware / 37


Subject to change without notice

Agenda

CRM Middleware Architecture Data Replication Mechanism Internal Data Flow within CRM Server Monitoring and Error Handling

SAP AG 2003, mySAP CRM Overview Presentation: CRM Middleware / 38


Subject to change without notice

Monitoring CRM Middleware


Inbound Queue

Inbound Adapter sBDoc


Mapping Service Middleware Broker mBDoc
Subject to change without notice

mBDoc

CRM Data Base

CRM Validation Service

Replication Service Outbound Queue

Outbound Adapter(s)

Mobile Bridge

sBDoc

SAP AG 2003, mySAP CRM Overview Presentation: CRM Middleware / 39

Monitoring - Middleware

sBDoc

mBDoc

Mobile Bridge
CDB CDB Service Middleware Broker
Subject to change without notice

Replication and Realignment Service Outbound Queue

Outbound Adapter(s)

SAP AG 2003, mySAP CRM Overview Presentation: CRM Middleware / 40

TRAINING:

CRM Middleware

Anda mungkin juga menyukai