Professional Documents
Culture Documents
UWL
Ginger Gatling
SAP Labs, LLC
Agenda
© SAP AG 2009 / 1
Agenda
You have multiple SAP applications that use SAP Business Workflow
The same users have alerts and workflow tasks from multiple systems
You want a central task list for multiple systems (SAP and non-SAP)
Universal
SAP NetWeaver Worklist
Portal
SAP Business
KM Notifications Application
Application Non-SAP SAP NetWeaver
Workflow
System tasks BPM
System
Guided
Procedures
Alerts
Application
System
Customize UWL
XML
Standard
inbox
features:
Substitution
Standard
workflow
features:
Main launch action: Launch Forwarding
via button or via hyperlink Assignment
© SAP 2009 / Page 6
2. End user personalization
Column order
Sorting
Lines per page
Deadline indicators
<Action name="launchSAPDetails" …
<Properties>
<Property
name="display_order_priority"
value="uwlExcludeFromPreviewDetail“
/>
</Properties></Action>
Tip!
A list of action names for standard
features is found in the UWL
configuration documentation.
A memo is
created and
automatically
passed to
subsequent
work items
Careful!
Comments are only
saved when an answer
button is pressed. Ask
users to use addMemo
to add comments when
forwarding.
1. Copy the ItemType tag for your decision-based workflow task from
uwl.webflow.<OurSystemAlias>
<ItemType name=uwl.task.webflow.decision.TS99999999 …
2. Within the ItemType tag, add an Actions tag, with an Action tag for each button
<Actions> <Action name="approved" groupAction="yes" handler="UserDecisionHandler"
returnToDetailViewAllowed="yes" launchInNewWindow="no"> On the first button only:
<Properties> <Property name="UserDecisionNote" value="true"/> Turn on the note and set
up the note title
<Property name="decisionKey" value="1"/>
<Property name="UserDecisionTitle" value="Enter a Rejection Reason"/> </Properties>
<Descriptions default="Approved"/> </Action>
On the other
<Action name="rejected" groupAction="yes" handler="UserDecisionHandler" buttons:
returnToDetailViewAllowed="yes" launchInNewWindow="no"> Indicate if a
<Properties> <Property name="UserDecisionNote" value="mandatory"/> note is
mandatory
<Property name="decisionKey" value="2"/> </Properties>
<Descriptions default="Rejected"/> </Action> </Actions>
Get the correct values for the decisionKey by running function module
Tip! SAP_WAPI_DECISION_READ against any work item based on the
relevant workflow task
Use Multi-approval/rejection
Tip!
Save time by using the standard view WorkItemApprovalsView
3. Add the View tag for your business process to the end of the file – just
above </UWLConfiguration>
4. Change the default View of each process-specific task to your View
<ItemType name="uwl.task.webflow.TS10008126.<OurSystemAlias>"
connector="WebFlowConnector" defaultView=“OurShopCartView" …
Tip!
If there is no ItemType tag for your task in uwl.webflow.<OurSystemAlias>,
copy uwl.task.webflow.default from file uwl.webflow and change “default” to
your task ID “TS9999999”
<ItemTypes>
<ItemType name="uwl.task.webflow.TS9980791" connector="WebFlowConnector" defaultView="BusinessPartners"
defaultAction="defaultAction">
<ItemTypeCriteria externalType="TS9980791" connector="WebFlowConnector"/>
<CustomAttributes>
<CustomAttributeSource id="ABAP_BOR" objectIdHolder="externalObjectId" objectType="BUS1006"
cacheValidity="default">
<Attribute name="BUSINESSPARTNER" type="string" displayName="Business Partner"/>
<Attribute name="DESCRIPTION" type="string" displayName="Name"/>
<Attribute name="CATEGORY" type="string" displayName="Type of partner"/>
</CustomAttributeSource>
</CustomAttributes>
</ItemType>
</ItemTypes>
<Views>
<View name="BusinessPartners" selectionMode="SINGLESELECT" width="98%"
supportedItemTypes="uwl.task.webflow.TS9980791"
columnOrder="subject, isEscalated, creatorId, createdDate, priority, attachmentCount, dueDate, status, BUSINESSPARTNER,
CATEGORY, DESCRIPTION" >
<DisplayAttributes>
<DisplayAttribute name="BUSINESSPARTNER" type="string" sortable="no" maxTextWidth="0" headerVisible="yes">
<Descriptions default="Business Partner"/> </DisplayAttribute>
<DisplayAttribute name="DESCRIPTION" type="string" sortable="no" maxTextWidth="0" headerVisible="yes">
<Descriptions default="Name"/> </DisplayAttribute>
<DisplayAttribute name="CATEGORY" type="string" sortable="no" maxTextWidth="0" headerVisible="yes">
<Descriptions default="Type of partner"/> </DisplayAttribute>
</DisplayAttributes>
</View>
</Views>
</UWLConfiguration>
Tip!
To apply the SWFVISU settings you need to:
• Re-register the system
• You will see a matching entry in the file uwl.webflow.MySystemAlias
Don’t forget to clear the Cache!
2. UWL wizard
https://help.sap.com/javadocs/NW04S/current/uw/index.html
Tip!
To find the iView go to:
Portal Content > Content Provided by
SAP > End User Content > Standard
Portal Users > iViews >
This is valid only for standard iView. If you
have an iView assigned to particular
portal role, you have to go for that role.
© SAP 2009 / Page 32
7. Recommendations for
substitution
Sender name:
Make sure it identifies the
system/client to avoid
confusion during testing
Consider what you will need for the long term (not just
for the first-phase workflows)
Consider how you want your users to use standard
features
Especially Substitution and Forwarding
One workflow inbox in the Portal – the UWL
Decide your corporate attitude towards the Windows GUI SAP
Business Workplace inbox (avoid supporting it if you can)
Don’t forget the obvious
Consistency in subject and detail text format
Support Information:
Appears immediately
below the work item
preview.
Consider what you will need for the long term (not just
for the first-phase workflows)
Consider how you want your users to use standard
features
Especially Substitution and Forwarding
One workflow inbox in the Portal – the UWL
Decide your corporate attitude towards the Windows GUI SAP
Business Workplace inbox (avoid supporting it if you can)
Don’t forget the obvious
Consistency in subject and detail text format
Support Information:
Appears immediately
below the work item
preview.
© SAP AG 2009 / 47
Resources
Configuring your system for SAP Business Workflow is required before you can use SAP
Business Workflow.
Workflow tasks include several standard tasks and steps in the overall process. Each
workflow and task is uniquely identified at runtime via a work item.
Options for users to access their work items include: SAP Business Workplace in SAP GUI,
Universal Worklist, SAP NetWeaver Business Client, and email clients such as Microsoft
Outlook and Lotus Notes.
Users use their outbox to know what workflows they have started and the status of all
workflows where they are a participant in the workflow.
Key terms you need to understand before starting a workflow project include business
objects, workflow tasks, standard tasks, work item, business objects, possible agent,
responsible agent, rules, containers, bindings, events.
At this point, you should consider the following for your workflow project: what business
objects will be involved, what tasks do you need, what users should be involved, how will you
know what users to include at runtime, how should the users receive their tasks, what
information do they need to execute their tasks.
© SAP AG 2009 / 49
Thank you!
© SAP AG 2009 / 50
Key Points to Take Home
UWL FAQ
https://wiki.sdn.sap.com/wiki/display/BPX/UWL+FAQ
SAP Press
Universal Worklist with SAP NetWeaver Portal
Practical Workflow for SAP, 2nd edition, due June 2009
©SAP
© SAP2007
2009 / Page
/ Page 53 53
Copyright 2009 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.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, Duet, Business ByDesign, ByDesign, PartnerEdge 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 in several other countries all over the world. All other product and service names mentioned and associated
logos displayed are the trademarks of their respective companies. Data contained in this document serves informational
purposes only. National product specifications may vary.
The information in this document is proprietary to SAP. This document is a preliminary version and not subject to your license
agreement or any other agreement with SAP. This document contains only intended strategies, developments, and
functionalities of the SAP® product and is not intended to be binding upon SAP to any particular course of business, product
strategy, and/or development. SAP assumes no responsibility for errors or omissions in this document. SAP does not warrant
the accuracy or completeness of the information, text, graphics, links, or other items contained within this material. This
document is provided without a warranty of any kind, either express or implied, including but not limited to the implied warranties
of merchantability, fitness for a particular purpose, or non-infringement.
SAP shall have no liability for damages of any kind including without limitation direct, special, indirect, or consequential damages
that may result from the use of these materials. This limitation shall not apply in cases of intent or gross negligence.
The statutory liability for personal injury and defective products is not affected. SAP has no control over the information that you
may access through the use of hot links contained in these materials and does not endorse your use of third-party Web pages
nor provide any warranty whatsoever relating to third-party Web pages
Standard
inbox
features:
Substitution
Standard
workflow
features:
Main launch action: Launch Forwarding
via button or via hyperlink Assignment
© SAP 2007-2008 / Page 55
Problem: We Just Upgraded and We
Need to Set Up the UWL Fast!
Solution: The minimum steps for setting up
the Universal Worklist
1. Go to System Administration > System Configuration > UWL Administration
2. Create an entry for your system using its System Alias
3. Register the system
Register/re-register:
Generates the UWL XML configuration file
uwl.webflow.MySystemAlias, a delta file that adds specific
configuration for your workflow tasks to the standard
delivered files uwl.standard and uwl.webflow
Tips!
Re-register whenever you:
Create new workflow tasks
Make changes in transaction SWFVISU or WF_EXTSRV
Clear the Cache to make new changes appear:
After re-registering
After changing any UWL XML configuration file
Good practice is to clear the cache when there are no
logged on users (that could use UWL) on the portal.
© SAP 2007-2008 / Page 57
Where Do I See That?
Tip!
To apply the SWFVISU settings you need to:
• Re-register the system
• You will see a matching entry in the file uwl.webflow.MySystemAlias
Don’t forget to clear the Cache!
Tips!
To apply the SWFVISU settings you need to:
• Re-register the system
• Note: You won’t see any changes in the file uwl.webflow.MySystemAlias
Don’t forget to clear the Cache!
Tip!
To find the iView go to:
Portal Content > Content Provided by
SAP > End User Content > Standard
Portal Users > iViews >
Tip!
Using an XML editor is helpful, but not
3. Don’t forget to clear the Cache! essential – you can maintain your XML
file using WordPad if you wish.
Use the UWL Configuration DTD file to
check your XML syntax.
Tip!
A list of action names for standard
features is found in the UWL
configuration documentation.
3. Add the View tag for your business process to the end of the file – just
above </UWLConfiguration>
4. Change the default View of each process-specific task to your View
<ItemType name="uwl.task.webflow.TS10008126.<OurSystemAlias>"
connector="WebFlowConnector" defaultView=“OurShopCartView" …
Tip!
If there is no ItemType tag for your task in uwl.webflow.<OurSystemAlias>,
copy uwl.task.webflow.default from file uwl.webflow and change “default” to
your task ID “TS9999999”
Tips!
If there is no ItemType tag for your task in uwl.webflow.<OurSystemAlias>, copy
uwl.task.webflow.default from file uwl.webflow and change “default” to your task ID
“TS9999999”
If there is no Action tag for your button, copy the relevant action tag from uwl.webflow
The Descriptions tag supports multiple languages (see the UWL Configuration DTD)
A memo is
created and
automatically
passed to
subsequent
work items
Careful!
Comments are only
saved when an answer
button is pressed. Ask
users to use addMemo
to add comments when
forwarding.
2. Within the ItemType tag, add an Actions tag, with an Action tag for each button
<Actions> <Action name="approved" groupAction="yes" handler="UserDecisionHandler"
returnToDetailViewAllowed="yes" launchInNewWindow="no"> On the first button only:
<Properties> <Property name="UserDecisionNote" value="true"/> Turn on the note and set
up the note title
<Property name="decisionKey" value="1"/>
<Property name="UserDecisionTitle" value="Enter a Rejection Reason"/> </Properties>
<Descriptions default="Approved"/> </Action>
On the other
<Action name="rejected" groupAction="yes" handler="UserDecisionHandler" buttons:
returnToDetailViewAllowed="yes" launchInNewWindow="no"> Indicate if a
<Properties> <Property name="UserDecisionNote" value="mandatory"/> note is
mandatory
<Property name="decisionKey" value="2"/> </Properties>
<Descriptions default="Rejected"/> </Action> </Actions>
Get the correct values for the decisionKey by running function module
Tip! SAP_WAPI_DECISION_READ against any work item based on the
relevant workflow task
Tip!
Save time by using the standard view WorkItemApprovalsView
Tip!
Learn more and download the SONiC
Connector from SDN:
www.sdn.sap.com/irj/sdn/go/portal/prt
root/docs/library/uuid/8525afd0-0d01-
0010-aaa0-ac6b9e3a2907
https://help.sap.com/javadocs/NW04S/current/uw/index.html
Sender name:
Make sure it identifies the
system/client to avoid
confusion during testing
Contact
Jocelyn Dart
Senior Consultant
Workflow, PPIM
SAP Australia
Level 1
168 Walker St.
North Sydney NSW 2060
The information in this document is proprietary to SAP. This document is a preliminary version and not subject to your license
agreement or any other agreement with SAP. This document contains only intended strategies, developments, and
functionalities of the SAP® product and is not intended to be binding upon SAP to any particular course of business, product
strategy, and/or development. SAP assumes no responsibility for errors or omissions in this document. SAP does not warrant
the accuracy or completeness of the information, text, graphics, links, or other items contained within this material. This
document is provided without a warranty of any kind, either express or implied, including but not limited to the implied warranties
of merchantability, fitness for a particular purpose, or non-infringement.
SAP shall have no liability for damages of any kind including without limitation direct, special, indirect, or consequential damages
that may result from the use of these materials. This limitation shall not apply in cases of intent or gross negligence.
The statutory liability for personal injury and defective products is not affected. SAP has no control over the information that you
may access through the use of hot links contained in these materials and does not endorse your use of third-party Web pages
nor provide any warranty whatsoever relating to third-party Web pages