SAP NetWeaver BPM Tutorial for Beginners: My Name and Age BPM Tutorial

Similar documents
SAP Master Data Governance- Hiding fields in the change request User Interface

Maintaining Different Addresses and Ids for a Business Partner via CRM Web UI

Integrating Easy Document Management System in SAP DMS

Business One in Action - How can we post bank fees and charges while posting Incoming or Outgoing Payment transactions?

Alert Notification in SAP Supply Network Collaboration. SNC Extension Guide

TM111. ERP Integration for Order Management (Shipper Specific) COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

NetWeaver Business Client (NWBC) for Incentives and Commissions Management (ICM)

Data Archiving in CRM: a Brief Overview

Log Analysis Tool for SAP NetWeaver AS Java

Process Archiving using NetWeaver Business Process Management

Enterprise Software - Applications, Technologies and Programming

Table of Contents. How to Find Database Index usage per ABAP Report and Creating an Index

R/3 and J2EE Setup for Digital Signature on Form 16 in HR Systems

UI Framework Logo exchange without skin copy. SAP Enhancement Package 1 for SAP CRM 7.0

SAPFIN. Overview of SAP ERP Financials COURSE OUTLINE. Course Version: 15 Course Duration: 2 Day(s)

Third Party Digital Asset Management Integration

Single Sign-On between SAP Portal and SuccessFactors

Understanding HR Schema and PCR with an Example

Business Requirements... 3 Analytics... 3 Typical Use Cases... 8 Related Content... 9 Copyright... 10

Sending Additional Files from SAP Netweaver PI to third Party System

How to Create a Support Message in SAP Service Marketplace

Data Source Enhancement Using User Exit

HR400 SAP ERP HCM Payroll Configuration

UI Framework Simple Search in CRM WebClient based on NetWeaver Enterprise Search (ABAP) SAP Enhancement Package 1 for SAP CRM 7.0

SAP How-To Guide: Develop a Custom Master Data Object in SAP MDG (Master Data Governance)

UI Framework Task Based User Interface. SAP Enhancement Package 1 for SAP CRM 7.0

Integration of Universal Worklist into Microsoft Office SharePoint

Consume an External Web Service in a Nutshell with good old ABAP

How to Add an Attribute to a Case, Record and a Document in NW Folder Management (ex-records Management)

K in Identify the differences between the universe design tool and the information design tool

Budget Control by Cost Center

Sample Universe on Microsoft OLAP Cube

Integration of SAP Netweaver User Management with LDAP

Portfolio and Project Management 5.0: Excel Integration for Financial and Capacity Planning

Variable Exit in Sap BI How to Start

How To Use the ESR Eclipse Tool with the Enterprise Service Repository

AC200. Basics of Customizing for Financial Accounting: General Ledger, Accounts Receivable, Accounts Payable COURSE OUTLINE

Download and Install Crystal Reports for Eclipse via the Eclipse Software Update Manager

Duet Enterprise Add SAP ERP Reports and SAP BI Queries/Workbooks to Duet Enterprise Configuration

Xcelsius Dashboards on SAP NetWaver BW Implementation Best Practices

SAP NetWeaver BRM 7.3

How to Schedule Report Execution and Mailing

Mass Maintenance of Procurement Data in SAP

User Experience in Custom Apps

How To Use the BPC Mass User Management Tool in BPC 10.0 NW

Secure MobiLink Synchronization using Microsoft IIS and the MobiLink Redirector

BW Workspaces Use Cases

USDL XG WP3 SAP use case. Kay Kadner

ERP Quotation and Sales Order in CRM WebClient UI Detailed View. SAP Enhancement Package 1 for SAP CRM 7.0 CRM Sales - SFA

Compliant, Business-Driven Identity Management using. SAP NetWeaver Identity Management and SBOP Access Control. February 2010

Using User Exit for Variables in BEx Reporting

Application Lifecycle Management

SAP Business ByDesign Reference Systems. Scenario Outline. SAP ERP Integration Scenarios

SAP Central Process Scheduling (CPS) 8.0 by Redwood

