Beruflich Dokumente
Kultur Dokumente
Beginners:
My Name and Age BPM Tutorial
Applies to:
SAP NetWeaver Composition Environment 7.20
SAP Business Process Management/ SAP BPM.
Summary
SAP BPM-Tutorial for Beginners. Shows how easy it is to develop a simple process. Starts from scratch; no
external service needed/integrated.
Author Bio
Steffen Ulmer is a Senior Consultant who works for SAP (Switzerland) AG. He has good
experience in Java development, SAP NetWeaver Composition Enviroment, SAP
NetWeaver Master Data Management, SAP BPM/BRM and SAP NetWeaver Portal.
Presently he is involved in many SAP MDM/BPM customer projects all over the world.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2010 SAP AG 1
SAP NetWeaver BPM Tutorial for Beginners: My Name and Age BPM Tutorial
Table of Contents
Introduction/ Overview ........................................................................................................................................ 3
Prerequisites ....................................................................................................................................................... 4
Procedure ........................................................................................................................................................... 4
Step 1. Create New Development Component ............................................................................................... 4
Step 2. Create New Process ........................................................................................................................... 7
Step 3. Create Web Dynpro UIs by UI template ........................................................................................... 11
Step 4. Create Users and Grant Access ....................................................................................................... 19
Step 5. Assign Users to Swim-Lanes............................................................................................................ 24
Step 6. Create Mappings .............................................................................................................................. 26
Step 7. Build and Deploy the Process .......................................................................................................... 27
Step 8. Run the Process ............................................................................................................................... 30
Step 9. Test the Process behavior with User_A and User_B. ................................................................. 32
Step 10. Possible Enhancements ................................................................................................................. 38
Copyright........................................................................................................................................................... 40
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2010 SAP AG 2
SAP NetWeaver BPM Tutorial for Beginners: My Name and Age BPM Tutorial
Introduction/ Overview
The tutorial should be completed with approx. 60 minutes. At the end you will be able to run your first BPM
process. In comparison to the tutorial in the SAP NWDS help you do not need any other system because the
example process just uses pure CE features. Of course the tutorial is just a starting point but it should
already give you an idea how to use/develop features like:
Swim lanes
Human activities
Process repository
Generating Web Dynpro UI's out of the BPM context
Modeling a BPM process flow
How to use the process composer
How to do mapping between activities and the context
How to create users and assign them to a swim lane
How you build, deploy and execute a process
The demo process has just 2 swim lanes and 2 human activities. The following image gives you a overview
of the process in BPMN:
At the end of the tutorial I give you some ideas how to enhance this example. The ideas are based on real
life experience.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2010 SAP AG 3
SAP NetWeaver BPM Tutorial for Beginners: My Name and Age BPM Tutorial
Prerequisites
Sandbox/ Development System: SAP NetWeaver CE7.20 (incl. BPM usage type),
SAP NWDS,
Administration user on the sandbox to create new users and to deploy a new dc,
Procedure
Step 1. Create New Development Component
In this step you create a new Development Component (DC) in your local environment (without NWDI).
1. Start SAP NetWeaver
Developer Studio (NWDS)
and select a new
workspace.
2. Click on Workbench.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2010 SAP AG 4
SAP NetWeaver BPM Tutorial for Beginners: My Name and Age BPM Tutorial
5. Select Software
Component Local
Development > My
Components
[demo.sap.com]
Click Next.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2010 SAP AG 5
SAP NetWeaver BPM Tutorial for Beginners: My Name and Age BPM Tutorial
6. Type dc_my_name_age
as name of the new
development component.
Click Next.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2010 SAP AG 6
SAP NetWeaver BPM Tutorial for Beginners: My Name and Age BPM Tutorial
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2010 SAP AG 7
SAP NetWeaver BPM Tutorial for Beginners: My Name and Age BPM Tutorial
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2010 SAP AG 8
SAP NetWeaver BPM Tutorial for Beginners: My Name and Age BPM Tutorial
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2010 SAP AG 9
SAP NetWeaver BPM Tutorial for Beginners: My Name and Age BPM Tutorial
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2010 SAP AG 10
SAP NetWeaver BPM Tutorial for Beginners: My Name and Age BPM Tutorial
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2010 SAP AG 11
SAP NetWeaver BPM Tutorial for Beginners: My Name and Age BPM Tutorial
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2010 SAP AG 12
SAP NetWeaver BPM Tutorial for Beginners: My Name and Age BPM Tutorial
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2010 SAP AG 13
SAP NetWeaver BPM Tutorial for Beginners: My Name and Age BPM Tutorial
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2010 SAP AG 14
SAP NetWeaver BPM Tutorial for Beginners: My Name and Age BPM Tutorial
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2010 SAP AG 15
SAP NetWeaver BPM Tutorial for Beginners: My Name and Age BPM Tutorial
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2010 SAP AG 16
SAP NetWeaver BPM Tutorial for Beginners: My Name and Age BPM Tutorial
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2010 SAP AG 17
SAP NetWeaver BPM Tutorial for Beginners: My Name and Age BPM Tutorial
INFO:
The Wizard is generating the UIs
now. Therefore it creates Web
Dynpro Java DC incl. Default Form.
You can later on change the form in
the Web Dynpro Perspective.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2010 SAP AG 18
SAP NetWeaver BPM Tutorial for Beginners: My Name and Age BPM Tutorial
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2010 SAP AG 19
SAP NetWeaver BPM Tutorial for Beginners: My Name and Age BPM Tutorial
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2010 SAP AG 20
SAP NetWeaver BPM Tutorial for Beginners: My Name and Age BPM Tutorial
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2010 SAP AG 21
SAP NetWeaver BPM Tutorial for Beginners: My Name and Age BPM Tutorial
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2010 SAP AG 22
SAP NetWeaver BPM Tutorial for Beginners: My Name and Age BPM Tutorial
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2010 SAP AG 23
SAP NetWeaver BPM Tutorial for Beginners: My Name and Age BPM Tutorial
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2010 SAP AG 24
SAP NetWeaver BPM Tutorial for Beginners: My Name and Age BPM Tutorial
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2010 SAP AG 25
SAP NetWeaver BPM Tutorial for Beginners: My Name and Age BPM Tutorial
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2010 SAP AG 26
SAP NetWeaver BPM Tutorial for Beginners: My Name and Age BPM Tutorial
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2010 SAP AG 27
SAP NetWeaver BPM Tutorial for Beginners: My Name and Age BPM Tutorial
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2010 SAP AG 28
SAP NetWeaver BPM Tutorial for Beginners: My Name and Age BPM Tutorial
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2010 SAP AG 29
SAP NetWeaver BPM Tutorial for Beginners: My Name and Age BPM Tutorial
91. Configuration
Management > Processes
and Tasks > Process
Repository
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2010 SAP AG 30
SAP NetWeaver BPM Tutorial for Beginners: My Name and Age BPM Tutorial
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2010 SAP AG 31
SAP NetWeaver BPM Tutorial for Beginners: My Name and Age BPM Tutorial
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2010 SAP AG 32
SAP NetWeaver BPM Tutorial for Beginners: My Name and Age BPM Tutorial
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2010 SAP AG 33
SAP NetWeaver BPM Tutorial for Beginners: My Name and Age BPM Tutorial
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2010 SAP AG 34
SAP NetWeaver BPM Tutorial for Beginners: My Name and Age BPM Tutorial
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2010 SAP AG 35
SAP NetWeaver BPM Tutorial for Beginners: My Name and Age BPM Tutorial
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2010 SAP AG 36
SAP NetWeaver BPM Tutorial for Beginners: My Name and Age BPM Tutorial
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2010 SAP AG 37
SAP NetWeaver BPM Tutorial for Beginners: My Name and Age BPM Tutorial
Modify Web Dynpro UI: Make It makes no sense that the User B can edit the values. You can change the
Display UI Read Only Web Dynpro Form.
You can also remove the unused button and change the texts of the button.
Group assignments of tasks Instead of assigning single users to the swim lanes you can assign groups
or roles. All members with receive UWL notifications.
Dynamic UWL Texts For the second user you can display already in the UWL the name.
Boundary Events You can implement (without coding) that the second user has only a limited
timeframe to complete the task.
Tasks Priorities You can change the priorities of the Tasks in the UWL. E.G.: If the name is
Steffen the priority is high
Start process via Web Dynpro UI Instead of starting a process through the process repository you can
(instead of Process Repository develop a small Web Dynpro application (and integrate in to the Portal).
The Web Dynpro application start a new process instance by calling the
Start-Web Service-Trigger
Change the BPM Process Flow You can change the process flow for instance:
Second user can send back the task to the first user
Add a third swim lane
Add BRM capabilities You can develop your own Business Rule which you integrate in to the
process as a automated activity.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2010 SAP AG 38
SAP NetWeaver BPM Tutorial for Beginners: My Name and Age BPM Tutorial
Use case:
If the age is lower than 12 you need a third person.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2010 SAP AG 39
SAP NetWeaver BPM Tutorial for Beginners: My Name and Age BPM Tutorial
Copyright
Copyright 2010 SAP AG. All rights reserved.
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 Business ByDesign, 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 S.A. in the United States and in other countries. Business Objects is an SAP company.
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.
These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP
Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or
omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the
express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an
additional warranty.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
2010 SAP AG 40