Introduction
This article provides a detailed on how to create a SAP BPM process using the SAPUI5 technology. This
document is a beginner’s guide for Building & Deploying NW BPM with Human activity steps
along with SAPUI5.
Summary
In this lesson you will learn how to create a simple BPM process flow with SAPUI5 as shown below;
Table of Contents
Step 1: Create a Process Composer Development Component .................................................................. 2
Step 2: Create a Swim Lane for Process ......................................................................................................... 4
Step 3: Create a Process Flow .......................................................................................................................... 5
Step 4: Create a Start Page for Start Event ..................................................................................................... 9
Step 5: Create Approve Decision Page .......................................................................................................... 18
Step 6: Define a Logon Configuration and Authentication ........................................................................... 23
Step 7: Build and Deploy .................................................................................................................................. 25
Step 8: Testing your BPM ................................................................................................................................. 31
Page 1 of 33
SAP BPM with SAPUI5 Integration
Procedure
Page 2 of 33
SAP BPM with SAPUI5 Integration
Page 3 of 33
SAP BPM with SAPUI5 Integration
Page 4 of 33
SAP BPM with SAPUI5 Integration
Page 5 of 33
SAP BPM with SAPUI5 Integration
Page 6 of 33
SAP BPM with SAPUI5 Integration
Page 7 of 33
SAP BPM with SAPUI5 Integration
Page 8 of 33
SAP BPM with SAPUI5 Integration
4.4
Click the Arrow at the end
of table and then click on button
Page 9 of 33
SAP BPM with SAPUI5 Integration
Page 10 of 33
SAP BPM with SAPUI5 Integration
Page 11 of 33
SAP BPM with SAPUI5 Integration
Page 12 of 33
SAP BPM with SAPUI5 Integration
Page 13 of 33
SAP BPM with SAPUI5 Integration
Page 14 of 33
SAP BPM with SAPUI5 Integration
Page 15 of 33
SAP BPM with SAPUI5 Integration
Page 16 of 33
SAP BPM with SAPUI5 Integration
Page 17 of 33
SAP BPM with SAPUI5 Integration
Page 18 of 33
SAP BPM with SAPUI5 Integration
Page 19 of 33
SAP BPM with SAPUI5 Integration
Page 20 of 33
SAP BPM with SAPUI5 Integration
Page 21 of 33
SAP BPM with SAPUI5 Integration
Page 22 of 33
SAP BPM with SAPUI5 Integration
6.1 At UI page, Go to
/WebContent/WEB-INF/web.xml
<login-config>
<auth-method>FORM</auth-method>
</login-config>
<security-role>
<description>TaskProcessor</description>
<role-name>TaskProcessor</role-name>
</security-role>
<security-constraint>
<display-name>TaskProcessorConstraint</display-name>
<web-resource-collection>
<web-resource-name>TaskUI</web-resource-name>
<url-pattern>*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>TaskProcessor</role-name>
</auth-constraint>
</security-constraint>
Page 23 of 33
SAP BPM with SAPUI5 Integration
6.2 At UI page, Go to
/WebContent/WEB-INF/web-
j2ee-engine.xml
<security-role-map>
<role-name>TaskProcessor</role-name>
<server-role-name>TaskProcessor</server-role-name>
</security-role-map>
<login-module-configuration>
<login-module-stack>
<login-module>
<login-module-name>EvaluateTicketLoginModule</login-module-name>
<flag>SUFFICIENT</flag>
</login-module>
<login-module>
<login-module-name>BasicPasswordLoginModule</login-module-name>
<flag>REQUISITE</flag>
</login-module>
<login-module>
<login-module-name>CreateTicketLoginModule</login-module-name>
<flag>OPTIONAL</flag>
</login-module>
</login-module-stack>
</login-module-configuration>
Page 24 of 33
SAP BPM with SAPUI5 Integration
Select “Development
Infrastructure” and click on OK
Page 25 of 33
SAP BPM with SAPUI5 Integration
Page 26 of 33
SAP BPM with SAPUI5 Integration
Page 27 of 33
SAP BPM with SAPUI5 Integration
Page 28 of 33
SAP BPM with SAPUI5 Integration
Page 29 of 33
SAP BPM with SAPUI5 Integration
Page 30 of 33
SAP BPM with SAPUI5 Integration
Page 31 of 33
SAP BPM with SAPUI5 Integration
Page 32 of 33
SAP BPM with SAPUI5 Integration
Page 33 of 33