Reasons to Use UWL and Customize[1]

48
Top 10 reasons to use Universal Worklist: Getting the most out of Universal Worklist Jocelyn Dart Platinum Consultant and guru of all things workflow and UWL SAP Australia Ginger Gatling SAP NetWeaver Solution Management SAP Labs

Transcript of Reasons to Use UWL and Customize[1]

Page 1: Reasons to Use UWL and Customize[1]

Top 10 reasons to useUniversal Worklist:Getting the most outof Universal Worklist

Jocelyn DartPlatinum Consultant and guru of all things workflow and UWLSAP Australia

Ginger GatlingSAP NetWeaver Solution ManagementSAP Labs

Page 2: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 1

Why getting the business process right isn’t enoughMaking the most of the UWL – “Out of the Box”Quick win extensions to the UWLMore advanced extensionsExtended Notifications for mail integrationStrategy tipsWrap-up

What We’ll Cover …

Page 3: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 2

Why Getting the Business ProcessRight Isn’t Enough

A high quality end-userexperience ensures higher qualityparticipation in businessprocesses with fewer supportcallsTaking a strategic approach tothe end-user experience …

Encourages fast and effective userparticipation in the processMakes it easier for business processowners to focus on process specificsinstead of “re-inventing the wheel”Reduces TCO for user training time,support costs, development time

PLEASE NOTE: This session presents options currently available in EP 7.0 with an SAP NetWeaver® 7.0back end (such as ECC 6.0). Most, but not all, options are available in earlier EP and SAP NetWeaver/R/3releases.

Time and time again we seecompanies putting lots of

effort into getting theirworkflow processes right,

but neglectingthe end-user experience

The Forgotten Step

Page 4: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 3

Why getting the business process right isn’t enoughMaking the most of the UWL – “Out of the Box”Quick win extensions to the UWLMore advanced extensionsExtended Notifications for mail integrationStrategy tipsWrap-up

What We’ll Cover …

Page 5: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 4

ApplicationSystem

ApplicationSystem

ApplicationSystem

Reason 1: UWL supports multipletask types

SAP BusinessWorkflow

KMNotifications

AlertsGuidedProcedures

SAP NetWeaverBPM

Non-SAPtasks

Universal Worklist renders tasks from multiple provider systemsUniversal Worklist is delivered with the SAP NetWeaver PortalProvider systems connect to UWL via connectorsConnectors such as SAP Business Workflow, Alert connector are provided by SAPUWL provides an API so that connectors can be written by partners and customers

UniversalWorklistSAP NetWeaver

Portal

Page 6: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 5

SAP Business Workflow is used in applications inthe SAP Business Suite (CRM, SRM, ERP) and someusers must execute tasks in more than one system

Your users have different types of tasks they needto access (alerts, Guided Procedures, NetWeaverBPM tasks) and you want to centralize on a single tasklist

Your users have SAP and non-SAP tasks and youwant to centralize on a single task list

You should consider UWL if…

Page 7: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 6

This presentation slantstowards SAP BusinessWorkflow. Not all taskproviders have the samefeature set.

Please Note!

Page 8: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 7

Reason 2: UWL is included in SAPNetWeaver Portal, standard functionality

Main launch action: Launchvia button or via hyperlink

The Universal Worklist — “Out of the Box”

Standardinboxfeatures:Substitution

You can also:Add attachmentsView history

Standardworkflowfeatures:ForwardingAssignment

Page 9: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 8

Reason 3: Basic configuration isdone in matter of minutes

The minimum steps for setting upthe Universal Worklist

1. Go to System Administration > System Configuration > UWL Administration2. Create an entry for your system using its System Alias3. Register the system

Page 10: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 9

The results of basic UWL configuration

Register/re-register:Generates the UWL XML configuration fileuwl.webflow.MySystemAlias, a delta file that adds specificconfiguration for your workflow tasks to the standarddelivered files uwl.standard and uwl.webflow

Tips!Re-register whenever you:

Create new workflow tasksMake changes in transaction SWFVISU or WF_EXTSRV

Clear the Cache to make new changes appear:After re-registeringAfter changing any UWL XML configuration file

Page 11: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 10

Where Do I See That?

You can viewand download allUWL XMLconfigurationfiles (and theUWLConfigurationDTD file) on theConfigurationContent page inthe UWLAdministrationview. You canalso upload yourown customUWL XMLconfigurationfiles.

Page 12: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 11

Reason 4: UWL by default knowshow to launch tasksThe default launch mechanism for all work itemssourced from an SAP Business Workflow is SAPGUI forHTML, but you can override this.

Tips!You can override the defaultlaunch mechanism using anyof the following:

