Académique Documents
Professionnel Documents
Culture Documents
How-To Guide
Applicable Releases:
SAP NetWeaver Master Data Management 7.1 SP07 and higher
Topic Area:
Enterprise Information Management
Capability:
Master Data Management
Version 3.2
December 2013
Document History
Document Version
3.2
Description
Correction: You can only configure a Result Set iView for different roles
and for different groups. This is not relevant for Result Set Web Dynpro
components.
For more information, see Configuring the Result Set on page 22.
3.1
Added a note that a Split to Job button is only shown if a Result Set
iView was launched from an Approve step of a workflow job in MDM
Universal Worklist (UWL).
3.00
2.00
A new section has been added which covers the configurations that can
be implemented in the portal to determine what portal content is
available to portal users. These include: Portal Roles, UWL iView
Launcher, and Step-based Item Types.
For more information, see Portal Configurations on page 28.
1.00
Typographic Conventions
Icons
Type Style
Description
Icon
Example Text
Example text
Example text
Example text
<Example
text>
EXAMPLE TEXT
Description
Caution
Note or Important
Example
Recommendation or Tip
Table of Contents
1
Overview ........................................................................................................................................ 1
1.1
Introduction ......................................................................................................................................1
1.2
Prerequisites ................................................................................................................................... 3
2.2
2.3
2.2.1
Subviews ........................................................................................................................... 5
2.2.2
UWL Buttons..................................................................................................................... 5
2.2.3
2.2.4
Background..................................................................................................................... 10
2.3.2
2.3.3
2.3.4
Configuring the mdm.xml file for MDM Web Dynpro Components ........................... 19
5.1.2
December 2013
Overview
1.1
Introduction
The runtime environment is a Workflow tab within the MDM Data Manager client of MDM. Assigned users carry
out the steps of the workflow. For example, a user adds records to a workflow and launches the workflow as a
job. Each job consists of the records that move through each step of the workflow as a series of tasks, which
eventually show up in the user's inbound box for processing.
For more information about UWL, see SAP Help Portal at http://help.sap.com/netweaver choose
your SAP NetWeaver release and search for SAP NetWeaver Portal Universal Worklist.
For more information about MDM Workflow, see SAP Help Portal at http://help.sap.com/nwmdm71
SAP NetWeaver Master Data Management 7.1 System Administration and Maintenance Information
MDM Data Manager Reference Guide MDM Workflows.
For more information about MDM Portal iViews and MDM Web Dynpro Components, see the following
guides located on SAP Help Portal at http://help.sap.com/nwmdm71 SAP NetWeaver Master Data
Management 7.1:
December 2013
1.2
Business Scenario
The following process describes a typical business scenario that includes integrating UWL and MDM Workflow
with MDM iViews and MDM Web Dynpro components in the portal:
P r o...
The workflow owner creates a new (empty) workflow in UWL by choosing Create Job on the UWL user
interface.
A portal user selects records in a preconfigured MDM Result Set iView or MDM Web Dynpro component
in the portal and adds these records to the empty workflow job.
Depending on the design time settings in the MDM Data Manager client, the MDM Workflow is launched
either manually or automatically.
Once the MDM Workflow is launched, a workflow step appears in the UWL inbox of the person who will
be modifying the record (the modifier).
The modifier chooses Show Record Details on the UWL user interface and a Result Set (iView or Web
Dynpro component) displays the workflow records that can be edited.
The modifier updates the records and chooses a button (for example, Send for Approval) to move the
workflow to the Approval step.
A workflow step appears in the UWL inbox of the person who must approve the record (the approver).
The approver chooses Show Record Details and the records are displayed in a Result Set (iView or Web
Dynpro component).
The approver reviews the record changes, approves the changes, and moves the workflow to the Stop
step. If the approver does not approve the changes he/she changes the status of the record to Not
Approved and chooses Send Previous to return the record to the modifier for further changes.
A list of prerequisites that must be set up in order to integrate UWL, MDM Workflow, and MDM standard
iViews or MDM Web Dynpro components in the portal.
For more information, see Prerequisites on page 3.
General overview of the user interface of the UWL in an MDM implementation focusing on subviews,
buttons, and MDM-specific attributes. We also explain how to display MDM record details on the UWL
user interface so that portal users can identify the records that are linked to their workflow jobs or
tasks.
For more information, see The Universal Worklist (UWL) User Interface on page 4.
In the third and fourth sections we provide a step by step explanation of how to configure the delivered
UWL XML configuration file for both Portal iView and Web Dynpro component implementations.
For more information on how to configure the mdm.xml file for Portal iViews, see Configuring
the mdm.xml file for MDM Portal iViews on page 12.
For more information on how to configure the mdm.xml file for Web Dynpro components, see
Configuring the mdm.xml file for MDM Web Dynpro Components on page 19.
December 2013
2.1
Prerequisites
Recommendation
When UWL is initially installed, a single UWL is defined. One of the configuration properties is the
Configuration Groups property, which is left blank. The default behavior of the blank setting
is that when a user logs on to UWL, it tries to log the user on to all registered backend systems.
When a large number of systems are accessed during log on, the overall portal load increases
substantially. Also, the user receives error messages from those backend systems that have no
user account for the particular UWL user.
For more information on how to configure the UWL for large system landscapes, see Registering
the Provider Systems.
To enable integration of UWL, MDM Workflow with MDM Portal iViews or MDM Web Dynpro components,
ensure that the following prerequisites are instituted:
You have installed one of the following supported SAP NetWeaver releases, together with SAP
NetWeaver Application Server (AS) Java:
The following software components have been deployed on your SAP NetWeaver Application Server
Java:
Portal Content for NW 7.0 instance that includes the following software components:
Portal Content for NW 7.3 instance that includes the following software components:
MDM EP 7.1 7.11 (UWL software component that contains the UWL connector)
MDM EP 7.1 7.11 (UWL software component that contains the UWL connector)
Deployment of the MDM EP 7.1 7.11 automatically creates the MDM UWL configuration called, mdm.
December 2013
ii.
Scroll down the main page and choose Click to Manage Item Types and View Definitions.
The Universal Worklist Configuration Content pane opens.
iii.
In the Current Configurations tab, you should see the MDM configuration file called mdm.
c. Check that the MdmUwlConnector connector is visible in the Connector Type dropdown list
as follows:
Navigate to System Administration System Configuration Universal Worklist & Workflow
Universal Worklist Administration. The Universal Worklist Systems pane opens. In the
Connector Type field, you should see MdmUwlConnector.
Recommendation
If the above configuration name and connector type are not available, see SAP
Note 1437590.
The SAP MD M 7.1 so ftwar e comp one nts ( MDM Ser ver , MD M Da ta Man ager , a nd MDM Co nsol e) ar e inst alled .
SAP MDM 7.1 software components (MDM Server, MDM Data Manager, and MDM Console) are
installed.
Note
If you are using the default configuration for an iView implementation, then the Business Partner
and Product standard repositories must be available.
If you are using the default configuration for a Web Dynpro component implementation, then
the Product standard repository must be available.
You have verified that the workflow template and the workflow scenario are operational in the MDM
Data Manager.
2.2
For more information about UWL, see SAP Help Portal at http://help.sap.com/netweaver
choose your SAP NetWeaver release and search for SAP NetWeaver Portal Universal
Worklist.
For more information about MDM Workflow, see SAP Help Portal at
http://help.sap.com/nwmdm71 SAP NetWeaver Master Data Management 7.1 System
Administration and Maintenance Information MDM Data Manager Reference Guide . Read
the chapter called MDM Workflows.
When you access the UWL, depending on your configuration, the following tabs (navigation controls) are
visible on the UWL user interface: Tasks, Alerts, Notifications, SAPoffice Mails, and Tracking).
In an MDM implementation, only the Tasks tab is relevant. From the Tasks tab, you can select and navigate
between various subviews. The buttons that appear on the UWL interface depend on the subview that you
select.
December 2013
2.2.1
Subviews
2.2.2
UWL Buttons
In an MDM implementation, the buttons on the user interface of the UWL depend on the following:
For more information about UWL, see SAP Help Portal at http://help.sap.com/netweaver
choose your SAP NetWeaver release and search for SAP NetWeaver Portal Universal
Worklist.
For more information about MDM Workflow, see SAP Help Portal at
http://help.sap.com/nwmdm71 SAP NetWeaver Master Data Management 7.1 System
Administration and Maintenance Information MDM Data Manager Reference Guide. Read the
chapter called MDM Workflows.
For more information on how to configure the UWL XML configuration file, see Configuring the
Universal Worklist XML File on page 10.
Subview
Action
Launch
My Open
MDM Jobs
Add/Remove
Records
My Open
MDM Jobs
Opens a popup window where you can add records to or remove records from
a workflow job
Delete
My Open
MDM Jobs
December 2013
Button
Subview
Action
My Open
MDM Tasks
Completed
MDM Tasks
History
My Open
MDM Tasks
Opens a popup window showing the transaction log of the MDM workflow
Completed
MDM Tasks
Show Record
Details
My Open
MDM Tasks
Completed
MDM Tasks
Note
There are two ways in which a user can view the records in a workflow job or
task:
Placing a Result Set iView or Web Dynpro component on the same page
as the UWL.
Assume
Next Step
My Open
MDM Tasks
My Open
MDM Tasks
Sends a workflow task to the next step. A Next Step of Workflow popup
window opens showing what the next step is and the users who have to carry
out these steps.
For more information, see MDM Data Manager Reference Guide MDM
Workflows Executing Workflow Jobs.
Recommendation
For portal iViews we recommend that you change the default value of the
Display only the active MDM workflow actions property to
Yes. In this way, only the active workflow actions are displayed in the Next
Step of Workflow popup window.
To locate the Next Step of Workflow iView in the portal, carry out the following
steps:
...
December 2013
1.
2.
3.
Button
Subview
Action
Create Job
(top right
hand corner)
All subviews
Opens a popup window where the portal user can select a workflow template
and create an empty MDM workflow job.
For more information, see Creating a New Workflow in the UWL on page 27.
If there is not at least one MDM workflow item in the UWL, the Create Job
button is not visible. This is default UWL behavior.
Recommendation
To enable the Create Job button to always appear on the UWL
user interface, add an Action to the currently uploaded XML
configuration that contains the following Views:
DefaultView
AllItemsView
WorkItemsCompletedView
2.2.3
You can personalize the UWL user interface by selecting any display attributes in the dropdown list from the
Personalize View menu these display attributes appear as columns on the UWL user interface.
Apart from the generic UWL columns, the following MDM-specific display attributes are included in the MDM
XML configuration file that is delivered as part of the MDM portal content:
Step Name
Step ID
MDM Status
Records
Job ID
User Names
Workflow Table
Diagram showing some generic UWL columns and some MDM-specific columns
Note
In the Records column (a generic UWL column), you can configure the UWL to show the display
value of the linked records of a workflow job or task.
For more information, see Displaying Details about MDM Linked Records in UWL on page 8.
Note
In the Sent column, the timestamp can be seen in a tool tip.
December 2013
2.2.4
The UWL is designed to display work items (for example, MDM workflow tasks and jobs) including details
about these work items (for example, task ID, start date, end date, and so on). There is no meaningful
information pertaining to the MDM record or records that are linked to each work item.
Use Case
A user needs to be able to determine at a single glance which record or records they need to update in the
listed jobs or tasks in the UWL.
To show which MDM records are linked to a specific workflow job or task in the UWL, configure the system
object property, Workflow with Tables as follows:
1.
Enter the <tableCode> followed by ~<number>, where <number> represents the number of
records to display in the UWL for the workflow jobs of a specific MDM table.
For example: Products~2
If you enter only the table code, or the table code followed by ~0, the Record Counter displays the
number of records found in the search but no records are displayed.
2.
To enable multiple tables for a workflow, enter each <tableCode> separated by a comma.
For example: Products~2, Vendors~3
Example
Ten MDM records are linked to a job:
If you enter only the table code, or the table code followed by ~0, the Record Counter displays
the number 10 indicating that ten records were found in the search (the actual records are not
displayed).
If you enter the table code followed by any other number (for example, <tableCode>~6), the
Record Counter displays [6/10] indicating that10 records were found in the search and for 6
out of the 10 linked records, the actual display values appear in the Workflow Records column of
the UWL.
For more information, see SAP Help Portal at http://help.sap.com/nwmdm71 SAP NetWeaver Master Data
Management 7.1 Integration of SAP Components with MDM MDM Portal Content Development Guide .
Read the chapter called Configuring a System Object.
CAUTION
Due to performance and user interface usability issues, we do not recommend that you
configure this property to more than 10 displayed values.
The screen captures below show the configuration of the Workflow with Tables property during
design time and runtime.
Design Time (System Object Property Editor)
December 2013
Note
You can also show details of a record by placing an MDM Result Set iView or Web Dynpro
component on the same portal page as the UWL. However, this option only lists the MDM
records linked to a single, selected workflow item. You would need to select each workflow item
in the UWL to see which records are linked to it.
December 2013
2.3
2.3.1
Delivered portal content supports both MDM Portal iViews (iViews) and MDM Web Dynpro components (WD
components) and includes a preconfigured UWL XML configuration file called mdm.xml.
December 2013
10
Note
In the MDM Data Manager, before you delete a job or task in a workflow, you can check in all
records that have been checked out for editing. A popup window appears and you can select the
preferred action: Yes to check in, No to roll back, and Cancel to cancel the delete operation.
A similar feature is now available in the UWL Result Set iView or the UWL Result Set Web Dynpro
component, but the action is automatic. All records that were previously checked out for editing
are automatically rolled back before the job or task is deleted.
Note
For technical support of the MDM UWL configuration, use the MDM-FN-TC OSS component.
2.3.2
The mdm.xml file is a standard UWL XML structure. Originally the mdm.xml file contained elements for
iViews only. As of MDM 7.1 SP07, the mdm.xml file also includes elements for Web Dynpro components. By
default, only the iView related elements are active and the section of the XML structure pertaining to Web
Dynpro components is commented out.
The structure of the new mdm.xml file is divided up into segments. In order to facilitate referencing these
segments in our procedure, we will call them segment 1, segment 2, and segment 3.
Segment 1
This is the <!--iViews--> segment of the XML file and differs from the original XML file that was supplied
with iViews in that it only includes two elements Actions and Item Types; the Views element is
excluded.
Action
In the Action element, we define what actions a user can carry out in a view for the View and Item
Type elements in the UWL XML structure. An Action element is often visualized as a button on the
December 2013
11
user interface of the UWL (depending on the job or task selected and on the value of the Item Type
element in the XML configuration), but can also be visualized as a menu entry.
For more information about UWL Action elements, see SAP Help Portal at
http://help.sap.com/netweaver choose your SAP NetWeaver release and search for SAP NetWeaver
Portal Configuring the Universal Worklist Configuration DTD Action.
The following are examples of Action elements that are available in the MDM UWL structure:
nextStep
showHistory
createJob
showDetails
Item Type
In the Item Type element we define the specific type of workflow item and how it behaves. For
example, you can define which page is launched from the UWL on which users can perform their tasks.
The following Item Type elements are available in the UWL XML structure:
Segment 2
This is the Web Dynpro component segment of the XML structure and is displayed as <!--MDM WD
Customization .... This segment references only one repository and by default is commented out and
ignored by the UWL. To enable this segment, you must remove the tags that comment out this segment.
Segment 3
This is the <Views> segment of the XML configuration file and is used by both an iView or Web Dynpro
component implementation. Defines the view name and the look and feel of the UWL (column order, sort
order, filter conditions, and many more visual properties).
The customized View elements available in the UWL XML structure are:
Jobs
Tasks
Completed
Recommendation
We recommend that you use UWL with either iViews or Web Dynpro components; do not use
both together.
In both cases, you must configure the mdm.xml file. The sections below explain the
configuration procedures for both an iView and Web Dynpro component implementation.
2.3.3
This section explains how to customize the mdm.xml file to connect to and display MDM workflows for a
custom MDM repository.
The process includes the following main steps:
...
...
Cr eate a sys tem o bjec t a nd d efin e a sys tem alia s to uni quel y ide nti fy t he sys tem.
1.
Create a system object and define a system alias to uniquely identify the system.
2.
3.
4.
December 2013
12
5.
6.
Check that the UWL displays the MDM workflows for the custom repository and that the MDM jobs and
tasks are visible.
The following procedure provides more details for each of the above steps.
Procedure
Step 1: Create a system object and define a system alias to uniquely identify the
system
Note
If you have already created a system object while using standard MDM iViews, you do not have
to create a dedicated system object - in this case, start with Step 3 below.
...
For mor e inf or matio n, see
1.
2.
3.
Configure the Tables with Workflows property in the UWL to show details about the records
linked to each job or task.
For more information, see Displaying Details about MDM Linked Records in UWL on page 8.
5.
System Alias
The MDM system alias name that you defined for the
MDM system object in Step 1 point 2 above.
Connector Type
Role
December 2013
i.
ii.
Scroll down the page and choose Click to Manage Item Types and View Definitions.
iii.
In the Current Configurations tab, select the mdm configuration file. The content of the
XML file is displayed below.
13
iv.
Scroll down to the bottom of the screen and choose Download Configuration to
download the mdm.zip file.
Note
The mdm.zip file contains the mdm.xml file as well as the mdm.properties and the
mdm_<code>.properties files. (The *.properties files are the translation files).
b. Rename the mdm.zip file to mdm_custom.zip.
c. Extract the mdm.xml file from the mdm_custom.zip file.
d. Rename the extracted mdm.xml file. In our example, we have renamed it mdm_custom.xml.
e. Go back to the mdm_custom.zip file and delete the original mdm.xml file. Your modified XML
file (mdm_custom.xml), will eventually replace it.
7.
Edit the copied mdm_custom.xml file, so that it includes only those elements that need to be updated
for the specific properties of the custom repository; all other generic elements should remain only in the
mdm.xml file.
8.
Customize the mdm_custom.xml file to include the custom repository properties and semantics.
Tip
When customizing the mdm_custom.xml file, if you are creating a new configuration for a
single custom repository, you do not need references to both the Products and the BuPa
repositories. To remove the duplicate references, delete the references to the Products
repository and leave only the references to the BuPa repository and adapt them to your custom
repository. You can see an example in the diagram below.
Grid View of the XML configuration before removing duplicated references:
December 2013
14
9.
c. Change the system aliases and the table code names in all the Item Type elements.
December 2013
15
The name of the Item Type contains the alias name and the table code of the table that
contains the workflows.
The naming convention is: uwl.task.mdm.jobs.<System Alias>.<table code>
For example:
uwl.task.mdm.jobs.SAP_MDM_Repository_BuPa.MDM_BUSINESS_PARTNERS
Completed Task
Jobs
Tasks
The name o f t he
d. In the jobs Item Type, change the iView PCD path of the addRecordsToJob action to the
PCD path of the Result Set iView you created.
For more information, see Configuring the Result Set Step 2: Locate the PCD address of the
portal page on page 24.
December 2013
16
In the following example, you can see where this change has been made:
e. You can also change the default mode of the Result Set iView. This step is optional. There are
two modes in which you can view the MDM Workflow Result Set iView:
result_set mode which displays all MDM records from the repository
view_task mode which only displays the MDM records linked to the job or task
For example:
CAUTION
Ensure that this configuration does not conflict with the configuration settings in the Result Set
property editor. For example, if you set the property Is Result Set Mode enabled to
No, you cannot use the result_set mode as the default view.
For more information about the configuration settings in the Result Set Property Editor, see
Configuring the MDM Result Set Step 1: Create at least one MDM Result Set iView or MDM
Web Dynpro component to be referenced from the UWL on page 23.
December 2013
17
10.
We recommend that you validate your customized XML file using an XML editor (for example XML Spy),
by referencing the standard UWL DTD schema file.
Note
The uwl_configuration.dtd file can be downloaded from the Current Configurations tab
by choosing Download DTD (at the bottom of the screen).
11.
When you have completed the configuration of the mdm_custom.xml file, add it to the
mdm_custom.zip file.
13.
14.
Note
You can enter any name for the Configuration Name property.
15.
December 2013
18
16.
Step 6: Check that the UWL displays the MDM workflows for the custom repository
17.
Log on to the portal with the relevant role. The top-level navigation workflow displays the UWL with
MDM workflow jobs and/or tasks of the connected repositories.
2.3.4
1.
Create a system object and define a system alias to uniquely identify the system.
2.
3.
4.
5.
6.
Check that the UWL displays the MDM workflows for the custom repository and that the MDM jobs and
tasks are visible.
The following section provides more details for each of the above steps:
Procedure
Step 1: Create a system object and define a system alias to uniquely identify the
system
1.
Carry out the same steps as you did for Portal iViews.
For more information, see Configuring the mdm.xml file for MDM Portal iViews Create a system
object and define a system alias to uniquely identify the system on page 13.
Carry out the same steps as you did for Portal iViews.
For more information, see Configuring the mdm.xml file for MDM Portal iViews Define a UWL
Connector to connect to the MDM repository on page 13.
Carry out the steps 5-7 as you did for Portal iViews.
For more information, see Configuring the mdm.xml file for MDM Portal iViews Create a Custom
XML file on page 13.
4.
December 2013
19
5.
WebDynproApplication
Replace the reference to the Master Application Utility with the custom application
name.
WebDynproDeployableObject
Replace the value of the Master Application Utility with the custom application's
deployable object path.
DynamicParameter
Replace the parameters of the Master Application Utility with the parameters of the
custom application.
Note
In the shipped Web Dynpro content, we use the Master Application Utility to check the
user's configured MDM Web Dynpro components. The custom application's parameters
eventually replace those of the Master Application Utility.
If the user wishes to use the URL parameters for the delivered Master Application Utility,
the property values are valid for the DynamicParameter property and do not have to
be changed.
For more information, see SAP Help Portal at http://help.sap.com/nwmdm71 SAP
NetWeaver Master Data Management 7.1 Development Information MDM Web
Dynpro Components: Reference Guide . Read the chapter called Master Application Utility
for Viewing Configured Components.
b. Replace the SystemAliasName and ProductTableCode properties with the custom
application's system alias and MDM workflow table code (correspondingly) for
completedtask, job and task Item Types. The naming convention is:
December 2013
20
For example:
c. To add records to a job, in the jobs Item Type, change the three Web Dynpro component
properties (shown in the example below) of the addRecordsToJob action.
d. Change the default mode of the Result Set iView. This step is optional. There are two modes in
which you can view the MDM Workflow Result Set iView:
result_set mode, which displays all MDM records from the repository
view_task mode, which only displays the MDM records linked to the job or task
For more details and examples of the two view modes, see Configuring the mdm.xml file for
MDM Portal iViews Step 3: Create a Custom XML File step 8e on page 17.
6.
We recommend that you validate your customized XML file using an XML editor (for example XML Spy)
by referencing the standard UWL DTD schema file.
Note
The uwl_configuration.dtd file can be downloaded from the Current Configuration tab
by choosing Download DTD (at the bottom of the screen).
December 2013
21
7.
When you have completed the configuration of the mdm_custom.xml file, add it to the
mdm_custom.zip file.
Carry out the same steps as you did for Portal iViews.
For more information, see Configuring the mdm.xml file for MDM Portal iViews Upload the custom
mdm.custom.zip configuration file on page 18.
Carry out the same steps as you did for Portal iViews.
For more information, see Configuring the mdm.xml file for MDM Portal iViews Clear the UWL Cache
on page 18.
Step 6: Check that the UWL displays the MDM workflows for the custom repository
10.
Carry out the same steps as you did for Portal iViews.
For more information, see Configuring the mdm.xml file for MDM Portal iViews Check that the UWL
displays the MDM workflows for the custom repository on page 19.
To display MDM records of an MDM workflow item in the UWL as a Result Set iView or Web Dynpro
component, you must create at least one iView or Web Dynpro component and reference it from the UWL.
In an actual scenario, you would configure more than one Result Set iView or Web Dynpro component (and/or
page) for the following reasons:
You may need different Result Set iViews or Web Dynpro components for different Item Type
elements (tasks, jobs, or completed tasks). For example, a Result Set generated from the UWL Add to
Job button (jobs Item Type), would differ from a Result Set popup window generated from a UWL
Show Details button (tasks Item Type).
For more information, see Item Type on page 12.
This approach is implemented in the standard delivered configuration file, where each Item Type has
already been configured to reference a different PCD path of the Result Set applicable to a particular
use. For example, a Result Set used for adding or removing records from unlaunched jobs, or a Result
Set used for showing the records of a workflow task.
You may need different popup Result Set iViews for different roles and for different groups respectively.
Note
Not applicable for MDM Web Dynpro components.
For more information, see Role-Based iView Launcher and Group-Based iView Launcher respectively on
page 30.
You would need different popup Result Set iViews or Web Dynpro components for different steps of a
workflow.
For more information, see Step-Based Item Types on page 30.
December 2013
22
In this section we explain how to reference a Result Set from the UWL and how to configure the Result Set to
show the MDM records in a workflow job.
Step 1: Create and configure at least one MDM Result Set iView or MDM Web
Dynpro component to reference from the UWL
Configuring the Result Set iView
1.
2.
3.
In the iView Property Editor, select Customization from the Property Category dropdown list.
4.
Set the following Workflow Result Set iView customization options according to the action button on the
UWL:
Customization
Property
Description
UWL Action
Button
Add/Remove
Records
UWL Action
Button
Show Record
Details
Default
Is Add to
Job Enabled?
Yes
No
No
Is Remove
From Job
Enabled?
Yes
No
No
Is Resultset
Mode
Enabled?
Yes
No
Yes
Is ViewTask
Mode
Enabled?
Yes
Yes
Yes
Is Workflow
Enabled?
No
No
No
Is Refresh
UWL Enabled?
Yes
No
No
December 2013
23
5.
Description
UWL Action
Button
Add/Remove
Records
UWL Action
Button
Show Record
Details
Default
Parameters
to Pass
from Page
Request
Enter an asterisk
(*) next to this
property
Enter an asterisk
(*) next to this
property
Empty
ViewTaskRecordsHand
ler URL event. If the
event is an EPCF
viewTask event, this
property is not required.
Recommendation
6.
Add the Result Set iView that you have created to your portal page as a delta link.
2.
In the Component Properties tab (step 2 of the wizard), set the following MDM Workflow and UWL
setting options according to the action button on the UWL.
The table below shows the specific workflow configuration properties and how they should be set for
each Result Set WD component:
Customization Property
Description
Default
Enable Add to
Job
False
Enable Remove
From Job
False
False
In the Portal Catalog, add the page to a portal role as a delta link.
2.
Open the portal role for editing, and select the page with the MDM iViews.
3.
4.
5.
December 2013
24
Note
For a launched workflow, an MDM Result Set automatically supports the following steps:
Approve
Disapprove
Split Job
Validation
For example, when a given workflow reaches an Approve step, an MDM Result Set iView or Web
Dynpro component is launched with the Approve or Disapprove action buttons. A Split to Job
button is only shown if the Result Set iView was launched from an Approve step in MDM UWL.
CAUTION
If there are too many records in a Result Set iView or Web Dynpro component, loading a
workflow takes a long time because the system attempts to load all records on one page (paging
is not supported).
Step 3: Configure the Result Set to display the records of a UWL MDM Workflow
Item
MDM records of a UWL MDM workflow item can be displayed in a Result Set in one of the following ways:
...
Placing the MDM Result Set on the Same Page as the UWL
If you place a Result Set iView or Web Dynpro Result Set component on the same page as the UWL, the
Result Set displays the records for the corresponding Job ID selected in the UWL. Optionally, you can
configure the Result Set to show only workflow records and disable all other functions.
Note
The Result Set iView /WD component and the UWL must have the same System Alias.
Note
The Web Dynpro Result Set component and the UWL must have the same connection
properties (in other words, the same MDM server, repository name referenced from the
Destination, and the portal system object
December 2013
25
UWL
Job ID
Subject
User Name
Due
101
July 8
222
July 8
Records corresponding
to the workflow job
selected in the UWL
Note
The UWL raises the event at given intervals even if no record is selected in the UWL.
December 2013
26
4.1
You can create a new, empty workflow in the UWL and later add records to the workflow in the MDM Result Set
iView or Web Dynpro component. (This option is not supported in MDM Data Manager).
Prerequisites
You have created an MDM Result Set iView or MDM Result Set Web Dynpro component.
For more information, see Configuring the Result Set on page 22.
1.
From the UWL user interface, choose the Create Job button to open a popup window.
Note
In the popup window you see that all valid workflow templates are defined as follows:
All the valid templates are grouped under the relevant System Object MDM workow-enabled Table
Code template as follows:
For example:
System
Table Code
Valid Template 1
Valid Template 2
2.
Select the valid template. A message appears that the workflow job has been created.
For example, Job 12345 created in MDM Server<XXX>, repository<YYY>, table
<products> using Workflow Template <WWW>
3.
4.
Select the new workflow job and choose Add/Remove Records. A popup window shows that no records
are linked to the job.
5.
6.
December 2013
27
Portal Configurations
There are some configurations that can be implemented in the portal to determine what portal content is
available to portal users. These include:
Note
For MDM portal iViews you can also achieve this scenario by using the UWL
MDMIViewLauncher to launch different popup MDM Result Set iViews or pages depending
on the users Portal role and Portal group assignments.
For more information, see UWL iView Launcher on page 30.
Launching dedicated popup Result Set iViews or Web Dynpro components for each step of a workflow
When a portal user selects the Show Record Details button, a popup window can be launched
depending on the workflow step name the same user who is responsible for different steps in the
workflow, will see different popup Result Sets.
For example, the Show Record Details button can launch Portal Page 1 for a Create step in the workflow
and Portal Page 2 for an Approval step.
For more information, see Step-Based Item Types on page 30.
These features are shipped with the standard MDM software, but the actual configuration is NOT. Therefore
configuration steps are required by the portal administrator according to the customer's requirements.
In the following sections we explain how to carry out these configurations.
5.1.1
Portal Roles
User access to portal content is determined by role definitions. You can limit the access of portal users to the
MDM repository workflow by assigning them a portal role to the UWL system.
...
1.
2.
Enter the following search criteria: Role Portal Role *mdm* to locate the required MDM role. You
will enter this role name in the User Roles property when configuring the UWL.
December 2013
28
3.
December 2013
29
5.1.2
The UWL iViewLauncher is an action handler that is used to launch any iView or page in the portal.
For more information, go to the SAP Help Portal, at http://help.sap.com/netweaver and search for
the SAP NetWeaver Portal Administration Guide. Read the chapter called iViewLauncher.
The direct link is: iViewLauncher.
The MDMIViewLauncher is a customized version of the UWL iViewLauncher and is used to launch
different popup iViews or pages according to:
Portal role
For more information, see Role-Based iView Launcher on page 30.
Portal group
For more information, see Group-Based iView Launcher on page 30.
Note
To enable functionality of the MDMIViewLauncher:
Ensure that the URL of the target iView has the correct syntax (see examples below).
When a portal user chooses the UWLs Show Record Details button, the relevant popup iViews are launched.
1.
Enter the name of the enhanced iView launcher, MDMIViewLauncher instead of the delivered
iViewLauncher.
2.
Enter the correct syntax for the URL of the target iView
For example:
<portalRole1>,<iViewpcdId1>;<portalRole2>,<iViewpcdId2>.
For more information, go to the SAP Developer Network (SDN) at http://sdn.sap.com and search for the How
to Implement the UWL Role Based Master Data Management iView Launcher guide. Read the chapter called
UWL role based iView Launcher.
1.
Enter the name of the enhanced iView launcher, MDMIViewLauncher instead of the delivered
iViewLauncher.
2.
Enter the correct syntax for the URL of the target iView
For example:
<portalUserGroup1>,<iViewpcdId1>;<portalUserGroup2>,<iViewpcdId2>
December 2013
30
steps in the workflow, sees different popup Result Sets for each step. For example, ResultSet1 can be
launched for a Create step in the workflow and Result Set2 can be launched for an Approval step in the
workflow.
To launch step-based popup Result Sets, you need to create an Item Type for each workflow step.
The shipped Item Type for a task has the following structure:
uwl.task.mdm.tasks.<MDM_Alias_name>.<MDM_table_code>
For example,
uwl.task.mdm.tasks.SAP_MDM_Repository_BuPa.MDM_BUSINESS_PARTNERS
To create step-based Item Type elements, add the workflow template name and the step ID as a suffix to
the above notation as follows:
uwl.task.mdm.tasks.<MDM_Alias_name>.<MDM_table_code>.<MDM
workflow_template_name>.<MDM_workflow_template_step_Id>
Example
An MDM Workflow template, WFTemplate1 consists of two workflow steps, WFStepID1 and WFStepID2
(these are the step IDs).
Tip
To retrieve the ID of a step, see How to Identify MDM Workflow Step IDs on page 32.
The configured UWL step-based Item Type elements appear as follows in the XML structure:
uwl.task.mdm.tasks.SAP_MDM_Repository_BuPa.MDM_BUSINESS_PARTNERS.
WFTemplate1.WFStepID1
uwl.task.mdm.tasks.SAP_MDM_Repository_BuPa.MDM_BUSINESS_PARTNERS.
WFTemplate1.WFStepID2
The following XML configuration shows an example of one of the Item Type elements:
- <ItemType
name="uwl.task.mdm.tasks.SAP_MDM_Repository_BuPa.BUSINESS_PARTNERS.WFTempla
te1.2" connector="MdmUwlConnector" defaultView="MdmViewTasks"
defaultAction="com.sap.mdm.bupa.showDetails" executionMode="default">
- <!-- this is an action for Item Type
-->
- <Actions>
<Action reference="com.sap.mdm.showHistory" groupAction="no"
returnToDetailViewAllowed="yes" launchInNewWindow="no" />
<Action reference="com.sap.mdm.nextStep" groupAction="no"
returnToDetailViewAllowed="yes" launchInNewWindow="no" />
<Action reference="com.sap.mdm.bupa.showDetails3" groupAction="no"
returnToDetailViewAllowed="yes" launchInNewWindow="no" />
<Action reference="com.sap.mdm.priorityLow" groupAction="no"
returnToDetailViewAllowed="yes" launchInNewWindow="no" />
<Action reference="com.sap.mdm.priorityNormal" groupAction="no"
returnToDetailViewAllowed="yes" launchInNewWindow="no" />
<Action reference="com.sap.mdm.priorityHigh" groupAction="no"
returnToDetailViewAllowed="yes" launchInNewWindow="no" />
<Action reference="com.sap.mdm.priorityVeryHigh" groupAction="no"
returnToDetailViewAllowed="yes" launchInNewWindow="no" />
</Actions>
December 2013
31
</ItemType>
CAUTION
Be sure to use the MDM workflow template name and not the workflow template code. In our
example WFTemplate1 represents the MDM workflow template name.
Workflow template names are case sensitive and cannot include any spaces.
December 2013
32
You can only see a specific step ID in the Step ID column of the UWL.
...
1.
To retrieve the step IDs, simulate each step of the workflow. As you move through the different steps,
the UWL displays the step ID in the Step ID column.
The Step ID column is added to the UWL using the UWL Personalize View options. For more
information, see Personalizing the UWL View on page 7.
2.
In the XML configuration file, enter the workflow step ID for each step of the task that you want to view
in a popup window.
CAUTION
For a specific MDM workflow template, you cannot have both step-based Item Types and
generic Item Types. The UWL will interpret an MDM workflow as belonging to both Item
Types and you will end up having duplicate buttons at runtime. Therefore be sure to remove all
the other generic Item Types.
Note
Only configure steps that need to be visible in the UWL runtime with a corresponding Item
Type. For example, you would not configure an Item Type for a syndication step.
December 2013
33
www.sdn.sap.com/irj/sdn/howtoguides