SAP Sustainability Solutions: Achieving Customer Strategies

SAP Portfolio and Project Management

Configuring Single Sign-on for SAP HANA

SAP DSM/BRFPlus System Architecture Considerations

Business Process Change Analyzer in SAP Solution Manager 7.1

How-to-Guide: Middleware Settings for Download of IPC Configuration (KB) Data from R/3 to CRM System

LO Extraction Part 1: SD Application Short Overview

Query, Read, Create and Update CLOUD FOR CUSTOMER ODATA SERVICE QUERY, READ, CREATE AND UPDATE

How to Configure Access Control for Exchange using PowerShell Cmdlets A Step-by-Step guide

Accounts Receivable. SAP Best Practices

Sales Planning Detailed View. SAP Enhancement Package 1 for SAP CRM 7.0 CRM Sales - SFA

Supporting SAP POS Best Practices Setting Log File Sizes and Retention

Installation Guide Customized Installation of SQL Server 2008 for an SAP System with SQL4SAP.VBS

SAP Service Tools for Performance Analysis

Intelligent Business Operations Chapter 1: Overview & Strategy

Thread Dump Viewer for SAP NetWeaver AS Java

SAP Cloud Strategy - Timeless Software. Frank Stienhans on behalf of Kaj van de Loo SAP

How to Set Up an Authorization for a Business Partner in Customer Relationship Management (CRM) Internet Sales: Sample Case

AP Integration with BRFplus VERSION V APRIL SAP AG

Fixed Asset in SAP Business One 9.0

Configuring Distribution List in Compliant User Provisioning

SAP HANA Cloud Integration Document Version: Template Guide for SAP Sales and Operations Planning

An Up-to-Date Guide to SAP Business Workflow and Its Role Within Your SAP Infrastructure

OData in a Nutshell. August 2011 INTERNAL

Finding the Leak Access Logging for Sensitive Data. SAP Product Management Security

Quick Guide EDI/IDoc Interfacing to SAP ECC from External System

BW362. SAP BW powered by SAP HANA COURSE OUTLINE. Course Version: 10 Course Duration: 5 Day(s)

Production Subcontracting (External Processing) SAP Best Practices

SOP through Long Term Planning Transfer to LIS/PIS/Capacity. SAP Best Practices

Project Governance The Role Of The Business Process Owner

RUN BETTER Become a Best-Run Business with Remote Support Platform for SAP Business One

Learning Series: SAP NetWeaver Process Orchestration, secure connectivity add-on 1c SFTP Adapter

LO Extraction Part 2 Database Update Logic

Supplier Master Data Governance

How To Configure MDM to Work with Oracle ASM-Based Products

Implementing SSO between the Enterprise Portal and the EPM Add-In

Unified Service Description Language Enabling the Internet of Services

Ariba Network Integration to SAP ECC

Run SAP like a Factory

SAP NetWeaver MDM 7.1 Features at a Glance. November, 2011

SAP GRC Access Control: Background jobs for risk analysis and remediation (formerly Virsa Compliance Calibrator)

Learning Series: SAP NetWeaver Process Orchestration, business to business add-on EDI Separator Adapter

Creating New Dashboard Packages for SAP Business One 8.8

Microsoft Excel 2007 & SAP Business Explorer Compatibility

Matthias Steiner SAP. SAP HANA Cloud Platform A guided tour

Transcription:

SAP NetWeaver BPM Tutorial for 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: Steffen Ulmer Company: SAP Created on: 16 August 2010 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. 2010 SAP AG 1

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 2010 SAP AG 2

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. 2010 SAP AG 3

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. 3. To create a new project select File > New > Project 2010 SAP AG 4

4. Use the Wizard type process and select Process Composer Development Component. Click Next. 5. Select Software Component Local Development > My Components [demo.sap.com] Click Next. 2010 SAP AG 5

6. Type dc_my_name_age as name of the new development component. Click Next. 7. Leave default settings and click Finish. 8. Click Yes to switch to the Process Composer Perspective. 2010 SAP AG 6