Special settings in the task(e.g., DECISION.PROCESSmethod)Settings in transactions:SWFVISU, WF_EXTSRVCreating a custom UWL XMLconfiguration fileGlobally in the PCD entry forthe UWL iView

Don’t forget to re-registerand clear the Cache!

Page 13: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 12

Reason 5: You can launch a WebDynpro Application insteadMost SAP-based Web applications can be launched bymaking an entry in the Task Visualization section oftransaction SWFVISU. You don’t even need to changeyour workflow task!

Page 14: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 13

So What Do I Put in the TaskVisualization?You need to enter your application type and application ID

The application type pre-determines what other details are needed

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!

Page 15: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 14

Substitution is done either inprovider systems or UWLYou can prevent users from creating/deletingsubstitution rules in the Object Visualization section inthe Portal Content Directory

Tip!To find the iView go to:

Portal Content > Content Provided bySAP > End User Content > StandardPortal Users > iViews >

Page 16: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 15

Why getting the business process right isn’t enoughMaking the most of the UWL – “Out of the Box”Quick win extensions to the UWLMore advanced extensionsExtended Notifications for mail integrationStrategy tipsWrap-up

What We’ll Cover …

Page 17: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 16

Reason 6: UWL look can becustomized …Just three steps …1. Create a custom UWL XML configuration file (use the standard files as

examples) with your delta changes2. Upload the file. You can upload multiple files and name them however

you wish (e.g., mycompany.PLM.<OurSystemAlias>).

3. Don’t forget to clear the Cache!

Tip!Using an XML editor is helpful, but notessential – you can maintain yourXML file using WordPad if you wish.Use the UWL Configuration DTD file tocheck your XML syntax.

Page 18: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 17

Reason 6 … and there is a wizard to help

The UWL Administration viewincludes these wizards:

Define custom attributes andcustomize the corresponding view

Define and configure what youwant to launch when an item isclicked

Customize attributes and definewhat you want to launch when anitem is clicked (both of the aboveoptions)

Customize the look of the UWLmain page (tabs, etc.)

Page 19: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 18

Reason 7: Memos can be added …

Activate the standard Add Memo featureView Memos shows automatically once a memo has been added toa work item

Page 20: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 19

Reason 7 …and passed on to thenext agent …

1. Download the standard file uwl.webflow2. Rename the file (e.g., mycompany.webflow)3. Add the “Add Memo” action here:

<ItemType name="uwl.task.webflow" …

<Actions>

<Action reference="addMemo"/>

<Action reference=“manageAttachments” ….

4. Upload the file and clear the Cache

Page 21: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 20

Reason 7 …you can enforce areason for rejection

Use the User Decision with Note style

A memo iscreated andautomaticallypassed tosubsequentwork items

Careful!Comments are onlysaved when an answerbutton is pressed. Askusers to use addMemoto add comments whenforwarding.

Page 22: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 21

Enforcing a reason for rejection

1. Copy the ItemType tag for your decision-based workflow task fromuwl.webflow.<OurSystemAlias> – change decision to your own decision name

<ItemType name=uwl.task.webflow.ourdecision.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">

<Properties> <Property name="UserDecisionNote" value="true"/>

<Property name="decisionKey" value="1"/>

<Property name="UserDecisionTitle" value="Enter a Rejection Reason"/> </Properties>

<Descriptions default="Approved"/> </Action>

<Action name="rejected" groupAction="yes" handler="UserDecisionHandler"returnToDetailViewAllowed="yes" launchInNewWindow="no">

<Properties> <Property name="UserDecisionNote" value="mandatory"/><Property name="decisionKey" value="2"/> </Properties>

<Descriptions default="Rejected"/> </Action> </Actions>

On the first button only:Turn on the note and setup the note title

On the otherbuttons:Indicate if anote ismandatory

Get the correct values for the decisionKey by running function moduleSAP_WAPI_DECISION_READ against any work item based on therelevant workflow task

Tip!

Page 23: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 22

You can also hide unwantedfeaturesCompletely hide unwanted features globally by addingthe Exclude from UWL Preview and Detail property

Tip!A list of action names for standardfeatures is found in the UWLconfiguration documentation.

Don’t hide it until you knowwhat it does!

<Action name="launchSAPDetails" …<Properties>

<Propertyname="display_order_priority"value="uwlExcludeFromPreviewDetail“/>

</Properties></Action>

Page 24: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 23

Reason 8: You can create filters bytasks.Solution: Create your own process-specific filters

Filters show as Subviews if, and only if, the user has work items of thatprocess in his/her worklistFilters automatically give a count of new/total number of work items

