Sie sind auf Seite 1von 42

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 / #

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 / #

ccBPM Architecture - Overview


Integration Builder
Integration Directory
Integration Process (Configuration) Routing Rules

Integration Server
Business Process Engine
Process Execution Correlation Handling

Process / Message Store

(References)
2

Process Editor

Message

Integration Repository
Integration Process (Definition) Abstract Interfaces

Routing
1

Mapping

Channel 4 Det.

Integration Engine
Adapter Engine

SAP AG 2004, BPM@BSGs / Volmering / #

Message

Architecture Definition
Repository
Business Scenario

SWCV

MessageType Process Integration Process Flow Flow If If * * * * AbstractInterfaces Idoc Context objects Interf. Mappings RFC MessageMappings

* *

Directory
Scenario Party Process Process Routing Relation

Mapping Relation

Cache/Runtime
Process Flow If XML-objects

Correlations

SAP AG 2004, BPM@BSGs / Volmering / #

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 / #

Process Design with the Graphical Process Editor

Header
Overview Area Edit Area

Properties Area Output Area Object Area

SAP AG 2004, BPM@BSGs / Volmering / #

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, then maximize window

SAP AG 2004, BPM@BSGs / Volmering / #

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 / #

ccBPM - Process Step Types


Messaging Relevant: Receive Send Transformation Receiver Determination Process Flow Control Relevant: Block Loop Fork Switch

Control Wait

Container Operation

Undefined

SAP AG 2004, BPM@BSGs / Volmering / #

Block-oriented Design

Exception branch

Nested blocks

Deadline branch

SAP AG 2004, BPM@BSGs / Volmering / #

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 / #

Process Container and Local Containers

In inner block CheckResult container elements of outer block SendParallel and Process container are visible Container elements of inner block SendParallel are not visible in outer block

SAP AG 2004, BPM@BSGs / Volmering / #

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 / #

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)

Enter name of correlation

SAP AG 2004, BPM@BSGs / Volmering / #

Receive Step Starting a Process


One start message:
Receive step is 1st step Message to be received Indicator Start Process Mode Asynchronous Can activate correlations

Several start messages:


Receive steps in a Fork Each Receive activates / uses correlation

SAP AG 2004, BPM@BSGs / Volmering / #

Receive Step Sync/Async-Bridge


Communication between a synchronous and an asynchronous business system:

SAP AG 2004, BPM@BSGs / Volmering / #

Send Send Message (Asynchronous)


Acknowledgement: None Transport Application

Receiver Determination: Exception: Enter Exception to be triggered when a system error occurs (permanent error) Send context Receiver List Response to Message

Activate Correlation for send step in a ParForEach block

SAP AG 2004, BPM@BSGs / Volmering / #

Send Send Message (Synchronous)

SAP AG 2004, BPM@BSGs / Volmering / #

Send Send Acknowledgement

Send positive Acknowledgment usually used in a branch that defines normal processing

Receiver of the acknowledgment is automatically determined from the header of the message

Send negative Acknowledgment usually used in an exception handler (exception branch of a block)

SAP AG 2004, BPM@BSGs / Volmering / #

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 / #

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 / #

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 / #

Receiver Determination List of Receivers for Send


Receiver Determination step used to get a list of receivers
Send step uses list of receivers

Multiline container element for receiver list, Category Receiver


SAP AG 2004, BPM@BSGs / Volmering / #

Switch Defining Processing Branches

Otherwise branch (created automatically) Executed if no other branch returns TRUE

SAP AG 2004, BPM@BSGs / Volmering / #

Container Operation Assigning a Value

SAP AG 2004, BPM@BSGs / Volmering / #

Container Operation Appending a Value

Multiline Element

SAP AG 2004, BPM@BSGs / Volmering / #

Block Exception Handling

Define exception

Assign exception to exception handler Throws exception process continues in exception branch
SAP AG 2004, BPM@BSGs / Volmering / #

Block
Basic design element Blocks can be nested
Block hierarchy defines scope/visibility of container elements (local variables) Also: local correlations

Modes
Default Dynamic
Parallel For

For Each (ParForEach) Dynamic parallel

Each Dynamic sequential

Basis for deadline monitoring and exception handling

SAP AG 2004, BPM@BSGs / Volmering / #

Block ParForEach (Dynamic Parallel Processing)

SAP AG 2004, BPM@BSGs / Volmering / #

Block For Each (Dynamic Sequential Processing)

SAP AG 2004, BPM@BSGs / Volmering / #

Control Trigger Exception

SAP AG 2004, BPM@BSGs / Volmering / #

Control Trigger Alert

Alert Message will be displayed in Alert Inbox

SAP AG 2004, BPM@BSGs / Volmering / #

Control Cancel Process

SAP AG 2004, BPM@BSGs / Volmering / #

Fork Independent Processing Branches

SAP AG 2004, BPM@BSGs / Volmering / #

Loop Repeat Execution of Steps

SAP AG 2004, BPM@BSGs / Volmering / #

Wait Specifying Start Time for Next Step

SAP AG 2004, BPM@BSGs / Volmering / #

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 / #

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


Supports process design adhering to standards Import/ export of standard process descriptions

Graphical Process Editor


Cross-Component BPM adheres to evolving future standards via a pluggable import/export-interface concept .
SAP AG 2004, BPM@BSGs / Volmering / #

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 / #

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)
BPEL4WS View

WSDL View

SAP AG 2004, BPM@BSGs / Volmering / #

BPEL4WS Export

SAP AG 2004, BPM@BSGs / Volmering / #

BPEL4WS Import

Select .zip file containing (.bpel and .wsdl file) Select Message Interface (should be created before starting the import)

SAP AG 2004, BPM@BSGs / Volmering / #

Das könnte Ihnen auch gefallen