sap ecc6.0 ccbpm in xi
DESCRIPTION
Architecture Process Design with the Graphical Process Editor Basics: Overview Step Types, Correlations, Container Step Types in Detail BPEL4WS Import and ExportUnderstand the basic design principles of cross-component BPM Define integration processes Import/export integration processes to/from non-SAP systemsTRANSCRIPT
SAP AG 2004, BPM@BSGs / Volmering / 1
Agenda
Architecture
Process Design with the Graphical Process Editor
Basics: Overview Step Types, Correlations, Container
Step Types in Detail
BPEL4WS Import and Export
SAP AG 2004, BPM@BSGs / Volmering / 2
Objectives
After completing this unit, you will be able to:
Understand the basic design principles of cross-component BPM
Define integration processes
Import/export integration processes to/from non-SAP systems
SAP AG 2004, BPM@BSGs / Volmering / 3
Integration Server
Business Process Engine
ccBPM Architecture - Overview
IntegrationRepository
AbstractInterfaces
IntegrationDirectory
Integration Process(Configuration)
Routing Rules
Integration Builder
Integration Process(Definition)
(References)M
es
sa
ge
Me
ss
ag
e
23
1
4
Process / Message Store
ProcessExecution
CorrelationHandling
Routing MappingChannel
Det.
Adapter Engine
Pro
cess
Ed
ito
r
Integration Engine
SAP AG 2004, BPM@BSGs / Volmering / 4
Directory
ScenarioScenario
Party
RepositorySWCV
Architecture – Definition
Cache/Runtime
ProcessProcess
Flow
If
**
Interf. MappingsInterf. Mappings
AbstractInterfacesAbstractInterfaces
Context objectsContext objects
MessageTypeMessageType
XML-objectsXML-objects
CorrelationsCorrelations
Business ScenarioBusiness Scenario
*
*
Routing RelationRouting Relation
ProcessProcess
Flow
If
**
Integration ProcessIntegration Process
Flow
If
**
Mapping RelationMapping Relation
ProcessProcessProcess
Process
MessageMappingsMessageMappings
IdocIdoc
RFCRFC
SAP AG 2004, BPM@BSGs / Volmering / 5
Agenda
Architecture
Process Design with the Graphical Process Editor
Basics: Overview Step Types, Correlations, Container
Step Types in Detail
BPEL4WS Import and Export
SAP AG 2004, BPM@BSGs / Volmering / 6
Process Design with the Graphical Process Editor
Output Area Object Area
Header
Overview Area
Edit AreaProperties
Area
SAP AG 2004, BPM@BSGs / Volmering / 7
Process Editor Settings
Personal Settings• Default Editor • Horizontal/Vertical Display of Process Definiton• Hide Output Area• Error Level for Processing Log• Automatic refresh for BPEL4WS
Detach, thenmaximize window
SAP AG 2004, BPM@BSGs / Volmering / 8
Agenda
Architecture
Process Design with the Graphical Process Editor
Basics: Step Types, Correlations, Container
Step Types in Detail
BPEL4WS Import and Export
SAP AG 2004, BPM@BSGs / Volmering / 9
ccBPM - Process Step Types
Receiver Determination
Receive
Transformation
Process Flow Control Relevant:
Send
Container Operation
Messaging Relevant:
Control
Loop
Undefined
Fork Switch
Wait
Block
SAP AG 2004, BPM@BSGs / Volmering / 10
Block-oriented Design
Nested blocks Deadline branch
Exception branch
SAP AG 2004, BPM@BSGs / Volmering / 11
Container – Process Data
Container Consists of an unlimited number of container elements
Carries the overall state of the process at runtime – references to messages, loop counters, …
Allows to access data by a name relevant within the process
Container element (Variable declaration) Consists of a name to address data in the process
Can be typed to Simple XSD types: XSD:date, XSD:time, XSD:integer, XSD:string Abstract Interface Receiver
Can be Multiline (a vector of the types above)
SAP AG 2004, BPM@BSGs / Volmering / 12
Process Container and Local Containers
Container elements of inner block SendParallel are not
visible in outer block
In inner block CheckResult
container elements of outer block
SendParallel and Process container
are visible
SAP AG 2004, BPM@BSGs / Volmering / 13
Correlations
Correlation Handling Routing of messages (Business
Documents) to process instances
Dependencies rely on business data (e.g. Message ID, Order ID, Business Partner ID, Company Code)
Correlations define these dependencies
SAP AG 2004, BPM@BSGs / Volmering / 14
Correlation
Enter name of correlation
Define elements to be used to correlate
the messages
Specify messages that satisfy the correlation at
runtime
Specify which element is to fill the corresponding element in the correlation container (use
context objects or XPath)
SAP AG 2004, BPM@BSGs / Volmering / 15
Receive Step – Starting a Process
Several start messages: Receive steps in a Fork
Each Receive activates / uses correlation
One start message: Receive step is 1st step
Message to be received
Indicator Start Process
Mode Asynchronous
Can activate correlations
SAP AG 2004, BPM@BSGs / Volmering / 16
Receive Step – Sync/Async-Bridge
Communication between a synchronous and an asynchronous business system:
SAP AG 2004, BPM@BSGs / Volmering / 17
Send – Send Message (Asynchronous)
Acknowledgement:• None• Transport• Application
Receiver Determination:
• Send context• Receiver List• Response to Message
Exception:Enter Exception to be triggered when a system
error occurs (permanent
error)
Activate Correlation for send step in a ParForEach
block
SAP AG 2004, BPM@BSGs / Volmering / 18
Send – Send Message (Synchronous)
SAP AG 2004, BPM@BSGs / Volmering / 19
Send – Send Acknowledgement
Send positive Acknowledgment – usually used in a
branch that defines normal processing
Send negative Acknowledgment – usually used in an exception handler
(exception branch of a block)
Receiver of the acknowledgment is automatically determined from the header of the
message
SAP AG 2004, BPM@BSGs / Volmering / 20
Send – Sync/Async-Bridge
Closing a Sync/Async-Bridge: send step sends the response from the asynchronous business system to the synchronous business system
SAP AG 2004, BPM@BSGs / Volmering / 21
Agenda
Architecture
Process Design with the Graphical Process Editor
Basics: Overview Step Types, Correlations, Container
Step Types in Detail
BPEL4WS Import and Export
SAP AG 2004, BPM@BSGs / Volmering / 22
Transformation Step
Displays Source and Target Messages defined in the interface mapping.- Specify the container elements that contain the message reference or that the message reference is to be written to
SAP AG 2004, BPM@BSGs / Volmering / 23
Receiver Determination – List of Receivers for Send
Multiline container element for receiver
list, Category Receiver
Receiver Determination step used to get a list of
receivers
Send step uses list of receivers
SAP AG 2004, BPM@BSGs / Volmering / 24
Switch – Defining Processing Branches
Otherwise branch(created automatically)
Executed if no other branch returns TRUE
SAP AG 2004, BPM@BSGs / Volmering / 25
Container Operation – Assigning a Value
SAP AG 2004, BPM@BSGs / Volmering / 26
Container Operation – Appending a Value
Multiline Element
SAP AG 2004, BPM@BSGs / Volmering / 27
Block – Exception Handling
Define exception
Assign exception to exception handler
Throws exception – process continues in
exception branch
SAP AG 2004, BPM@BSGs / Volmering / 28
Block
Basic design element
Blocks can be nested Block hierarchy defines scope/visibility of container elements (local
variables)
Also: local correlations
Modes Default
DynamicParallel For Each (ParForEach) – Dynamic parallelFor Each – Dynamic sequential
Basis for deadline monitoring and exception handling
SAP AG 2004, BPM@BSGs / Volmering / 29
Block – ParForEach (Dynamic Parallel Processing)
SAP AG 2004, BPM@BSGs / Volmering / 30
Block – For Each (Dynamic Sequential Processing)
SAP AG 2004, BPM@BSGs / Volmering / 31
Control – Trigger Exception
SAP AG 2004, BPM@BSGs / Volmering / 32
Control – Trigger Alert
Alert Message will be displayed
in Alert Inbox
SAP AG 2004, BPM@BSGs / Volmering / 33
Control – Cancel Process
SAP AG 2004, BPM@BSGs / Volmering / 34
Fork – Independent Processing Branches
SAP AG 2004, BPM@BSGs / Volmering / 35
Loop – Repeat Execution of Steps
SAP AG 2004, BPM@BSGs / Volmering / 36
Wait – Specifying Start Time for Next Step
SAP AG 2004, BPM@BSGs / Volmering / 37
Agenda
Architecture
Process Design with the Graphical Process Editor
Basics: Step Types, Correlations, Container
Step Types in Detail
BPEL4WS Import and Export
SAP AG 2004, BPM@BSGs / Volmering / 38
Standards Support
Support for open standards BPEL4WS 1.1
(BPM in SAP XI 3.0)
Active participation in standards, e.g.:
Advance BPEL4WS 1.1 together with IBM, BEA and Microsoft
Graphical Process Editor Supports process design
adhering to standards Import/ export of standard
process descriptions
Cross-Component BPM adheres to evolving future standards via a pluggable import/export-interface concept .
SAP AG 2004, BPM@BSGs / Volmering / 39
BPEL4WS
Business Process Execution Language for Web Services
Language for the formal specification of business processes and business interaction protocols
Extends Web Services interaction model enabling it to support business transactions:
Temporal and logical dependencies between activities, especially Web service interactions Association between a message received by the Web service and a particular process instance Error handling and compensation behavior Binary relationships between process roles
SAP AG 2004, BPM@BSGs / Volmering / 40
BPEL4WS 1.1
BPEL4WS as exchange format for exporting / importing integration processes to/from non-SAP systems
BPEL4WS not intended for importing or exporting integration processes between Integration Repositories (use import function instead)
WSDL View
BPEL4WS View
SAP AG 2004, BPM@BSGs / Volmering / 41
BPEL4WS Export
SAP AG 2004, BPM@BSGs / Volmering / 42
BPEL4WS Import Select .zip file containing (.bpel
and .wsdl file)
Select Message Interface (should be
created before starting the import)