Page 25: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 24

Creating filters by task…

1. Copy the ItemType tag for your workflow task fromuwl.webflow.<OurSystemAlias>

2. Copy the defaultView tag from file uwl.standard. Rename it, add adescription, and link it to your process-specific tasks.

<Views>

<View name=“OurShopCartView" selectionMode="SINGLESELECT" width="98%"supportedItemTypes="uwl.task.webflow.TS10008126,uwl.task.web…. >

<Descriptions default=“Shopping Carts“/> …. </View> </Views>

3. Add the View tag for your business process to the end of the file – justabove </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” toyour task ID “TS9999999”

Page 26: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 25

What Else Can I Do with Filters?

Change sort orderProperty sortby in the View tag

Change column orderProperty columnOrder in the View tag

Change durations for due date color codingProperties dueDateSevere (turns due date red) anddueDateWarning (turns due date yellow)Note: Duration is in milliseconds (e.g., 86400000 = 1 day)

Add columns (DisplayAttributes tag) – try the wizard!Add buttons (Actions tag)Add multi-approval/rejection

Page 27: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 26

What Else Can I Change for aSpecific Workflow Task?

Hide unwanted buttonsSet the property display_order_priority touwlExcludeFromPreviewDetail for a specific Action within theItemType

Change the launch mechanismE.g., launch a transaction in WinGUI instead of WebGUI

Add extra fields (CustomAttributes tag) for display inthe View or to pass to the launch application

Try the UWL configuration wizard!

Add buttons (Actions tag)

Page 28: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 27

Why getting the business process right isn’t enoughMaking the most of the UWL – “Out of the Box”Quick win extensions to the UWLMore advanced extensionsExtended Notifications for mail integrationStrategy tipsWrap-up

What We’ll Cover …

Page 29: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 28

Reason 9: You can add your owncolumns and..

Add your own Custom Attributes

Tip! Try the UWL Configuration Wizard!

Page 30: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 29

Reason 9: You can do massprocessing

Use Multi-approval/rejection

Tip!Save time by using the standard view WorkItemApprovalsView

Page 31: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 30

Use action handlers to create acustom forward button

Add your own actions using theAction handlers (e.g., createyour own custom “Forward toSuperior” button calling yourown custom function moduleusing theFunctionModuleActionHandler)

Tip!Make sure you read the UWLAdvanced Configuration guide tounderstand what properties arerelevant for each handler!

PortalEventLauncherUserDecisionHandlerUpdatingContainerHandlerFunctionModuleActionHandlerTerminatingEventHandlerXhandlerLauncherUrlLauncherObjectNavigationLauncherObjectLinkLauncherSAPBSPLauncherSAPTransactionLauncherSAPWebDynproABAPLauncherSAPWebDynproLauncherSAPIACLauncherSAPMiniAppLauncherSAPAppLauncherIViewLauncher

Page 32: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 31

Reason 10: We Want One Inbox forAll Work – SAP and Non-SAP

Include non-SAP work in the UWL by using the UWLJava API to create your own UWL Connector

https://help.sap.com/javadocs/NW04S/current/uw/index.html

Page 33: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 32

How Much Work Is It to use the UWLAPI?

UWL API has the following parts:

1. Registration Service to register a unique ID for the non-SAP“system ID”

2. UWL Connector Service to push and pull the worklist from thenon-SAP system and map it to the UWL item attributes

3. Action Handler Services to support any buttons you need

4. Attachment Connector Services to support any attachments youneed (optional)

5. UWL XML Configuration for your non-SAP item types

Estimated effort: 10-30 person days depending on depth of integration.Basic integration is usually possible within 10-15 days.

Page 34: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 33

But Has Any One Else Done This …

Connectors already exist for:WebFlowAd Hoc WorkflowAlertsKM Action InboxGeneric ABAP connector

Publicly available details of how others did it:SONiC Connector – available as part of the SONiC downloadUWL Connector for MDM

See SDN Blog www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/4762RSS Feeds – presented at SAP TechEd

This has been implemented at a number of customersalready – and it’s the same approach as is used for thestandard connectors

Page 35: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 34

Why getting the business process right isn’t enoughMaking the most of the UWL – “Out of the Box”Quick win extensions to the UWLMore advanced extensionsExtended Notifications for mail integrationStrategy tipsWrap-up

What We’ll Cover …

Page 36: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 35

How Do I Get from My Email Inboxto the UWL?Use Extended Notifications to notify users of work, givinghyperlinks to launch into the UWL. Avoids complexintegration issues with mail groupware versions.

Page 37: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 36

We Need to Set Up ExtendedNotifications Fast

