Create an enrichment Spot with User Interaction in Master Data Governance for Data Model SFlight
PUBLIC
How to Create an enrichment Spot with User
Interaction in Master Data Governance for Data
Model SFlight
Applicable Releases:
From MDG 7.0 and from SAP S/4HANA 1511
Version 1.1
October 2024
How to Create an enrichment Spot with User
Interaction in Master Data Governance for Data
Model SFlight
Applicable Releases:
From MDG 7.0 and from SAP S/4HANA 1511
Version 1.1
October 2024
© 2024 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on www.sap.com/legal-notice for use terms, disclaimers, disclosures, or restrictions related to this material. 2 / 20
Document History
Document
Version Description
1.0 First official release of this guide (November 2012)
1.1 Apply template (October 2024)
Document History
Document
Version Description
1.0 First official release of this guide (November 2012)
1.1 Apply template (October 2024)
© 2024 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on www.sap.com/legal-notice for use terms, disclaimers, disclosures, or restrictions related to this material. 3 / 20
Table of contents
1. Introduction .................................................................................................................................. 4
2. Business Scenario.......................................................................................................................... 4
2.1. Scenario ‘Create Airline’ .......................................................................................................................... 4
2.2. Scenario ‘Process Airline’ ........................................................................................................................ 6
3. Create a Change Request Type ..................................................................................................... 9
4. Assign a Processor to Workflow Step Number ............................................................................. 9
5. Create an Enrichment Adapter Class .......................................................................................... 10
6. Create an Enrichment Feeder Class ............................................................................................ 11
6.1. Method IF_USMD_ENRICHMENT_FEEDER~GET_ADAPTER_DATA ....................................................... 12
6.2. Method IF_USMD_ENRICHMENT_FEEDER~GET_MDG_DATA ............................................................. 13
6.3. Method IF_USMD_ENRICHMENT_FEEDER~PREPARE_UI_DATA .......................................................... 14
6.4. Method IF_USMD_ENRICHMENT_FEEDER~CONVERT_ACTION_RESULT ............................................. 14
6.5. Method IF_USMD_ENRICHMENT_FEEDER~IS_RELEVANT.................................................................... 14
6.6. Method IF_USMD_ENRICHMENT_FEEDER~GET_RELEVANT_ENTITIES ................................................ 14
7. Create a Popup which displays a table of URLs .......................................................................... 14
8. Define an Enrichment Spot ......................................................................................................... 18
9. Configure Properties of the Change Request Step ..................................................................... 18
10. Additional Information ............................................................................................................. 20
10.1. Further Reading................................................................................................................................... 20
10.1.1. Information on SAP MDG on SAP S/4HANA ......................................................................................................20
10.1.2. SAP Roadmap Explorer ......................................................................................................................................20
10.1.3. Related Information ..........................................................................................................................................20
10.2. SAP Notes ............................................................................................................................................ 20
Table of contents
1. Introduction .................................................................................................................................. 4
2. Business Scenario.......................................................................................................................... 4
2.1. Scenario ‘Create Airline’ .......................................................................................................................... 4
2.2. Scenario ‘Process Airline’ ........................................................................................................................ 6
3. Create a Change Request Type ..................................................................................................... 9
4. Assign a Processor to Workflow Step Number ............................................................................. 9
5. Create an Enrichment Adapter Class .......................................................................................... 10
6. Create an Enrichment Feeder Class ............................................................................................ 11
6.1. Method IF_USMD_ENRICHMENT_FEEDER~GET_ADAPTER_DATA ....................................................... 12
6.2. Method IF_USMD_ENRICHMENT_FEEDER~GET_MDG_DATA ............................................................. 13
6.3. Method IF_USMD_ENRICHMENT_FEEDER~PREPARE_UI_DATA .......................................................... 14
6.4. Method IF_USMD_ENRICHMENT_FEEDER~CONVERT_ACTION_RESULT ............................................. 14
6.5. Method IF_USMD_ENRICHMENT_FEEDER~IS_RELEVANT.................................................................... 14
6.6. Method IF_USMD_ENRICHMENT_FEEDER~GET_RELEVANT_ENTITIES ................................................ 14
7. Create a Popup which displays a table of URLs .......................................................................... 14
8. Define an Enrichment Spot ......................................................................................................... 18
9. Configure Properties of the Change Request Step ..................................................................... 18
10. Additional Information ............................................................................................................. 20
10.1. Further Reading................................................................................................................................... 20
10.1.1. Information on SAP MDG on SAP S/4HANA ......................................................................................................20
10.1.2. SAP Roadmap Explorer ......................................................................................................................................20
10.1.3. Related Information ..........................................................................................................................................20
10.2. SAP Notes ............................................................................................................................................ 20
© 2024 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on www.sap.com/legal-notice for use terms, disclaimers, disclosures, or restrictions related to this material. 4 / 20
1. Introduction
SAP Master Data Governance (MDG) provides business processes to find, create, change, and mark master data
for deletion. It supports the governance of master data in a central hub and the distribution to connected
operational and business intelligence systems.
The processes are workflow-driven and can include several approval and revision phases, and the collaboration
of all users participating in the master data maintenance.
MDG offers change request (CR)-based processing of master data with integrated workflow, staging, approval,
activation, and distribution.
This How-To Guide describes the solution to create an enrichment spot implementation with user interaction in
Master Data Governance. The implementation is called when executing a consistency check in the Single
Processing UI (WebDynpro Application usmd_entity_value2)..
2. Business Scenario
The business scenario comprises the creation of a change request for a single airline and the processing of the change
request. When creating a change request or processing a change request a consistency check can be executed in the
Single Processing UI.
The consistency check processing shall be enhanced by a customer specific implementation (enrichment). The
customer specific implementation shall be executed when a user clicks on the ‘Check’ button in the Single Processing
UI.
2.1. Scenario ‘Create Airline’
Call the Single Processing UI in order to create an airline.
Enter an airline and select a change request type which refers to an enrichment implementation (the definition of the
change request type is described in the following chapters).
1. Introduction
SAP Master Data Governance (MDG) provides business processes to find, create, change, and mark master data
for deletion. It supports the governance of master data in a central hub and the distribution to connected
operational and business intelligence systems.
The processes are workflow-driven and can include several approval and revision phases, and the collaboration
of all users participating in the master data maintenance.
MDG offers change request (CR)-based processing of master data with integrated workflow, staging, approval,
activation, and distribution.
This How-To Guide describes the solution to create an enrichment spot implementation with user interaction in
Master Data Governance. The implementation is called when executing a consistency check in the Single
Processing UI (WebDynpro Application usmd_entity_value2)..
2. Business Scenario
The business scenario comprises the creation of a change request for a single airline and the processing of the change
request. When creating a change request or processing a change request a consistency check can be executed in the
Single Processing UI.
The consistency check processing shall be enhanced by a customer specific implementation (enrichment). The
customer specific implementation shall be executed when a user clicks on the ‘Check’ button in the Single Processing
UI.
2.1. Scenario ‘Create Airline’
Call the Single Processing UI in order to create an airline.
Enter an airline and select a change request type which refers to an enrichment implementation (the definition of the
change request type is described in the following chapters).
© 2024 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on www.sap.com/legal-notice for use terms, disclaimers, disclosures, or restrictions related to this material. 5 / 20
Now enter a description, name of airline, airline URL and currency. Then click on the ‘Check’ button to execute a
consistency check. During the check processing the customer specific enrichment implementation is called which
displays a popup containing an URL for an airline ID.
When you click on the ‘OK’ button the selected URL ‘www.sap.com’ in the popup is transferred to the field Airline URL
on the UI.
Now enter a description, name of airline, airline URL and currency. Then click on the ‘Check’ button to execute a
consistency check. During the check processing the customer specific enrichment implementation is called which
displays a popup containing an URL for an airline ID.
When you click on the ‘OK’ button the selected URL ‘www.sap.com’ in the popup is transferred to the field Airline URL
on the UI.