8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 1/57
Building a Composite BusinessProcess from Scratch with SAPNetWeaver BPM â Guide 1
Appl ies to:
SAP enhancement package 1 for SAP NetWeaver Composition Environment 7.1For more information, visit the Business Process Modeling homepage.
Summary
Within this document in exercise A, you are going to sketch the process diagram for the Investment ApprovalProcess within process composer. This process contains human activities, automated activities, events,gateways. Later on you are going to maintain the technical properties and make this process run inexercise B. Download the source files from here.
Author : Jie Deng
Company: SAP AG
Created on: 28 November 2008
Author Bio
Jie Deng is a Product Manager in SAP AG Germany. In this role, Jie focuses on the area ofBusiness Process Management, Business Activity Monitoring as well as process monitoringand reporting . She is responsible for the rollout to customers as well as roll-out within theorganizations. Jie has been working for the SAP organization for eight years and has beenpart of the Product Management Group in the SAP NetWeaver BI area for six years. In
2006, Jie joined the Product Management Group in the BPM area.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 1
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 2/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
Table of Contents
Exercise A: Sketching a Composite Business Process within Process Composer........................................3
Exercise B: Modeling, Build, Deploy andRun the Composite Business Process with SAP NetWeaver BPM..............................................................15
Step 1 â Configurations............................................................................................................................................15
Step 2 â Edit properties of Process/Pool..................................................................................................................28
Step 3 â Edit Human Activities.................................................................................................................................30 Step 4 âEdit Automated Activities ............................................................................................................................36
Step 5 âEdit Start and End Events...........................................................................................................................39
Step 6 âEdit Data Objects ........................................................................................................................................39
Step 7 âEdit Mapping ...............................................................................................................................................41
Step 8 âEdit Condition line .......................................................................................................................................46
Step 9 âBuild and Deploy.........................................................................................................................................48
Step 10 âStart the Process.......................................................................................................................................50
Step 11 -- Execute the Process as end user..............................................................................................................52
Related Content................................................................................................................................................56
Copyright...........................................................................................................................................................57
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 2
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 3/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
Exercise A: Sketching a Composite Business Process within Process Composer
Within this exercise you are going to sketch the process diagram for the Investment Approval Process withinprocess composer. This process contains human activities, automated activities, events, gateways. You aregoing to maintain the technical properties and make this process run in the Exercise B: Modeling, Build,Deploy and Run the Composite Business Process with SAP NetWeaver BPM.
1. The goal of this exercise is to model
the process flow of the âInvestment Approval Processâ. The final resultwill look like the one depicted in thefigure to the right.
2. As the first step please open the SAPNetWeaver Developer Studio.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 3
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 4/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
3. Once you open the SAP NetWeaverDeveloper Studio, and then pleaseswitch to the âProcess Composer âperspective (Window OpenPerspective Other âŠ; next selectâProcess Composer â and click âOKâ).
4. Now you are going to create aprocess composer project. PleaseNavigate to âFile New Projectâ.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 4
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 5/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
5. Now a Wizard for creating the projectis opening. Please select âProcessComposer DevelopmentComponentâ and then click on âNextâ.
6. Select âMyComponentsâ asDevelopment component for processmodeling project. Please click âNextâto continue.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 5
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 6/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 6
7. Now please enter the nameâbpm160exerciseâ for ProcessComposer DevelopmentComponent. Click âNextâ to continue.
8. Leave the setting as it is in this stepand click on âFinishâ to completecreating process composer
development component.
9. Once you finished step 8, pleasenavigate to Project Explorer . Youâllsee that the project
âbpm160exerciseâ is visible there.Expand the appropriate node.
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 7/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 7
10. Now you can create a processright-clicking on the âProcessesânode and choosing â
by
NewâŠâ from thecontext menu.
11. Enter the name âInvestment Approval Process â for the processand click on âNextâ.
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 8/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 8
12. Now you are able to create start/endevents from service operations. Youcan also create a pool and define torientation in the diagram. For ourexercise please select âCreate staand en
he
rtd event from a service
operationâ and âCreate a new pool â. As orientation of the pools we chooseâTop to bottomâ. Click on âFinishâ.
13. Now you have created a pool and youcan model your process there. On theright side you can find the palettewhere all the elements which you canuse for modelling processes arelisted.
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 9/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 9
14. Right-click on the connection bestart and end event and selectâDeleteâ from the context menu. Wewill create new connections
tween
soon.
15. Assign the name âInvestment Approval Process â to the createdpool (just click once into the name
field and adjust the name).
16. Add 2 more lanes to the pool byeither right clicking into theâInvestment Approval Processâheader area of the process diagramand choosing âCreate Laneâ from thecontext menu or by choosing theappropriate speed button, whichappears while moving the mousepointer into the same header area.
Name the three lines âPurchaseRequester â, âPurchase Manager â,and âERPâ respectively.
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 10/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 10
17. Model the first human activity âEnterPurchase Requestâ by dragging the
â Activi ty â speed button for the âStartâevent into the âPurchase Requester âlane and choosing âHumanâ from thecontext menu that pops up once you
inghave released the mouse button.Speed buttons appear while movthe mouse pointer over theappropriate icon (in our case theâStartâ event) in the diagram.
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 11/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 11
18. Model another human activity,connected from the just createdactivity, in the âPurchase Manager âlane and name it â Approve PurchaseRequestâ. In order to achieve this,
drag the â Activi ty â speed button ( )into the Purchase Managerâs lane andselect âHuman Activit yâ from the
context menu that pops up onceyouâve released the mouse button.
19. Model a gateway for âexclusive
choiceâ. In order to achieve this, dragthe âGatewayâ speed button into theâPurchase Manager âs lane and selectâExclusive Choiceâ from the contextmenu that pops up once youâvereleased the mouse button.
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 12/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 12
20. Create a new connection from thgateway
eback to the âEnter Purchase
Requestâ step by utilizing theâConnectionâ speed button. Drag the
speed button to the node you want aconnection to.
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 13/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 13
21. From the gateway create a newautomated activity in the âERPâ laneand name it âCreate PurchaseOrder
â.
22. Move the two automatically createdlabels â Alternat ive 1â andâ Al ternat ive 2â close to theconnections they are representing(see screenshot).
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 14/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 14
23. Rename the alternatives as follows:
odelling environment, click on the
the second label and name it
select the â Alternat ive 1â label in themâProperties â tab strip in the windowbelow and overwrite the labelâs namewith âResubmitâ. Repeat the step for
â Approvedâ
24. Finally connect the automated activitywith the End event.
25. The final result should look like thescreenshot to the right.
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 15/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 15
EB
xercise B: Modeling, Bu ild, Deploy and Run the Composite Bus iness Process w ith SAP NetWeaver
iness process. In this chapter you are going to bring all process elementssiness process as well as execute this process as an end user.
1. In exercise A you modeled theinvestment approval process. The
result is shown on the right side.This is the starting point forexercise B.
PM
In exercise A, you sketched the bustogether to a running composite bu
Step 1 â Configurations
A. Define portal user âbpm160userâ with appropriate authorizations.
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 16/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 16
B. Define AS Java Server an
1. Open SAP NetWeaverDeveloper Studio a
d Service Registry.
nd go toWindow Preferences.
2. Select âSAP AS Javaâ and addthe system name as the Javaserver. In this exercise weâll
use localhost as the AS JavaServer.
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 17/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 17
3. Select âService Registryâ andadd âlocalhostâ and portnumber. Click on Apply tosave the change.
C. Create Web Dynpro Projec ssign the dependency to the process modeling developmentcomponent.
kspace
NetWeaverDeveloper Studio:
1. (e.g:C:\workspace_beta20.jdi\LocalDevelopment\DCs\demo.sap.com)
t and a
âą Extract WebDynpro Projectinto thecorrespondingfolder:
âą Extract fileâpurchaserequest4.zip â to the pathof the wor of your
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 18/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 18
2. Create Web Dynpro project inSAP NetWeaver DeveloStudio:
3. In NetWeav
per
er DeveloperStudio choose window Open Perspective Development Infrastructu re.
4. In the Component BrowserView expand LocalDevelopment node andMyComponents. Select thenode âpurchaserequest4â andwith right mouse click to selectâSync/Create Projectâ âCreate Projectâ.
5. After the project is created,youâll be asked to switch to theWeb Dynrpo perspective toview the Web Dynpro project.Please click on âYesâ to switchto the Web Dynpro
Perspective. You can also goto Windows OpenPerspective Web Dynpro to open Web Dynproperspective directly.
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 19/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 19
6. Now you can see that projeâpurchaserecreated. You can expand thenote to see the ComponenViews etc.
ctquest4â is
ts,
7. Build and Deploy this Webynpro Project on the Server.D
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 20/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 20
8. Assign Web Dynpro Javacomponentâpurchaserequest4â as thedependent project for theprocess modelingdevelopment componentâbpm160exerciseâ. Detailsplease refer to exercise cstep 9.
D. Prepare the Enterprise Service which weâll use for our scenario.
1. We are going to use a standarddemo enterprise service(PurchaseOrderCreateRequestComfirmationIn ):which is delivered as the part ofSAP NetWeaver CE 7.1.
WSDL:http://<host>:<port>/PurchaseO
rderCreateRequestConfirmationInService/PurchaseOrderCreateRequestConfirmationIn?wsdl
If you want to get more detailedinformation for this demoEnterprise Service, please refer tothe document:https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e050d6ac-01a7-2a10-f5b3-80e2f137b57b
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 21/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 21
2. Go to Web Services Navigator and run the following service togenerate the data (Product,business partner etc) for theabove Enterprise Service.ttp://<host>:<port>/NWDemoAdh
minService/NWDemoAdmin?wsdl
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 22/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 22
1â for SellerID2â for BuyID
â USDâ for CurrencyCodeâ 10â for ItemIDâ PRâ for TypeCodeâ 1â for Schedule line
EventTypeCodeâ001â for UnitCode
)
3. Now you can test whether thisweb service does work.Please run this service within WebService Navigator.
Please enter the value as listed
below:ââ
â HT-1000â for SellerID (Product )â 10â for simple content(Quantity
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 23/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 23
If you can see the purchase ordernumber is available within the Result as the screenshot shown on the rightside, that means the web servicedoes work!
E. Check the Service into Service Registry.
In general this step is optional. Since in Exercise B step 4 weâll learn how to import the EnterpriseService from Service Registry to SAP NetWeaver Developer Studio, we need to first publish this Serviceinto Service Registry.
1. Enter the URLhttp://localhost:50000/rep in your browser to launch theEnterprise Services Repositor Then click on Services Registryand logon as user bpm160user
with pa
y.
ssword welcome123
2. On the next screen click onPublish.
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 24/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 24
3. Enterhttp://localhost:50000/PurchaseOr derCreateRequestConfirmationInService/PurchaseOrderCreateRequestConfirmationIn?wsdl as WSDL URL.
4. EnterPurchaseOrderCreateConfirmationIn as Internal Name andDescription. Continue with a clickon Next.
5. At the Physical System stepselect the Existing System optionand choose the System Name(the system name which youare operating). Then click onNext.
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 25/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 25
6. As service state seConfigured and go on with aon the Next button.
lectclick
7. On the next screen selectLifecycleStatus from thedropdown menu.
8. Then choose released and clickon the Add button. Complete thecreation with a click on Finish.
9. Confirm the operation with a clickon Ok.
10. Now you should get a messagewhich indicates that the servicewas successfully published to theServices Registry.
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 26/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 26
11. Finally search for*purchaseorder*, the result
side.
should look like the screenshot ashown on the right s
F. Define Logical Destination.
1. Enter the URLhttp://localhost:50000/nwain your browser to launch theNetWeaver Administrator .
2. Select SOA Management andclick on Destination TemplateManagement to start define thedestination for web service.
3. Select New to create a LogicalDestination for ServicePurchaseOrderRequestCon
firm
ationIn.
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 27/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 27
4. Type the following data into thewizard and then click Next:Destination Type: WSDLDestination Name:BPM160_Destination (this isexample. You can write anyhere. Later on you will use thisname to define the propertiesautomated activity please see
Step 4
anname
of
5. tion andSelect HTTP Authenticachoose the option âUserID/Password(Basic)â.Click on button Details tocontinue.
6. enterd password (any
user which has the administrationauthorization on the server. In ourexample we can useBPM160user/welcome123).
In the Details window pleasethe user name an
7. Leave other settings as they areand click on âFinishâ to completecreating the logical destination.
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 28/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 28
Step s/Pool
1. the
and youare able to edit its properties.With the tab â Appearanceâ youcan hide e.g. data object in thegraphical processrepresentation. In this example,select all of the âLevel of Detailâoptions.
2 â Edit properties of Proces
Maintain the properties ofpool:Click anywhere on the whitespace of the process
2. Maintain the properties of theprocess:Focus on the process (byclicking on it in the headersection containing the processtitle âInvestment ApprovalProcessâ. Right click and selectâProperties â from the context
which is modeled within thispool, select the option âMakethis pool activeâ.
menu. Now you are able to see
the properties window of theprocess.
As you are going todeploy/execute the process
3. Define the Administrators forthis process:Select tab â Administratorsâ inthe âProperties â window. PressButton âChooseâ to select anadministrator.
4. In the dropdown box on theupper left side select âUser â.
Enter username âbpm160use
in the appropriate input field andpress the âSearchâ button in theupper right corne
r â
r of the dialogbox.
bpm160user/welcome123 tolog on to the Java server).
(Use
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 29/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 29
Hint: As pre-requisite youneed to create the userbpm160user with theappropriate authorizations(âŠ..) on the portal.
5. From the âSearch Resultsâ listselect user âbpm160user â andclick on â Add â. Next click onâOKâ to close the dialog box.
6. Finally we have to adapt a usertext. Therefore select the âUserTextsâ tab in the âProperties âwindow. Replace the defaultvalue for the âSubjectâ field toâInvestment ApprovalProcessâ. During runtime thecontents of this field will beshown to navigate to theprocess viewer.
7. Save your changes.
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 30/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 30
Step 3 â Edit Human Activities
1. Next we want to maintain theproperties of the human activityâEnter Purchase R
equestâ.
Select the appropriate step in theprocess flow and choose theâProperties â tab in the pane below
the process flow. The propertiestab has itself tabs at the left side.
o theromtab
log
As we want to assign a task tstep, click on the âTaskâ tab. Fthe drop-down list of the âTaskâselect âNewâŠâ. The âNew Taskâdialog pops up. As name assignâEnter Purchase Requestâ andclick on âFinishâ to close the diabox.
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 31/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 31
2. As result a link appears in front ofthe taskâs name (sClick on the link âTaskâ tothe task editor winopens in the main area of thedeveloper studio.
ee screenshot).get into
dow which
3. Click on the tab âOverviewâ.Navigate to the section âUserInterfaceâ in the middle of thescreen and click on âChooseâ toassign the related Web Dynpro UIto this task. The âSelect a UIComponentâ dialog pops up.
Note: In order to assign WebDynpro UIs to tasks, some
bned
example). For this exercise theseprerequisites are fulfilled in yourproject already. Youâll learn how toprepare a standard web dynpro tobe consumed by SAP NetWeaverBusiness Process Management in
Exercise C.
prerequisites have to be fulfilled,
e.g. a dependency between theprocess modeling project and WeDynpro project has to be assigas well as making standard webDynpro UIs be consumable byGalaxy (the Web Dynpro UIs needcompletion and error events for
4. As the first step select thedependent Web Dynpro project(purchaserequest4) and its publicpart ( API). Click âNextâ to continue.
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 32/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 32
5. The Web Dynpro project contains2 screens. SelectâPurchaseRequest â asComponent andâPurchaseRequestInterfaceVieas the related interface view andthen click butt
w â
on âNextâ to continue.
6.
has
Select âCompleteâ as completion
event and click button âFinishâ tocomplete this wizard. Theassignment of the completionevent will help the process runtimelater to recognize when the UIbeen finished by the end user.
7. As result you can see the WebDynpro UI is assigned to this task.
8. Click the tab âRolesâ to get into throle editor. In se
â press
ection âPotential
Owners button âChooseâ toassign the correct user/role/groupto this particular task.
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 33/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 33
9. Assign the user âbpm160user âthis task. Save your changes by
clicking on the disc icon (
to
).Close the âEnter PurchaseRequestâ tab by clicking on thecross of the tab strip (seescreenshot).
10. Next maintain the human activityâ Approve Purchase Requestâ .For this jump back to your processflow and select the appropriatestep in the flow. In essence we will
repeat the steps we have executedalready for the human activityâEnter Purchase Requestâ. Fordetails refer back to the descriptionabove. Go to the âProperties âwindow and create a task with thename â Approve PurchaseRequestâ.
11. Click on the link in front of thetaskâs name to get into the task
editor window.
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 34/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 34
12. Click tab âOverview â anselect âChooseâ in the âUserInterfaceâ sectrelated Web Dynpro UI to this task.
d then
ion to assign the
13. Select the dependent Web Dynproproject (purchaserequest4) andits public part ( API). Click âNextâ tocontinue.
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 35/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 35
14.
â ApprovePurchaseInterfaceView â. Click on button âNextâ to continue.
Select the componentâ ApprovePurchaseâ and theinterface view
15. Select âCompleteâ as thecompletion event and press buttonâFinishâ for completing this wizard.
16. As result you can see that thecorrect Web Dynpro UI isto this task
assigned.
17. Repeat steps 5 and 6 to assignuser âbpm160user â to this task.
Note: Based on the businessscenario this task should beassigned to the purchasemanager, but in this exercise alltasks will be assigned to the sameuser to simplify the runtimeexecution.
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 36/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 36
Save your changes by clickin
the disc icon (
g on
).Close theâ Approve Purchase Requestâ tab.
Step 4 âEdit Automated Activities
. This step is about assigning a
service to the automatedactivity. Before we are able todo so, we need first import thisservice into SAP NetWeaverDeveloper Studio.
Navigate to âProject Explorerâ and expand node âprocessmodelingâ âservice
1
interfaces â âWSDL Filesâ andright mouse click to select thecontext menu âImport WSDLâ.
2. In this exercise an Enterprise
âNextâ tocontinue.
Service which is available inService Registry should beimported into SAPNetWeaver Developer Studio.Therefore please select theoption âService Registryâ in thewizard and click on
3. Log into the Service Registrywith bpm160user/welcome123and then click on âOKâ tocontinue.
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 37/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 37
4. Once connected to Service
perform free text search.Click âNextâ to continue.
Registry, you are able to find outthe appropriate EnterpriseService via classifications orfree-text search. In this exerciseplease type âpurchaseorder*â to
5. Select the service definitions asthe screenshot shown on theright sideand select the related endpo
Click âNextâ to continue.
ints.
6. In this step the service group willbe created. Leave the defaultsettingas it is and press button âFinishâ
to import the WSDL file intoDeveloper Studio.
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 38/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 38
7. Once the WSDL is successfullyimported, you will see the
â.service definition and operationunder node âService Interface
8. Once the service is available inthe SAP NetWeaver DeveloperStudio, you are able to assignthis service to the automatedactivity. Use a right mouse clickto focus on the automatedactivity âCreate PurchaseOrder â and select âProperties âfrom the context menu to access
.the âProperties â window
9. Select the âInterfaceâ tab on theleft side of the âProperties âwindow. Click on the âServiceInterfaceâ drop-down list andselectâPurchaseOrderCreateServiceâ
om the list. This entry appearsfr due to the fact that the servicewas imported to the projectbefore!
10. uttondestinationâ andcal destination
âBPM160_Destinationâ into theassociated field. For thisexercise the logical destinationhas already been predefined foryou in the SAP NetWeaver
Administrator.
Donât forget to save all yourchanges!
Next select the radio bâUse logicalenter the logi
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 39/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 39
Step 5 âEdit Start and End Events
1. Make sure that the interfacesfor the Start and End event ofyour process are assigned tothe âDefaultServiceâ. You canverify this by selecting the Start
(End) event in the process flowand switching to theâProperties â window below.
Hint: you have already donethis setting in exercise A.
Step 6 âEdit Data Objects
structure defined in an XSD file. XSDfiles are imported by right-clicking onnode âProcess Modeling DataTypes XSD Filesâ in the ProjectExplorer and selecting âImport XSDâŠâfrom the context menu. An appropriatewizard will open which guides youthrough the next import steps.
For this exercise please import fileâprocesscontext â which is alreadyprovided to you.
1. Defining Data Types:During the execution of a process datacan be stored in the so-called processcontext. In the modeling environment ofSAP NetWeaver BPM the processcontext is represented by a data
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 40/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 40
2. After you imported the XSD file to thisdevelopment
component, youâll see that under Dataprocess modeling
Type http://www.example.org/approvalprocess
3. o see the data definition you canTdouble click on the Data typeâInvestmentApprovalProcessâ. Thewindow shown in the screenshot willopen. Once finished with investigating
this window, you can close it tocontinue modeling within the processflow.
4. Now drag and drop the datâInvestmentAppro
a typevalProcess â from
the Project Explorer view (left panel)into the process diagram. In this wayyou add the process context (data type)to our Investment Approval Process.
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 41/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 41
Step 7 âEdit Mapping
1. Open the Properties of the first humaactivity âEnter Purchase Requestâ. AInput Mapping is not necessary in thisexample because no parameters will betransferred between start event and thefirst human activity. Therefore
nn
start with
Output Mapping to map the output ofthe first UI (on the left side) to theprocess context (on the right side).
2. You can/should use the functionality ofâ Automated Mapping â to map fieldswhich have same names. e.g. you can
drag and drop the node âTaskOutput UIResponse Requester â pemouse click (!!) from the left s
r rightide
(Outputs of Enter Purchase Request) tothe right side (Process context) andthen select the menu âMapautomaticallyâ.
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 42/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 42
3. If you want to map manually, either youdo the same procedure as wasexplained in step 4
1 and then selectmenu âCreate mappingâ, or you candirectly drag and drop a particular fieldname from the left side to the right sidewith the left mouse button.
4. Complete the output mapping forâRequester â and âProductâ. The result isshown as screenshot (Leverage
s will save
a lot of time and effort for yourimplementation project.).
automated mapping functionality asmuch as you can because thi
5. Now we would like to assign the actualdate to the âorderDateâ. To do so,
please double click on the sign
which is in front of âorderDateâ.
Now the editor window opens.
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 43/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 43
6. Open the folder âRules and Functionsâand you can find the function âcurrent-dateTime()â as the screenshot shownon the right side.
7. Drag and Drop this function from leftwindow to the right window.
8. After the function appears in thefunction editor, add the bracket â()â afterthe current-dateTime. Now you will see
that the red cross disappears whichmeans that the syntax for this functionnow is correct.
With 5-8 we assigned the current date
essand time to the âorderDateâ in proccontext.
9. inue with the input
â. For thisthe human
est.
Mapping .
Next we will contmapping of the next human activity
se Requestâ Approve Purchaopen the properties of activity âApprove Purchase Requ
Navigate to tab Input
Edit the input mapping as is shown inthe screen shot on the right side.
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 44/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 44
10. Navigate to tab Output Mapping.
Edit the output mapping for the humanactivity â Approve Purchase Requestâ as is shown in the screen shot on theright side.
11. Open the property window for theautomated activity âCreate PurchaseOrderâ.
Navigate to tab Input Mapping. Pleasemap the following fields from processcontext to Input fields for CreatePurchase Order (see screen shots onthe right side).
12. For other mandatory input fields, pleaseadd the constant via double click on the
object sign (e.g. )and then type â â and a particular value.
Please do the following constantmapping:
â 1â for SellerIDâ 2â for BuyIDâ USDâ for CurrencyCodeâ 10â for ItemIDâ PRâ for TypeCodeâ 1â for Schedule line EventTypeCodeâ 001â for UnitCode
Donât forget to save all your changes!
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 45/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 45
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 46/57
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 47/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 47
3. Next we move to the secondon
ext
gate âResubmitâ. Right clickthe connection and selectâProperties â from the contmenu.
4. On the âConditionâ tab edit thecondition line for theâResubmitâ gate as follows:Open the folder âRules andFunctions â on the right side.Drag and drop the functionânotâ (itâs located in the
packageâsap.com/bpem/glx/built-in/booleanâ) to the left side (intothe editor) for editing
t â(â after the
conditions. After the functionappears in the editor, add anopening brackefunctionâs name (seescreenshot).
5. Next drag and drop thecontext data âorderApproved âinto the condition editor andplace it after the openingbracket. Finally add the closingbracket â)â (see screenshot).Donât forget to always click onâsaveâ to save your condition.
In essence this conditionmeans: if the âorderApprovedâvariable coming from theprocess context is false, thenthe âResubmitâ connection has
to be executed. Negating it viathe âNOTâ function makes thecondition of the gate to âtrueâand therefore it fires.
Save your changes!
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 48/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 48
Step 9 âBuild and Deploy
1. Now you are going to buand deploy the proSwitch to the perspectivâDevelopmentInfrastructureâ.
ildcess.
e
2. In the Component Browserpane on the far left right-clickon the projectâbpm160exerciseâ(underneath the âLocalDevelopment MyComponentsâ node) andselect âBuildâŠâ from thecontext menu.
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 49/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 49
3. In the dialog box that pops upall related projects are listed.Select only the processmodeling projectâbpm160exerciser â forbuilding. The Web Dynproproject is already built anddeployed on your server. Clickon âOKâ to continue.
4. A dialog will popup and showyou the status of the build.
At the end youâll get thesmessage that the build i
successfully running through.
5. After the successful Buildcan start to deploy the projecton the Java server (onceagain right click on the projectand select âDeplo
, you
yâ from the
quest4 project isNOT checked in theupcoming âDeploy DCsâ dialogbox! Confirm the dialog box byclicking on âOKâ.
Useâbpm160user/welcome123âto logon to the Java server incase you are requested toenter the credentials.
context menu).
Double check that thepurchasere
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 50/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 50
Step 10 âStart the Process
In this section youâll learn how an admini trator starts the process. In the real business scenario you will have form, Visual Composer UI or any Java Web Dynpro UI) to start the
er Administrator (Favorites BPM160 SAPNetWeaver Administrator ) andlogon with the credentialsâbpm160user/welcome123â.
s ea particular user interface (Adobprocess.
1. Once the deployment has beenfinished successfully, open yourbrowser and make use of thepredefined favorite to call theSAP NetWeav
2. Click on âConfigurationManagementâ in the first levelnavigation and âProcesses andTasksâ in the second levelnavigation.
3. Follow the link âProcessRepositoryâ to get a list of allsuccessfully deployedprocesses.
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 51/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 51
4. Select the deployed processâbpm160exerciseâ and its latestversion (it is marked as active inthe âComponent Versionsâsection â 2nd table). Select therow of type âProcess Definitionâin the third table (Processes,
Tasks and Rules) on that screenand click on the âStart Processâbutton. A new browser windowopens containing the BPMProcess Start dialog (see nextstep).
5. Select the first row in thert
particular id has been startedsuccessfully.
process table and click on âStaProcessâ. As result you will seea message at the bottom that aprocess instance with a
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 52/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 52
Step 11 -- Execute the Process as e
6. In order to execute the processwe have to wait for work itembeing sent out by the processruntime. They will show-up in theUniversal Worklist (UWL) whiccan be accessed via the portal.
Therefore login to the portal via a
nd user
s
h
the secondlevel navigation to actually displaythe Universal Worklist.
predefined favorite Favorites BPM160 SAP NetWeaverPortal. As usual enterbpm160user/welcome123 ascredentials.
Click on âWork â in
7. The first task âEnter PurchaseRequestâ appears in the Universal
Worklist. If not, please click on therefresh button in UniversalWorklist.
8. Click on the task and you areguided to the user interface forâEnter Purchase Requestâ.
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 53/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 53
9. Click on the link âInvestment Approval Process â in the headarea of the âEnter PurchaseRequestâ screen to open theprocess viewer in a new bro
er
wserwindow, which displays thegraphical representation of the
running process together with theruntime information.10.
ute running process instance
Here you are able to see theactual process information aboth(processor, status, my tasks etc). Close the window to jumpback to the step.
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 54/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 54
11. Enter âHT*â in the âProduct IDâ field and â*â in the âDescriptionâfield of the âProduct Searchâsection. Click on âSearch â to
e
A confirmation dialog pops uptelling you that the task has beenfinished successfully. Click onâCloseâ to close the dialog box
initiate the product search.
From the result table select any
product which is listed in the tabland fill the mandatory fieldsâQuantityâ and âCommentâ. Clickon âSubmitâ to finish this task.
12. Refresh the UWL: click on the -button and select âRefreshâ fromthe menu.
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 55/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 55
13. The second task is appearing inthe UWL.
14. Click on the task â ApprovePurchase Requestâ to access thesecond task UI. You can notice
that the data from the first task(product id, price, quantity,comments etc) are transferred tothe second task.
15. Fill the field âCommentâ and selectthe check box â Approvedâ. Click
on âSubmitâ to get to the next stepof the process. Confirm theâInformationâ dialog that pops upby clicking on âCloseâ.
16. If you refresh the UWL this time,no tasks should be displayedbecause both human activitieshave already been completed.
The last activity in our process
was an automated activity tocreate the purchase order locallyin the database.To check whether this purchaseorder is created in the database,we first need to know thepurchase order number.Therefore we
The last activity in our process was an automated activity to create the purchase order locally in thedatabase. To check whether this purchase order is created in the database, we first need to know thepurchase order number. Therefore now we start the Guide 2 to add the notification screen which includesthe purchase order number as the last step to the investment approval process.
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 56/57
Building a Composite Business Process from Scratch with SAP NetWeaver BPM â Guide 1
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2008 SAP AG 56
Related Content
is series, in the Business Process Modeling articles areaSee Guide 2 and Guide 3 of th .
For more information, visit the Business Process Modeling homepage.
8/10/2019 Building a Composite Business Process From Scratch With SAP NetWeaver BPM - Guide 1
http://slidepdf.com/reader/full/building-a-composite-business-process-from-scratch-with-sap-netweaver-bpm- 57/57