Step 2. Create New Process In this step you create the basic BPM process flow. This simple example includes just two swimlanes and two human activities. 9. Expand Development Component tree. Go to Process Modeling > Processes Mouse right button click and select New. 10. Type prcmynameage as name for the new process and click Next. 11. Select Create a pool with the following names lanes 12. Enter MyNameAge 13. Enter User_A,User_B 14. Click Next 15. Leave defaults as is and click Finish 2010 SAP AG 7

16. The Wizard creates the following situation 17. Select the line between Start and End and delete the link/line 18. Create the first Human activity for the User_A Lane using the speed buttons of the Start event. \ 2010 SAP AG 8

19. Type the name of the Human activity Fill Name Age. 20. Create one more Human activity using again the speed buttons. 21. Move the new Human Activity to the Lane User_B and type Display Name Age as a name for this activity. 22. Connect the Human activity Display Name Age with the End event. 23. Save (Ctrl+S). 2010 SAP AG 9

24. Format the whole pool by selecting the pool on the top; right mouse click and Format pool 25. Save (Ctrl+S). 2010 SAP AG 10

Step 3. Create Web Dynpro UIs by UI template In this step you create and assign new User Interfaces, based on Web Dynpro Java, for the human activities. This UI wizard was introduced in CE7.20. In comparison to CE7.1.1 this step is much easier. 26. Remove default task from Human activity Fill Name Age 27. Repeat the step for DisplayName Age 28. Save ALL Create new BPM Context: 29. Use the Palette on the right hand side to create a new Context by Drag and Drop the Data Object to the 2010 SAP AG 11

swim lane User_B 30. Change the name no Name. Repeat last step to create Age BPM Context: 31. Use the Palette on the right hand side to create a new 2010 SAP AG 12

Context by Drag and Drop the Data Object to the swim lane User_B For info: By default the Data Type is String which is fine for Name 32. Change the name no Age 33. Change the Data Type for Age to Integer by selecting Data Type 34. Click on Browse and choose the one displayed on the image. 35. SAVE ALL. 2010 SAP AG 13

36. Select process in Project Explorer and right mouse click 37. Select Apply Template.. 38. Select UI Task Generation 39. Click Next 2010 SAP AG 14

40. Select Fill Name Age and check both checkboxes 41. Repeat last Step for Display Name Age 42. Click Next 2010 SAP AG 15

43. Select New 44. Select MyComponents 45. Click Next 2010 SAP AG 16

46. In this screen just enter dc_wd_my_name_age as the name 47. click Next. 2010 SAP AG 17

48. Click Finish and wait 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. 2010 SAP AG 18

