January 20, 2017 | Author: nikhil5811 | Category: N/A
Download How to Fill MDG Rule-Based Workflow Decision Tables...
MDG BRF+ Decision Tables Abdullah Azzouni, Principal Consultant December, 2013
Agenda
Introduction MDG BRF+ Decision Tables MDG Customization Tables Process to be Modeled How to Model for MDG BRF+ Decision Tables Process Re-modeled Model to Next-Step Decision Table Model to Dialog-Step-Agent Decision Table Model to Background-Step Decision Table References
© 2014 SAP AG or an SAP affiliate company. All rights reserved.
2
MDG BRF+ Decision Tables Introduction
Introduction
•
BRF+ is a generic tool; not specific to MDG.
•
MDG utilizes BRF+ in many ways; one of which is to determine the workflow process and handling agents.
•
Workflow template WS60800086 was built specifically for MDG to use the BRF+ application in order to dynamically control MDG processes. This workflow template is not to be changed using conventional workflow development tools.
•
From the view point of MDG, this workflow template is a black box. The BRF+ application is the window through which MDG controls the behavior of the process.
•
Each MDG change request type has its own BRF+ application built automatically by the corresponding MDG IMG node to have the same application structures.
© 2014 SAP AG or an SAP affiliate company. All rights reserved.
4
Introduction – Cont.
•
The key elements in each applications are three decision tables: a table to determine the next step, a table to determine dialog step agents, and a table to determine background step type.
•
These tables work with some MDG customization tables.
© 2014 SAP AG or an SAP affiliate company. All rights reserved.
5
MDG BRF+ Decision Tables MDG BRF+ Decision Tables
MDG BRF+ Decision Tables
Next Step Decision Table
•
14 columns* •
•
Change Request Priority
Result Columns • Condition Alias • New Step • New Change Request Status
•
Change Request Reason
•
Hours to Completion
• •
Change Request Rejection Reason Change Request Parent Step
• •
Merge Type Merge Parameter
•
Change Request Parent Step Agent Group •
Input Columns • Previous Step • Previous Action
•
Dynamic Agent Selection Service
* For simplicity reasons, only columns in bold are considered in this how-to guide © 2014 SAP AG or an SAP affiliate company. All rights reserved.
7
MDG BRF+ Decision Tables – Cont.
Dialog Step Agent Decision Table
•
5 columns* •
Input Columns • Condition Alias
•
Result Columns • Agent Group • Step Type • Agent Type • Agent Value
* For simplicity reasons, only columns in bold are considered in this how-to guide © 2014 SAP AG or an SAP affiliate company. All rights reserved.
8
MDG BRF+ Decision Tables – Cont.
Background Step Type Decision Table
•
4 columns* •
Input Columns • Condition Alias
•
Result Columns • Agent Group • Processing Pattern • Service Name
* For simplicity reasons, only columns in bold are considered in this how-to guide © 2014 SAP AG or an SAP affiliate company. All rights reserved.
9
MDG BRF+ Decision Tables – Cont. How do these tables work? •
First, find out what my next step is.
- Prev. Step - Prev. Action
Workflow
© 2014 SAP AG or an SAP affiliate company. All rights reserved.
Next-Step Decision Table
- Condition Alias - New Step - New Status
10
MDG BRF+ Decision Tables – Cont. How do these tables work? •
Second, where is the condition alias defined? Cond. Alias
Workflow
Agent Table
- Step Type - Agent (Type & ID)
Background Table
- Processing Pattern
Cond. Alias in agent or background table?
Cond. Alias
© 2014 SAP AG or an SAP affiliate company. All rights reserved.
11
MDG BRF+ Decision Tables MDG Customization Tables
MDG Customization Tables
•
Status of Change Request V_USMD130C
Master Data Governance
General Settings
© 2014 SAP AG or an SAP affiliate company. All rights reserved.
Process Modeling
Change Requests
Edit Statuses of Change Requests
13
MDG Customization Tables
•
Priorities of Change Request V_USMD210C
Master Data Governance
General Settings
© 2014 SAP AG or an SAP affiliate company. All rights reserved.
Process Modeling
Change Requests
Define Priorities for Change Requests
14
MDG Customization Tables
•
Reasons of Change Request V_USMD211C
Master Data Governance
General Settings
© 2014 SAP AG or an SAP affiliate company. All rights reserved.
Process Modeling
Change Requests
Define Reasons for Change Requests
15
MDG Customization Tables
•
Rejection Reasons of Change Request V_USMD212C
Master Data Governance Requests
General Settings
© 2014 SAP AG or an SAP affiliate company. All rights reserved.
Process Modeling
Change Requests
Define Rejection Reasons for Change
16
MDG Customization Tables
•
Actions for Change Request UIs V_USMD220C
Master Data Governance
General Settings
© 2014 SAP AG or an SAP affiliate company. All rights reserved.
Process Modeling
Change Requests
Define Actions for Change Request UIs
17
MDG Customization Tables
•
Step Types and Assigned Actions V_USMD230C & V_USMD2301
Master Data Governance
General Settings
© 2014 SAP AG or an SAP affiliate company. All rights reserved.
Process Modeling
Change Requests
Define Step Types and Assign Actions
18
MDG Customization Tables
•
Change Request Steps for Rule-Based Workflow V_USMD202C_SSW
Master Data Governance
General Settings
© 2014 SAP AG or an SAP affiliate company. All rights reserved.
Process Modeling
Change Requests
Define Steps for Rule-Based Workflow
19
MDG BRF+ Decision Tables Process to be Modeled
Process to be Modeled
Start Requester Reviewer Approver End
© 2014 SAP AG or an SAP affiliate company. All rights reserved.
21
Process to be Modeled
Things to note: -
Decision tables model the workflow behavior. The requester step triggers the start of the workflow. So, technically, the requester step is outside the workflow.
-
All output options of each step must be modeled completely.
-
Status of each step must be modeled.
-
Background steps such as activation and verification need to be modeled.
© 2014 SAP AG or an SAP affiliate company. All rights reserved.
22
MDG BRF+ Decision Tables How to Model for MDG BRF+ Decision Tables
How to Model for MDG BRF+ Decision Tables
Each step in the diagram needs to contain the following:
© 2014 SAP AG or an SAP affiliate company. All rights reserved.
24
MDG BRF+ Decision Tables Process Re-modeled
Process Re-modeled
00 Request
02 02
07 10 REV 3 06
03 Background Step
07
01 05
20 APP 2 04
03
31 30 05 ACT 05 31
03
40 RES 4
06 08
50 RLB 08
06 *
05 60 COM 99
Dialog Step
REV:
Review
RES:
Resubmit
APP:
Approve
RLB:
Rollback
ACT:
Activate
COM:
Complete
© 2014 SAP AG or an SAP affiliate company. All rights reserved.
26
MDG BRF+ Decision Tables Model to Next-Step Decision Table
Model to Next-Step Decision Table
00 Request
07 10 REV 3 06
02 02
03
05
20 APP 2 04
03
03
40 RES 4
07
01
31 30 05 ACT 05 31
06 08
50 RLB 08
06 *
05 60 COM 99
Prev. Step
Prev. Action
Cond. Alias
New Status
New Step
00
…
REV
02
10
© 2014 SAP AG or an SAP affiliate company. All rights reserved.
28
Model to Next-Step Decision Table – Cont.
00 Request
07 10 REV 3 06
02 02
03
05
20 APP 2 04
03
03
40 RES 4
07
01
31 30 05 ACT 05 31
06 08
50 RLB 08
06 *
05 60 COM 99
Prev. Step
Prev. Action
Cond. Alias
New Status
New Step
10
05
APP
01
20
© 2014 SAP AG or an SAP affiliate company. All rights reserved.
29
Model to Next-Step Decision Table – Cont.
00 Request
07 10 REV 3 06
02 02
03
05
20 APP 2 04
03
03
40 RES 4
07
01
31 30 05 ACT 05 31
06 08
50 RLB 08
06 *
05 60 COM 99
Prev. Step
Prev. Action
Cond. Alias
New Status
New Step
10
06
RES
03
40
© 2014 SAP AG or an SAP affiliate company. All rights reserved.
30
Model to Next-Step Decision Table – Cont.
00 Request
07 10 REV 3 06
02 02
03
05
20 APP 2 04
03
03
40 RES 4
07
01
31 30 05 ACT 05 31
06 08
50 RLB 08
06 *
05 60 COM 99
Prev. Step
Prev. Action
Cond. Alias
New Status
New Step
20
03
ACT
05
30
© 2014 SAP AG or an SAP affiliate company. All rights reserved.
31
Model to Next-Step Decision Table – Cont.
00 Request
07 10 REV 3 06
02 02
03
05
20 APP 2 04
03
03
40 RES 4
07
01
31 30 05 ACT 05 31
06 08
50 RLB 08
06 *
05 60 COM 99
Prev. Step
Prev. Action
Cond. Alias
New Status
New Step
20
04
RES
03
40
© 2014 SAP AG or an SAP affiliate company. All rights reserved.
32
Model to Next-Step Decision Table – Cont.
00 Request
07 10 REV 3 06
02 02
03
05
20 APP 2 04
03
03
40 RES 4
07
01
31 30 05 ACT 05 31
06 08
50 RLB 08
06 *
05 60 COM 99
Prev. Step
Prev. Action
Cond. Alias
New Status
New Step
40
07
REV
02
10
© 2014 SAP AG or an SAP affiliate company. All rights reserved.
33
Model to Next-Step Decision Table – Cont.
00 Request
07 10 REV 3 06
02 02
03
05
20 APP 2 04
03
03
40 RES 4
07
01
31 30 05 ACT 05 31
06 08
50 RLB 08
06 *
05 60 COM 99
Prev. Step
Prev. Action
Cond. Alias
New Status
New Step
40
08
RLB
06
50
© 2014 SAP AG or an SAP affiliate company. All rights reserved.
34
Model to Next-Step Decision Table – Cont.
00 Request
07 10 REV 3 06
02 02
03
05
20 APP 2 04
03
03
40 RES 4
07
01
31 30 05 ACT 05 31
06 08
50 RLB 08
06 *
05 60 COM 99
Prev. Step
Prev. Action
Cond. Alias
New Status
New Step
30
31
COM
05
60
© 2014 SAP AG or an SAP affiliate company. All rights reserved.
35
Model to Next-Step Decision Table – Cont.
00 Request
02 02
07 10 REV 3 06
03 07
01 05
20 APP 2 04
03
31 30 05 ACT 05 31
03
40 RES 4
06 08
50 RLB 08
06 *
05 60 COM 99
Prev. Step
Prev. Action
Cond. Alias
New Status
New Step
30
31
REV
07
10
© 2014 SAP AG or an SAP affiliate company. All rights reserved.
36
Model to Next-Step Decision Table – Cont.
00 Request
07 10 REV 3 06
02 02
03
05
20 APP 2 04
03
03
40 RES 4
07
01
31 30 05 ACT 05 31
06 08
50 RLB 08
06 *
05 60 COM 99
Prev. Step
Prev. Action
Cond. Alias
New Status
New Step
50
…
COM
06
60
© 2014 SAP AG or an SAP affiliate company. All rights reserved.
37
Model to Next-Step Decision Table – Cont.
Table after completing all steps and branches Prev. Step
Prev. Action
Cond. Alias
New Status
New Step
00
…
REV
02
10
10
05
APP
01
20
10
06
RES
03
40
20
03
ACT
05
30
20
04
RES
03
40
40
07
REV
02
10
40
08
RLB
06
50
30
31
COM
05
60
30
31
REV
07
10
50
…
COM
06
60
© 2014 SAP AG or an SAP affiliate company. All rights reserved.
38
MDG BRF+ Decision Tables Model to Dialog-Step-Agent Decision Table
Model to Dialog-Step-Agent Decision Table
00 Request
07 10 REV 3 06
02 02
03
05
20 APP 2 04
03
03
40 RES 4
07
01
31 30 05 ACT 05 31
06 08
50 RLB 08
06
05 60 COM 99
*
Cond. Alias
Group
Step Type
Agent Type
Agent
REV
1
3
US
© 2014 SAP AG or an SAP affiliate company. All rights reserved.
40
Model to Dialog-Step-Agent Decision Table – Cont.
Table after completing all steps Cond. Alias
Group
Step Type
Agent Type
Agent
REV
1
3
US
APP
1
2
AG
RES
1
4
SU
INIT
Possible Agent Types • US: User (User Master) • O: Organizational Unit (Org. Structure) • C: Job (Org. Structure) • S: Position (Org. Structure) • AG: Role (Security Role) • SU: Special User (INIT: Initiator, LAST: Previous Agent)
© 2014 SAP AG or an SAP affiliate company. All rights reserved.
41
MDG BRF+ Decision Tables Model to Background-Step Decision Table
Model to Background-Step Decision Table
00 Request
02 02
07 10 REV 3 06
03 07
01 05
20 APP 2 04
03
31 30 05 ACT 05 31
03
40 RES 4
06 08
50 RLB 08
06 *
05 60 COM 99
Cond. Alias
Group
Processing Pattern
ACT
1
05
© 2014 SAP AG or an SAP affiliate company. All rights reserved.
43
Model to Dialog-Step-Agent Decision Table – Cont.
Table after completing all steps Cond. Alias
Group
Processing Pattern
ACT
1
05
RLB
1
08
COM
1
99
Possible Processing Types • • • • • • • • • •
01: 02: 03: 04: 05: 06: 07: 08: 98; 99:
Dialog (not applicable for this background step table) Call synch method Call sub-workflow Call data replication Activate (don’t bypass snap shot) Activate (bypass snap shot) Validate change request Rollback change request Error Complete
© 2014 SAP AG or an SAP affiliate company. All rights reserved.
44
MDG BRF+ Decision Tables Summary
Summary
•
BRF+ is a generic tool; MDG utilizes BRF+ in many ways – Change Request workflow routing is one of them
•
This document shows a simple example; the key point here is how the decision tables tie back to the different customization tables
•
Columns that were ignored can be used in modeling the process; they were just left out for the simplicity of this example – for example, priority can be used so that the same action on a CR could result in different paths for high priority than for low priority
© 2014 SAP AG or an SAP affiliate company. All rights reserved.
46
MDG BRF+ Decision Tables References
References
SCN: http://scn.sap.com/community/mdm/master-data-governance MDG Extensibility Guide: http://scn.sap.com/docs/DOC-7858 SAP Help: http://help.sap.com/mdg
© 2014 SAP AG or an SAP affiliate company. All rights reserved.
48
Thank you Contact information: Abdullah Azzouni Principal Consultant Palo Alto, CA
[email protected]
© 2014 SAP AG or an SAP affiliate company. All rights reserved.
© 2014 SAP AG or an SAP affiliate company. 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 or an SAP affiliate company. SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG (or an SAP affiliate company) in Germany and other countries. Please see http://global12.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. National product specifications may vary. These materials are provided by SAP AG or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP AG or its affiliated companies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP AG or SAP affiliate company products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty. In particular, SAP AG or its affiliated companies have no obligation to pursue any course of business outlined in this document or any related presentation, or to develop or release any functionality mentioned therein. This document, or any related presentation, and SAP AG’s or its affiliated companies’ strategy and possible future developments, products, and/or platform directions and functionality are all subject to change and may be changed by SAP AG or its affiliated companies at any time for any reason without notice. The information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ materially from expectations. Readers are cautioned not to place undue reliance on these forward-looking statements, which speak only as of their dates, and they should not be relied upon in making purchasing decisions.
© 2014 SAP AG or an SAP affiliate company. All rights reserved.
50
© 2014 SAP AG oder ein SAP-Konzernunternehmen. Alle Rechte vorbehalten. Weitergabe und Vervielfältigung dieser Publikation oder von Teilen daraus sind, zu welchem Zweck und in welcher Form auch immer, ohne die ausdrückliche schriftliche Genehmigung durch SAP AG oder ein SAP-Konzernunternehmen nicht gestattet. SAP und andere in diesem Dokument erwähnte Produkte und Dienstleistungen von SAP sowie die dazugehörigen Logos sind Marken oder eingetragene Marken der SAP AG (oder von einem SAP-Konzernunternehmen) in Deutschland und verschiedenen anderen Ländern weltweit. Weitere Hinweise und Informationen zum Markenrecht finden Sie unter http://global.sap.com/corporate-de/legal/copyright/index.epx. Die von SAP AG oder deren Vertriebsfirmen angebotenen Softwareprodukte können Softwarekomponenten auch anderer Softwarehersteller enthalten. Produkte können länderspezifische Unterschiede aufweisen. Die vorliegenden Unterlagen werden von der SAP AG oder einem SAP-Konzernunternehmen bereitgestellt und dienen ausschließlich zu Informationszwecken. Die SAP AG oder ihre Konzernunternehmen übernehmen keinerlei Haftung oder Gewährleistung für Fehler oder Unvollständigkeiten in dieser Publikation. Die SAP AG oder ein SAP-Konzernunternehmen steht lediglich für Produkte und Dienstleistungen nach der Maßgabe ein, die in der Vereinbarung über die jeweiligen Produkte und Dienstleistungen ausdrücklich geregelt ist. Keine der hierin enthaltenen Informationen ist als zusätzliche Garantie zu interpretieren. Insbesondere sind die SAP AG oder ihre Konzernunternehmen in keiner Weise verpflichtet, in dieser Publikation oder einer zugehörigen Präsentation dargestellte Geschäftsabläufe zu verfolgen oder hierin wiedergegebene Funktionen zu entwickeln oder zu veröffentlichen. Diese Publikation oder eine zugehörige Präsentation, die Strategie und etwaige künftige Entwicklungen, Produkte und/oder Plattformen der SAP AG oder ihrer Konzernunternehmen können von der SAP AG oder ihren Konzernunternehmen jederzeit und ohne Angabe von Gründen unangekündigt geändert werden. Die in dieser Publikation enthaltenen Informationen stellen keine Zusage, kein Versprechen und keine rechtliche Verpflichtung zur Lieferung von Material, Code oder Funktionen dar. Sämtliche vorausschauenden Aussagen unterliegen unterschiedlichen Risiken und Unsicherheiten, durch die die tatsächlichen Ergebnisse von den Erwartungen abweichen können. Die vorausschauenden Aussagen geben die Sicht zu dem Zeitpunkt wieder, zu dem sie getätigt wurden. Dem Leser wird empfohlen, diesen Aussagen kein übertriebenes Vertrauen zu schenken und sich bei Kaufentscheidungen nicht auf sie zu stützen.
© 2014 SAP AG or an SAP affiliate company. All rights reserved.
51