SAP MDG Technical Concept:-: (Type The Company Name)
SAP MDG Technical Concept:-: (Type The Company Name)
SAP MDG Technical Concept:-: (Type The Company Name)
You use change request in SAP Master Data Governance to trigger and process changes to master data.
You use change requests in your daily work to make changes to your data. The system applies the
governance rules and processes you have defined. The change request process starts with a user's first
entry for the purpose of creating or changing data.
From my experience, many companies want to manage custom objects in a central master data system
to be able to harmonize this information across their landscape. Custom objects can be individually
defined objects such as assets or locations. Custom objects are typically less complex master data
objects with a small and simple data model. They are often used as reference data in major objects such
as material, suppliers and customers.
The How-To Guide describes the necessary steps to implement a custom object in SAP MDG. The guide
is based on an object called “Location” and includes the following steps during the implementation phase:
Create a new Data Model
Define a new Business Object and Activity
Create a custom User Interface
Process Modeling
Test of the custom object
The target audiences of the document are typically technology consultants and MDM/MDG architects.
Please access the guide here:
Overview-
In SAP Master Data Governance data can be stored in a staging- or active area. The location used for the
temporary storage of the working version of master data that is undergoing change within a change
request process is called staging area. The location used for the permanent storage of the active
instances of master data after changes have been approved by a change request process is called active
area.
Extending the data model in SAP Master Data Governance with custom attributes or tables involves
changes to the data structures in both the active and staging areas and defining a mapping between
these data structures.
Extending active area data model
Extending BUT000
The extension of standard entity types is a common and straight forward task. Let’s say you want to
extend SAP Master Data Governance for Supplier by a custom field called ZSDN_CI. You start by
extending the append structures for supplier (BUT000). You add the field to structures CI_EEW_BUT000
and CI_EEW_BUT000_X.
Extending LFA1
Next you extend the append structures for vendor (LFA1). You add the field to structures
VMDS_EI_VMD_CENTRAL_DATA and VMDS_EI_VMD_CENTRAL_DATA_XFLAG .
To verify that your custom fields have been added to the MDG-generated tables follow the steps below
ACTIVITY
Start the ABAP Editor with transaction SE38
In the Program input field enter USMD_DATA_MODEL
Execute the program
In the Data Model input field enter BP
Click on Execute
2nd Part
UI Configuration
The UI is configured with the Floorplan Manager. The Floorplan Manager (FPM) is a Web Dynpro ABAP
application that provides a framework for developing new Web Dynpro ABAP application interfaces
consistent with SAP UI guidelines.
An FPM application is composed of a number of different Web Dynpro components (most of which are
instantiated dynamically at runtime). However, the following two components are always present:
A floorplan-specific component (FPM_GAF_COMPONENT or FPM_OIF_COMPONENT)
A component for the Header Area (FPM_IDR_COMPONENT)
In simple terms, the configuration of an FPM application is the configuration of these two components.
Recommendation
Working with this example you should make your changes only in the customizing layer of a SAP
delivered UI-configuration.
By making your changes in the customizing layer they will be client-dependent and the SAP delivered
original will be unchanged. The customizing data will only contain the differences to the original
configuration, so you are not disconnected from corrections or new features delivered by SAP in future
Service Packs or releases. At runtime the changes of the customizing layer are added to the original
configuration and the application will look like you customized it.
Figure 1: Execute in Administration Mode
Note
To call up administrator mode, you need the S_DEVELOP or S_WDR_P13N authorization profile.
If you do not see the Adapt Configuration link in the top right hand corner of the window after following the
steps above you can also try to activate the administrator mode using the steps below.
ACTIVITY
Alternative method to activate administrator mode
On the SAP Easy Access screen, choose System -> User Profile -> Own Data
On the Maintain User Profile screen, select the Parameters tab.
Enter FPM_CONFIG_EXPERT for the parameter ID and A for the parameter value.
Choose Save
You then assign the FPM event ID USMD_ENTER to the new field. Specifying this means that the system
triggers a roundtrip when a value is selected from the dropdown list box, allowing dependent UIBB fields
to be changed by means of a Business Add-In (USMD_UI_EVENT2).
Click the Save button to save the configuration changes
Figure 6: BAdI Adjust User Interface for Single Processing
If you want to use fields or set default values that do not exist in the data model but that are instead
calculated, derived, or defaulted on the UI, you must implement a User Interface BAdI (Business Add In).
Under UI Modeling -> Business Add-Ins -> BAdI: Adjust User Interface for Single Processing (BAdI
USMD_UI_EVENT2), create your own implementation.
In your implementation, allow the methods that you want to adjust to be inherited from the implementing
class of a delivered standard implementation. If the implementing class does not allow inheritance
because it is marked as FINAL, you need to create a copy of the class.
Deactivate the existing BAdI implementation and activate your new BAdI implementation
Copying a UI BAdI
If you have copied a SAP delivered UI-configuration in a previous step you have to copy the
corresponding UI BAdI as well and change the filter value to the new UI configuration ID.
Note
Note that the copy does not automatically contain corrections from Support Packages or SAP Notes.
ACTIVITY
In this activity you
Copy enhancement implementation MDG_UI_EVENT_SUPPLIER to Z_LR_
MDG_UI_EVENT_SUPPLIER
Launching the Create Supplier UI will now allow you to select your custom change request type. This in
turn will invoke your custom UI Configuration and customized UI and BAdI.