49. After the successful generation (up to 10 minutes) the NWDS will look as follows: Step 4. Create Users and Grant Access In this step you create new users in the Java Web Application Server Identity Managment. Later on you will assign exactly these users to the swimlanes in BPM; means: These users will participate in the process and will receive the tasks. In addition you can also assign complete groups and roles to the swim lanes to implement mass assignments. 50. Open SAP NetWeaver Application Server Administration > User Management (like: http://<ip>:<port>/startpage 51. Create User 2010 SAP AG 19

52. For the First UserID type User_A for Logon ID, type password 1234qwer, confirm it and type SDN_User_A for the Last Name of this UserID (see the example). Click Save at the end. 53. Complete the same for the UserID SDN_User_B. 54. Users will be displayed like this: 55. Assign Users to Roles. Change the Search Criteria to Role. 56. Search for a Role containing BPEM type for the search criteria *BPEM*. Click Go. 2010 SAP AG 20

57. Click on the displayed Portal Role with description BPEM End User. 58. Go to tab Assigned Users and click button Modify. 59. Search for the SDN* and click Go. 60. When found, select all rows 61. Add UserIDs to the role 2010 SAP AG 21

62. After the assign both UserIDs will be displayed on the right site with Assigned Users. 63. Click Save to save Role Changes. 64. Search also for the Portal Role Every User Core Role. Click on the role. 65. Go to tab Assigned Users and click button Modify. 2010 SAP AG 22

66. Search for the SDN* and click Go. 67. When found, select all rows 68. Add UserIDs to the role 69. After the assign both UserIDs will be displayed on the right site with Assigned Users. 70. Click Save to save Role Changes. 2010 SAP AG 23

Step 5. Assign Users to Swim-Lanes 71. Select the Task swimlanes User A and select Potential Users in Properties tab 72. Click on Choose... 73. Search for SDN* 74. Select SDN_User_A added in the last step 75. Click OK 2010 SAP AG 24

76. Select the Task swimlanes User B and select Potential Users in Properties tab 77. Click on Choose... 78. Select SDN_User_B added in the last step 79. SAVE ALL 2010 SAP AG 25

Step 6. Create Mappings 80. Select the Task Fill Name Age > Go to Properties > Output Mapping > Map Name and Age as Output from the Fill Name Age Human activity on the left side with the Name and Age of the Process context on the right side. 2010 SAP AG 26

81. Select the Task Display Name Age > Go to Properties > Input Mapping > Map Name and Age from the Process context on the left side with the Name and Age of the Input for Display Name Age Human activity. 82. Save (Ctrl+S). Step 7. Build and Deploy the Process 83. In Process Composer perspective: Build the DC 2010 SAP AG 27

84. Select also the development component of the Web Dynpro Development Component if you want to re-build it and click OK. INFO: Build takes some time 2010 SAP AG 28

85. Deploy the Development Component of the Process 86. Click OK. 87. Type the UserID and Password for the server 88. Deploy is still Running 2010 SAP AG 29

89. Deploy is Completed. Step 8. Run the Process 90. Go to the SAP NetWeaver Administration of your server. 91. Configuration Management > Processes and Tasks > Process Repository 2010 SAP AG 30

92. Select the Process dc_my_name_age from the list with Components. 93. Go to Resources of the Component > Processes and Tasks - select the Process Definition prcmynameage. Click Start Process. 2010 SAP AG 31

94. A new pop up appears 95. Click Start Process 96. A message for successful process start will appear at the bottom of this screen. 97. Process is already started. Step 9. Test the Process behavior with User_A and User_B. 98. Log-in to the Portal using (like http://<ip>:<port>:irj SDN_User_A and the initial password 1234qwer. 2010 SAP AG 32

99. Change the Initial Password of the SDN_User_A to qwer1234 100. A task is already assigned to User_A and is visible in the Task list of his Universal Worklist. 101. Click on the Task/ Open the task 102. A new pop up appears 103. Go to the link of the Process to see where you are on the process flow. 2010 SAP AG 33

104. You are on the first Human activity Fill Name Age. 105. Type your name and your age and click the Button Approve. 2010 SAP AG 34

106. Click Close. 107. Refresh the list with Tasks in the Universal Worklist of User_A 108. Task will disappear 109. Log-in to the Portal using SDN_User_B and the initial password 1234qwer. 2010 SAP AG 35

110. Change the Initial Password of the SDN_User_B to qwer1234 111. The next process task is already assigned to User_B and is visible in the Task list of his Universal Worklist. 112. Click on the Task 113. Go to the link of the Process to see where you are on the process flow. 114. You are on the second Human activity Display Name Age 2010 SAP AG 36

115. Inspect the BPM UI itself and click Approve INFO: You can see the values entered by the first user.. 116. Click Close. 117. Refresh the list with Tasks in the Universal Worklist of User_B 118. Task will disappear 2010 SAP AG 37

119. This is the end of the implementation test. Step 10. Possible Enhancements Congratulate You developed your first BPM process. Now you can think of the following enhancements: Explore more BPM capabilities BPM comes with capabilities like: Notes Attachments Substitution (in UWL) Modify Web Dynpro UI: Make Display UI Read Only It makes no sense that the User B can edit the values. You can change the 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 Integrate backends like Service Call into ERP SAP MDM Google Search Start process via Web Dynpro UI (instead of Process Repository Instead of starting a process through the process repository you can 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. 2010 SAP AG 38

Use case: If the age is lower than 12 you need a third person. 2010 SAP AG 39

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. 2010 SAP AG 40