40
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 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.

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

  • Upload
    others

  • View
    16

  • Download
    0

Embed Size (px)

Citation preview

Page 1: SAP NetWeaver BPM Tutorial for Beginners: My Name and Age – BPM

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

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.

Page 2: SAP NetWeaver BPM Tutorial for Beginners: My Name and Age – BPM

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 2

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

Page 3: SAP NetWeaver BPM Tutorial for Beginners: My Name and Age – BPM

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 3

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.

Page 4: SAP NetWeaver BPM Tutorial for Beginners: My Name and Age – BPM

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 4

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

Page 5: SAP NetWeaver BPM Tutorial for Beginners: My Name and Age – BPM

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 5

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.

Page 6: SAP NetWeaver BPM Tutorial for Beginners: My Name and Age – BPM

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 6

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.

Page 7: SAP NetWeaver BPM Tutorial for Beginners: My Name and Age – BPM

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

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

Page 8: SAP NetWeaver BPM Tutorial for Beginners: My Name and Age – BPM

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

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.

\

Page 9: SAP NetWeaver BPM Tutorial for Beginners: My Name and Age – BPM

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

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).

Page 10: SAP NetWeaver BPM Tutorial for Beginners: My Name and Age – BPM

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

24. Format the whole pool by selecting the pool on the top; right mouse click and “Format pool”

25. Save (Ctrl+S).

Page 11: SAP NetWeaver BPM Tutorial for Beginners: My Name and Age – BPM

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

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

Page 12: SAP NetWeaver BPM Tutorial for Beginners: My Name and Age – BPM

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

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

Page 13: SAP NetWeaver BPM Tutorial for Beginners: My Name and Age – BPM

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

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

.

Page 14: SAP NetWeaver BPM Tutorial for Beginners: My Name and Age – BPM

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

36. Select process in Project Explorer and right mouse click

37. Select Apply Template..

38. Select UI Task Generation

39. Click Next

Page 15: SAP NetWeaver BPM Tutorial for Beginners: My Name and Age – BPM

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

40. Select “Fill Name Age” and check both checkboxes

41. Repeat last Step for Display Name Age

42. Click Next

Page 16: SAP NetWeaver BPM Tutorial for Beginners: My Name and Age – BPM

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

43. Select New

44. Select MyComponents

45. Click Next

Page 17: SAP NetWeaver BPM Tutorial for Beginners: My Name and Age – BPM

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

46. In this screen just enter dc_wd_my_name_age as the name

47. click “Next”.

Page 18: SAP NetWeaver BPM Tutorial for Beginners: My Name and Age – BPM

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 18

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.

Page 19: SAP NetWeaver BPM Tutorial for Beginners: My Name and Age – BPM

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

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

Page 20: SAP NetWeaver BPM Tutorial for Beginners: My Name and Age – BPM

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

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”.

Page 21: SAP NetWeaver BPM Tutorial for Beginners: My Name and Age – BPM

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

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

Page 22: SAP NetWeaver BPM Tutorial for Beginners: My Name and Age – BPM

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

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”.

Page 23: SAP NetWeaver BPM Tutorial for Beginners: My Name and Age – BPM

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

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.

Page 24: SAP NetWeaver BPM Tutorial for Beginners: My Name and Age – BPM

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

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

Page 25: SAP NetWeaver BPM Tutorial for Beginners: My Name and Age – BPM

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

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

Page 26: SAP NetWeaver BPM Tutorial for Beginners: My Name and Age – BPM

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

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.

Page 27: SAP NetWeaver BPM Tutorial for Beginners: My Name and Age – BPM

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

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

Page 28: SAP NetWeaver BPM Tutorial for Beginners: My Name and Age – BPM

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

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

Page 29: SAP NetWeaver BPM Tutorial for Beginners: My Name and Age – BPM

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

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

Page 30: SAP NetWeaver BPM Tutorial for Beginners: My Name and Age – BPM

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 30

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

Page 31: SAP NetWeaver BPM Tutorial for Beginners: My Name and Age – BPM

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

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.

Page 32: SAP NetWeaver BPM Tutorial for Beginners: My Name and Age – BPM

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

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.

Page 33: SAP NetWeaver BPM Tutorial for Beginners: My Name and Age – BPM

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

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.

Page 34: SAP NetWeaver BPM Tutorial for Beginners: My Name and Age – BPM

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

104. You are on the first Human activity “Fill Name Age”.

105. Type your name and your age and click the Button “Approve”.

Page 35: SAP NetWeaver BPM Tutorial for Beginners: My Name and Age – BPM

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

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.

Page 36: SAP NetWeaver BPM Tutorial for Beginners: My Name and Age – BPM

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

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”

Page 37: SAP NetWeaver BPM Tutorial for Beginners: My Name and Age – BPM

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

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

Page 38: SAP NetWeaver BPM Tutorial for Beginners: My Name and Age – BPM

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 38

Step 10. Possible Enhancements

Congratulate… You developed your first BPM process. Now you can think of the following enhancements:

119. This is the end of the implementation test.

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.

Page 39: SAP NetWeaver BPM Tutorial for Beginners: My Name and Age – BPM

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 39

Use case:

If the age is lower than 12 you need a third person.

Page 40: SAP NetWeaver BPM Tutorial for Beginners: My Name and Age – BPM

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 40

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.