PMC160 SAP

19
PMC160 BPM for Beginners: Building Process Centric Composite Applications with SAP NetWeaver CE Jan Rauscher / SAP AG, Walldorf Daniel Künstel / SAP AG, Walldorf Nicholas Holshouser / SAP Labs LLC., Atlanta Twan van den Broek / CIBER Netherlands, Eindhoven October 2010 © 2010 SAP AG. All rights reserved. / Page 2 Disclaimer This presentation outlines our general product direction and should not be relied on in making a purchase decision. This presentation is not subject to your license agreement or any other agreement with SAP. SAP has no obligation to pursue any course of business outlined in this presentation or to develop or release any functionality mentioned in this presentation. This presentation and SAP's strategy and possible future developments are subject to change and may be changed by SAP at any time for any reason without notice. This document is provided without a warranty of any kind, either express or implied, including but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement. SAP assumes no responsibility for errors or omissions in this document, except if such damages were caused by SAP intentionally or grossly negligent.

description

PMC160 SAP

Transcript of PMC160 SAP

  • 1PMC160

    BPM for Beginners:

    Building Process Centric Composite

    Applications with SAP NetWeaver CE

    Jan Rauscher / SAP AG, Walldorf

    Daniel Knstel / SAP AG, Walldorf

    Nicholas Holshouser / SAP Labs LLC., Atlanta

    Twan van den Broek / CIBER Netherlands, Eindhoven

    October 2010

    2010 SAP AG. All rights reserved. / Page 2

    Disclaimer

    This presentation outlines our general product direction and should not be relied on in making a

    purchase decision. This presentation is not subject to your license agreement or any other

    agreement with SAP. SAP has no obligation to pursue any course of business outlined in this

    presentation or to develop or release any functionality mentioned in this presentation. This

    presentation and SAP's strategy and possible future developments are subject to change and

    may be changed by SAP at any time for any reason without notice. This document is provided

    without a warranty of any kind, either express or implied, including but not limited to, the implied

    warranties of merchantability, fitness for a particular purpose, or non-infringement. SAP

    assumes no responsibility for errors or omissions in this document, except if such damages

    were caused by SAP intentionally or grossly negligent.

  • 2 2010 SAP AG. All rights reserved. / Page 3

    Agenda

    1. Introducing Composite Applications and

    SAP NetWeaver Composition Environment

    2. BPM with SAP NetWeaver Composition Environment

    3. Exercises

    2010 SAP AG. All rights reserved. / Page 4

    Goal

    Composite Applications require a change in thinking from an architects as well as from a developers point of view.

    Learn how to successfully build a composite application and apply the principles to your own projects!

  • 3 2010 SAP AG. All rights reserved. / Page 5

    Definition of a Composite Application

    Wikipedia: A Composite Application is an application built by

    combining multiple existing functions into a new application.

    Extended Definition: Composite Applications are user centric

    applications supporting highly collaborative and dynamic

    business processes which span beyond functional, system,

    and organizational boundaries by using data and functions

    provided as services by platforms and applications.

    2010 SAP AG. All rights reserved. / Page 6

    BPM and SOA @ SAP Supporting Human-Centric and System-Centric Processes

    SRM SCM ERPPLMCRM

    EhP

    EhP

    Bu

    sin

    ess p

    art

    ne

    rs

    so

    lutio

    n

    Custo

    m s

    olu

    tio

    n

    Eco

    syste

    m s

    olu

    tio

    n

    SAP Business Suite

    SAP NetWeaverComposition Environment

    Composite Business Processes

    Innovate new business processes

    Extend and adapt core processes

    Reuse service-enabled application core

    processes

    Application Core Processes

    Best practices for 24 industries

    All applications on SAP NetWeaver

    Non-SAP applications integrated with SAP

    NetWeaver

    Innovation delivered via Enhancement

    Packages

    Enterprise Service Repository

    2,800+ ready-to-run enterprise services

    SOA Design Governance

    SAP NetWeaverProcess Integration

  • 4 2010 SAP AG. All rights reserved. / Page 7

    Anatomy of Composite Applications

    Systems

    Workcenter

    Composite Processes

    Service Enablement

    Service Contract

    Implementation

    Layer

    Business Object

    & Service Layer

    User Interfaces

    Co

    mp

    os

    ite

    Ap

    pli

    ca

    tio

    nB

    AC

    KE

    ND

    Role 1

    Bu

    sin

    es

    s

    Pa

    rtn

    er

    UI UI

    App. Service

    SCI Service Contract Implementation

    SC

    IL

    Step 1 Step 2 Step 3 Step 4

    UI

    App. Service

    SCI

    ApplicationsLegacy

    Services

    App. Service

    UI

    ServicesServices

    SAP 3rd Party

    Step 4 Step 5 Step 6 Step 7 Step 8

    Role 2 Role 3 Role 4

    Service Contracts defined by Composite Application

    SCI

    2010 SAP AG. All rights reserved. / Page 8

    Java Application

    Server

    Robust, enterprise-

    class Java EE 5

    application server

    Eclipse Development

    Environment

    SAP NetWeaver

    Developer Studio: Eclipse

    based development and

    modeling environment

    Model-Driven Development and Deployment With

    SAP NetWeaver Composition Environment 7.3

    Pro

    cesses

    Event Flow / RulesRole

    SAP NetWeaver

    BPM for process

    composition

    SAP NetWeaver

    BRM for rules

    composition

    Vie

    ws

    Portal and Web FormsMobile and VoiceAnalytics

    SAP NetWeaver Visual

    Composer for model-

    driven UI development

    (incl. analytics and voice)

    Web Dynpro Java

    SAP Interactive Forms

    by Adobe

    Federated Portal

    Network

    Enterprise Services

    Repository and

    Registry (ESR)

    Software lifecycle

    management and

    logistics (NWDI)

    Bu

    s

    Data or File

    Web Services / Enterprise

    Services Connectivity

    Serv

    ices

    Service faade

    New service

    Data service

    Enterprise service

    Basicservice

    SAP Composite

    Application

    Framework (CAF)

    business object

    modeling

    Service Composer

    service simplification

    service composition

  • 5 2010 SAP AG. All rights reserved. / Page 9

    Agenda

    1. Introducing Composite Applications and

    SAP NetWeaver Composition Environment

    2. BPM with SAP NetWeaver Composition Environment

    3. Exercises

    2010 SAP AG. All rights reserved. / Page 10

    Highlights of SAP NetWeaver CE

    Leading edge process and rules mgmt capabilities

    SAP NetWeaver CE Highlights

    Composite Designer

    Central entry point for modeling and

    assembling composite applications

    SAP NetWeaver BPM

    Business-friendly user perspective

    UI generation technology

    Process reporting capabilities

    Support for intermediate message events

    Model-based service composition &

    simplification

    SAP NetWeaver BRM

    Embedded rules in process to drive process

    agility

  • 6 2010 SAP AG. All rights reserved. / Page 11

    Central composite application perspective

    Improving the developer productivity

    Composite Designer: The central entry point for modeling and

    assembling composite applications

    Import and editing of existing

    composite applications

    Create new components

    such as processes, UIs, rules,

    simplified services, composed

    services, business objects and

    navigate to specialized

    perspectives to edit them

    View, edit, and create

    relations between

    components

    Framework to check

    consistency of relations

    2010 SAP AG. All rights reserved. / Page 12

    Business IT

    Business-friendly

    process modeling perspective(in SAP NetWeaver BPM)

    From modeling (no coding!) to execution (no translation!)

    Developer-friendly

    implementation perspective(in SAP NetWeaver BPM)

    Business-friendly process modeling perspective

    A first step towards collaborative process design

  • 7 2010 SAP AG. All rights reserved. / Page 13

    Auto-generation of user interfaces

    Making it much easier and faster to generate new UIs

    Auto-generation of user interfaces (UI) out of the

    process context (data objects)

    for Visual Composer and Web Dynpro Java

    2010 SAP AG. All rights reserved. / Page 14

    SAP NetWeaver CE and BI from SAP

    Gain Insight Within and About Processes

    Provide relevant analysis within

    a process instance to support decision making

    Provide relevant reports about the process in

    general to optimize its performance

    Process

    participants

    Process

    owner

    * Note: Out-of-the box extractors available for SAP NetWeaver Business Warehouse (BW)

  • 8 2010 SAP AG. All rights reserved. / Page 15

    Intermediate message event in an asynchronous scenario

    Intermediate message

    events support correlation of

    corresponding event

    messages to running

    process instances

    Connectivity to SAPs local event infrastructure for

    asynchronous

    communication in a

    business process context

    Correlation condition based

    on defined process context

    (data objects), business

    rules and functions

    Support of intermediate message events

    Allowing process execution in asynchronous scenarios

    2010 SAP AG. All rights reserved. / Page 16

    Service Composition & Simplification

    Service Composition -

    provide a single service

    based on multiple backend

    services

    Service Simplification -

    provide simplified service

    based on existing backend

    service

    Fully integrated with other

    tools of SAP NetWeaver CE

    (e.g. Visual Composer, BPM)

    Capability to change

    service interfaces after the

    service is used in modeling

    with service re-import

    Service Composer

    Allowing service composition & simplification

  • 9 2010 SAP AG. All rights reserved. / Page 17

    Calculating rules as part of the process Calculating rules with BRM

    Performance Bonus

    Good 20

    Average 15

    * 10

    Good 15

    Average 10

    * 5

    Good 10

    Average 5

    * 0

    Manager

    Architect

    Programmer

    Designation

    Integrating Rules into BPM

    Enable simplified, dynamic and consistent decision making

    2010 SAP AG. All rights reserved. / Page 18

    Introduction to BPMN

    The primary goal of BPMN is to provide a notation that is readily understandable by all business users, from the business analysts that create

    the initial drafts of the processes, to the technical developers responsible for

    implementing the technology that will perform those processes, and finally, to

    the business people who will manage and monitor those processes. Thus,

    BPMN creates a standardized bridge for the gap between the business

    process design and process implementation.OMG, BPMN 1.2 Specification

    !

    First published in 2002

    Official standard of the Object Management Group (OMG) since 2006

    Current Version: BPMN 1.2, 2.0 release scheduled for 2010

  • 10

    2010 SAP AG. All rights reserved. / Page 19

    Business Process Modeling Notation Sequence Flow Overview

    Activity

    Gateway

    Event

    Activity:

    A step in a process

    Represents work or action to be performed

    Gateway:

    Controlles flow branching, merging and parallel actions

    Pure logic does not do the decision itself

    Event:

    A signal that something has happened Can start, pause and resume or interrupt and redirect

    a process or activity

    2010 SAP AG. All rights reserved. / Page 20

    Business Process Modeling Notation Activities

    Human

    Activity

    Automated

    Activity

    Sub-Process

    Human Activity:

    Activity that has to be processed by a natural person

    Automated Activity:

    Activity that is processed by a system

    Sub-Process:

    A compound (decomposable) Activity that holds a sub-

    process modeled with BPMN can be shown collapsed or expanded

  • 11

    2010 SAP AG. All rights reserved. / Page 21

    Business Process Modeling Notation Gateways

    Exclusive Choice:

    Only one path can be taken

    Each gate has a boolean data expression

    Parallel Split (also AND gateway):

    Splits sequence flow in parallel streams

    Event based Choice:

    Only one path can be taken

    Decision is based on events, not data condition

    Uncontrolled Merge:

    Merge exclusive alternative incoming sequence flows

    to one outgoing sequence flow

    Parallel Join:

    Merge parallel alternative incoming sequence flows to

    one outgoing sequence flow

    2010 SAP AG. All rights reserved. / Page 22

    Business Process Modeling Notation Events

    Start Event:

    Creates new process instance or indicates start of a sub-process

    Intermediate Timer Event:

    pause the sequence flow of a process or a sub-process

    for/until a specific time

    Intermediate Message Event:

    Wait for and receive a message

    Intermediate Error:

    Aborts activity on error

    End Event:

    Ends a sequence flow in a process or a sub-process

    Termination:

    Stop the process or sub-process immediately

  • 12

    2010 SAP AG. All rights reserved. / Page 23

    Business Process Modeling Notation Orchestration and Collaboration

    Pool:

    A Pool contains a single BPMN- Process A sequence flow is constrained in exactly one pool

    A Process diagramm may contain several pools

    Differentiation between active and inactive (descriptive) poolsOnly one active pool per model

    A pool generally represents a logical collection of roles,

    organizational units and systems

    Lane:

    A pool may be divided into lanes

    A lane generally represents a role or an organizational unit

    Orchestration:

    Modeling a process flow of control in a single

    internal (active) pool

    Representation as sequence flow

    Collaboration:

    Modeling interaction between pools (not flow of

    control!)

    Representation as message flow

    2010 SAP AG. All rights reserved. / Page 24

    Business Process Modeling Notation

    (BPMN) Artifacts

    Annotation

    Data Object:

    An artifact that stores process context

    Accessible during whole process

    Annotation:

    Possibility to give comments within a process model

    Pure description

    Data Object

    Artifacts:

    Besides the modeling of the process flow, BPMN allows to model artifacts that hold

    additional information such as data templates that are processed within an instance of the

    process or annotations to comment and explain the process.

  • 13

    2010 SAP AG. All rights reserved. / Page 25

    Agenda

    1. Introducing Composite Applications and

    SAP NetWeaver Composition Environment

    2. BPM with SAP NetWeaver Composition Environment

    3. Exercises

    2010 SAP AG. All rights reserved. / Page 26

    Exercise

    Phase 1: Modeling the Investment Approval Process

    Build a basic composite application from scratch

    Requester starts the process

    Approver gets the request into his/her UWL inbox

    In case of approval: an automatic step will create the

    purchase order (entry on database)

    In case of rejection: the requester can rework the request

    and initiate the approval again

    The confirmation is a visual indicator that the purchase

    order was created

    The business workflow is assembled by

    3 generated Web Dynpro Uis

    for requester approval

    for rework data

    for confirmation

    1 modelled business object

    or the purchase order on local database

  • 14

    2010 SAP AG. All rights reserved. / Page 27

    Exercise

    Execute the Investment Approval Process

    2) Approve / Reject the request

    1) Start the process

    3) Recognize the creation confirmation

    2010 SAP AG. All rights reserved. / Page 28

    Exercise

    Phase 2: enhance the process with a business rule

    Add a business rule to the process

    The rule checks whether the total purchase amount is

    more than 100.000

    Only if thats the case, a manual approval is needed, otherwise the approval is done automatically without

    human interaction

    Add a business rule to the process

    Model the business rule logic

    Make it available as a local web service

    Enhance the process of phase 1 with

    a new step and call the business rule

    via the web service

    Deploy and execute the process

  • 15

    2010 SAP AG. All rights reserved. / Page 29

    Final Composite Application

    As it looks like in design time (NWDS)

    The composite designer of the

    NetWeaver Developer Studio shows all

    components in its appropriate layer

    Process with the steps Approval,

    confirmation, rework

    UIs: Approval, Confirmation, Rework

    Business Logic with the Purchase

    Order Business Object and the

    Business Rule

    External Services from the Business

    Rule and Start of the Process

    DemoEXERCISES

    SAP NetWeaver BPM in Action

  • 16

    2010 SAP AG. All rights reserved. / Page 31

    Agenda

    1. Introducing Composite Applications and

    SAP NetWeaver Composition Environment

    2. BPM with SAP NetWeaver Composition Environment

    3. Exercises

    2010 SAP AG. All rights reserved. / Page 32

    Further Information

    SAP Public Web:

    SAP Developer Network (SDN): www.sdn.sap.com

    Business Process Expert (BPX) Community: www.bpx.sap.com

    Best-Built Applications: bestbuiltapps.sap.com

    Related SAP Education and Certification Opportunities

    http://www.sap.com/education/

    Related Workshops/Lectures at SAP TechEd 2010

    PMC162, Business Process Design Collaboration with SAP Gravity,

    PMC261, Process Analytics with SAP NetWeaver Business Process

    Management,

    PMC360, Architecture Guidelines for Composite Applications in Practice:

    Loose Coupling with Events

  • 17

    2010 SAP AG. All rights reserved. / Page 33

    ProcessInnovation

    ProcessAnalytics

    Business Rules Management

    ServiceSimplification

    Process Modularity

    Service Composition

    SOA Experience Workshop

    How to flexibly act on changing business needs

    SAP AG 2009. All rights reserved. / Page 34

    Literature

  • 18

    SAP AG 2009. All rights reserved. / Page 35

    BPM in SAP COMMUNITY NETWORK

    http://www.sdn.sap.com/irj/sdn/bpm

    SAP AG 2009. All rights reserved. / Page 36

    Literature SAP Guideline for Best-Built Appshttp://bestbuiltapps.sap.com

  • 19

    ContactFeedback

    Please complete your session evaluation.

    Be courteous deposit your trash, and do not take the handouts for the following session.

    2010 SAP AG. All rights reserved. / Page 38

    No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice.

    Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors.

    Microsoft, Windows, Excel, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation.

    IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, System z, System z10, System z9, z10, z9, iSeries, pSeries, xSeries, zSeries, eServer, z/VM, z/OS, i5/OS, S/390, OS/390, OS/400, AS/400, S/390 Parallel Enterprise Server, PowerVM, Power Architecture, POWER6+, POWER6, POWER5+, POWER5, POWER, OpenPower, PowerPC, BatchPipes, BladeCenter, System Storage, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, Parallel Sysplex, MVS/ESA, AIX, Intelligent Miner, WebSphere, Netfinity, Tivoli and Informix are trademarks or registered trademarks of IBM Corporation.

    Linux is the registered trademark of Linus Torvalds in the U.S. and other countries.

    Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems Incorporated in the United States and/or other countries.

    Oracle is a registered trademark of Oracle Corporation.

    UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group.

    Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc.

    HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology.

    Java is a registered trademark of Sun Microsystems, Inc.

    JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape.

    SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP BusinessObjects Explorer and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries.

    Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, and other Business Objects products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Business Objects Software Ltd. in the United States and in other countries.

    All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

    The information in this document is proprietary to SAP. No part of this document may be reproduced, copied, or transmitted in any form or for any purpose without the express prior written permission of SAP AG.

    This document is a preliminary version and not subject to your license agreement or any other agreement with SAP. This document contains only intended strategies, developments, and functionalities of the SAP product and is not intended to be binding upon SAP to any particular course of business, product strategy, and/or development. Please note that this document is subject to change and may be changed by SAP at any time without notice.

    SAP assumes no responsibility for errors or omissions in this document. SAP does not warrant the accuracy or completeness of the information, text, graphics, links, or other items contained within this material. This document is provided without a warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability, fitness for a particular purpose, or non-infringement.

    SAP shall have no liability for damages of any kind including without limitation direct, special, indirect, or consequential damages that may result from the use of these materials. This limitation shall not apply in cases of intent or gross negligence.

    The statutory liability for personal injury and defective products is not affected. SAP has no control over the information that you may access through the use of hot links contained in these materials and does not endorse your use of third-party Web pages nor provide any warranty whatsoever relating to third-party Web pages.

    2010 SAP AG. All Rights Reserved