1. Create a Delivery Schedule2. Add a Subscription to Scenario WORKFLOW Category STANDARD3. Create a Schedule Selection for filter ALL_DELTA4. Adjust the General Settings

Minimum setup of Extended Notifications intransaction SWNCONFIG, then schedule a batch jobfor program SWN_SELSEN

Page 38: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 37

We Need Details but Not SPAM

By default, emails are only sent if the user has hadwork added to his/her inbox since the last job run,and he/she has not yet executed the work

Additionallysetting Granularityto One MessageContains MultipleNotifications in theSubscription givesa maximum of oneemail per user perjob run, but withsufficient detail toassess theurgency of thework.

Page 39: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 38

Why getting the business process right isn’t enoughMaking the most of the UWL – “Out of the Box”Quick win extensions to the UWLMore advanced extensionsExtended Notifications for mail integrationStrategy tipsWrap-up

What We’ll Cover …

Page 40: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 39

UWL Strategy Tips

Consider what you will need for the long term (not justfor the first-phase workflows)Consider how you want your users to use standardfeatures

Especially Substitution and ForwardingOne workflow inbox in the Portal – the UWL

Decide your corporate attitude towards the Windows GUI SAPBusiness Workplace inbox (avoid supporting it if you can)

Don’t forget the obviousConsistency in subject and detail text format

Don’t turn it off until youunderstand what it does!

Page 41: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 40

Why Do Texts Matter So Much?

The no-control approach:No consistency, not sortable,critical information is buried

A better way:Sortable on action type, criticalinformation first, quicker toassess and respond

Page 42: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 41

Give Yourself a Break …

In your Development Portal, turn on the UWL SupportInformation in the Portal Content Directory. This can save youa lot of time when configuring the UWL XML.

Support Information:Appears immediatelybelow the work itempreview.

Page 43: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 42

Why getting the business process right isn’t enoughMaking the most of the UWL – “Out of the Box”Quick win extensions to the UWLMore advanced extensionsExtended Notifications for mail integrationStrategy tipsWrap-up

What We’ll Cover …

Page 44: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 43

Top 10 reasons to use UWL

1. UWL supports multiple tasks types

2. UWL is included in as standard functionality in SAP NetWeaverPortal

3. Basic configuration can be done minutes

4. UWL knows how to launch tasks

5. You can launch develop new UI’s, such as Web Dynpros and usethem to launch tasks

6. UWL look and feel can be customized

7. You can add memos and enforce rejection reasons

8. You can create filters for specific tasks

9. You can add custom columns

10. You can access non-SAP tasks via UWL API

Page 45: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 44

Key Points to Take Home

Don’t settle for UWL “Out of the Box”

Don’t leave usability up to your developers

Business process owners need to sign off on usability

As a minimum, set up UWL Filters to improve usability

Set enterprise-wide Workflow Standards to improveconsistency

Consider what you will need for the long term

Don’t turn it off until you know what it does

Page 46: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 45

Resources – UWL Configuration

Advanced Configuration of UWLhttp://help.sap.com/saphelp_nw70/helpdata/en/27/8be9f12c6746158328764a13c0ef99/frameset.htm

SDN UWL Blogswww.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_weblog&query=UWL&adv=false&sortby=cm_rnd_rankvalue

SDN Extended Notification Blogswww.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_weblog&query=SWNCONFIG&adv=false&sortby=cm_rnd_rankvalue

SAP SDN BPM and Workflow Forumhttps://forums.sdn.sap.com/forum.jspa?forumID=146

Page 47: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 46

Thank you!

Page 48: Reasons to Use UWL and Customize[1]

© SAP 2009 / Page 47

Copyright 2009 SAP AGAll rights reservedNo part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission ofSAP 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 softwarevendors.SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, Duet, Business ByDesign, ByDesign, PartnerEdge and otherSAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAPAG in Germany and in several other countries all over the world. All other product and service names mentioned and associatedlogos displayed are the trademarks of their respective companies. Data contained in this document serves informationalpurposes 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 licenseagreement or any other agreement with SAP. This document contains only intended strategies, developments, andfunctionalities of the SAP® product and is not intended to be binding upon SAP to any particular course of business, productstrategy, and/or development. SAP assumes no responsibility for errors or omissions in this document. SAP does not warrantthe accuracy or completeness of the information, text, graphics, links, or other items contained within this material. Thisdocument is provided without a warranty of any kind, either express or implied, including but not limited to the implied warrantiesof 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 damagesthat 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 youmay access through the use of hot links contained in these materials and does not endorse your use of third-party Web pagesnor provide any warranty whatsoever relating to third-party Web pages