Create User Interface For Multiple Record Processing
Create User Interface For Multiple Record Processing
Applicable Releases:
From MDG 7.0 and from SAP S/4HANA 1511
Version 6.0
April 2024
Document History
Document
Version Description
1.0 First official release of this guide
1.1 Update of chapter 3.8 with color table
1.2 New chapter 3.6.8 and 3.6.9
1.3 Exchange generic genIL model MDGMC to MDGMCM
1.4 New screenshots in chapter 3.2.1
2.0 MDG8 and SAP S/4HANA 1610 new features: Add, Copy, and Discard,
CL_USMD_MC_FEEDER_FORM
3.0 Small updates
4.0 Lean Classification for Material, Customer, Supplier
4.1 Additional information in chapter 4.4.5. Configure the Add and Copy
Popup
4.2 New screenshot in chapter [Link]
5.0 New chapter 5.3 Create Feeder Class with Performance Hints (April
2020)
6.0 Update Layout (April 2024)
1 BUSINESS SCENARIO.................................................................................................5
4.3 Create Feeder Classes for List and Form UIBBs ............................................................................ 10
4.3.1 Transient Fields ............................................................................................................................. 10
4.3.2 Performance .................................................................................................................................. 11
3 / 39
© 2024 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on [Link]/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
4.12 Transfer Object Keys from Source Application to Multiple-Record Processing WD Application
35
4.12.1 Transfer by Change Request ........................................................................................................ 35
4.12.2 Transfer by Global Context ........................................................................................................... 35
4.12.3 Transfer by URL ............................................................................................................................ 37
4.13 Work with Copies of Supplied Data (for example from material search UI
MDG_BS_MAT_SEARCH_06) ....................................................................................................................... 37
4 / 39
© 2024 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on [Link]/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
1 Business Scenario
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.
From MDG 7.0 and SAP S/4HANA 1511 SAP also supports the processing of multiple materials in a tabular
user interface. Multiple-Record Processing offers a streamlined process, with a UI that enables you to create
change requests for multiple records with greater efficiency.
SAP offers a range of sample user interface (UI) configurations to cater to various scenarios. We provide a
total of nine sample UI configurations to support five specific scenarios. For four of these scenarios, we offer
two different UI configurations. The scenarios include Planning Data, Purchasing Data, Sales Data,
Dimension Date, and Classification Data. You can utilize these pre-designed UI configurations as templates
to create new tabular user interfaces based on your needs.
Please note that the provided UI configurations and change request (CR) types are just examples and can
be used as a starting point. It is important to take into account your own business requirements while
developing your own UI configurations and CR types.
This How-To Guide describes the solution to create new UI configurations for material.
2 Background Information
You can use the new FPM (Floor Plan Manager) list feeder class, CL_USMD_MC_FEEDER_LIST and
CL_USMD_MC_FEEDER_FORM, to implement a list displaying data sets for a wide range of data models.
In addition to the standard functionality of an ATS list (ABAP Table Services), the following functionality is
offered by the list feeder class feeder CL_USMD_MC_FEEDER_LIST:
1. You can mark all data sets having a predefined value for a given attribute (Select Rows with Identical
Values)
2. You can copy the value of a given attribute to all marked data sets (Copy Value to Selected Rows)
3. You can replace any number of attribute values for all marked data sets (Find and Replace)
4. You can remove Type-1 entities (with all dependent entities)– even if the type-1 entity has already
been assigned to the object list of a change request
5. You can copy a selected data set to a new data set. Dependent on the list configuration, related entities
are also copied. If a value will be copied depends also on customizing of the backend material master
(transaction OMSR).
6. You can add a new data set to the list. Dependent on the list configuration, related entities are also
added
7. All changes in respect to the active data can be discarded for all selected data sets. Changes of the
dependent data sets are also discarded
8. All data related to the supplied type-1 entity keys can be copied at startup (replication). In this case,
the application works on the copied data. If a value will be copied depends also on customizing of the
backend material master (transaction OMSR).
9. For all new data sets, the type-1 entity key can be altered
© 2024 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on [Link]/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
10. Active data for type-4 entities and text entities can be deleted
11. The deletion of entities can be discarded
12. For USMD models MM and BP, classification data can be maintained in the context of lean
classification
The first and second function can only be reached using context menu, while the third function can either be
triggered using the context menu or a related toolbar button. To remove (4), copy (5), add (6), or discard (7)
entities, the related toolbar button must be pressed. To create new entities for all supplied type-1 entity keys,
the application parameter USMD_NEW_MASS_COPY must set to X. Replication takes place at startup of the
application.
The FPM form feeder class CL_USMD_MC_FEEDER_LIST does not provide special functionality to
manipulate the data.
Table cells can be highlighted using different colors for the following cases:
• The saved cell value is different from the active value
• The current cell value is different from the saved value
Table cells and form fields can be highlighted using different colors. Highlighting indicates that the current
value is different from the saved or active value, respectively. Table cells that are highlighted offer a tooltip
describing the changes. In addition, a change indicator column can be configured for each list. Here an icon
is indicating any change in respect to the active data. If required, you can switch on and off the table cell
highlighting at runtime.
The functions to save, check, and activate the changed data are provided by the MDG change request UIBB
(UI Building Block) that must be embedded in the same page as the multiple-record processing list.
© 2024 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on [Link]/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
3 Functional Restrictions
The following restrictions apply to a WD (Web Dynpro) application based on the new feeder class:
• To maintain type-4 entity data, you need to configure UIBBs for all entities being part of the relationship
chain between the root type-1 entity and the type-4 entity. All UIBBs need to be embedded into the
main page of the application and they need to be connected using wires.
Example: you want to maintain plants. This requires that you also configure a UIBB displaying
materials, since the type-4 entity related to plants depends on the root type-1 entity (MATERIAL).
• Data displayed by forms and lists can be constructed by joining entities. Joined entities are only
displayed if the root entity exists.
Example: A material has assigned one plant. Only the MARCBASIC entity exists for this plant. A table
displaying plant data, but having not MARCBASIC as its root entity will not display the material’s plant.
• Objects for dependent entities are retrieved generically. The retrieval only depends on the objects
displayed for the parent entity. Filter information supplied by the calling application is not considered.
Example: The calling application sends a filter value for the plant specific material status. However,
for the retrieval of the type-1 main entity – which is MATERIAL – this information is not relevant. On
the other side, this information is also not considered when plants are retrieved, since this process
only depends on the selected material.
• To connect two UIBBs using wires, the root entities displayed by the two UIBBs must have a 1:1 or
1:cn relationship. This means: the key of the parent UIBB must be part of the key of the child UIBB.
• Only the main type-1 entity type can be handled by the multiple-record processing. For example,
Production Versions cannot be maintained together with materials.
• Non-lean classification is not supported.
• “Lean classification” is not supported for USMD models different from MM and BP.
• If you copy materials from search, non-lean classification data will not be copied. Lean classification
data will be copied for USMD models MM and BP.
© 2024 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on [Link]/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
4 Step by Step Explanation
The following explanation shows you how to configure the UI for multiple-record processing. You need to
define a new WD application configuration, which is assigned to the change request type and step
representing the maintenance scenario. The WD application configuration can be assigned to the WD
application MDG_BS_MAT_MC.
The implementation of a multiple record processing application based on the list feeder class
CL_USMD_MC_FEEDER_LIST and CL_USMD_MC_FEEDER_FORM consists of the following steps:
• Create and configure a WD application configuration for WD application MDG_BS_MAT_MC
• Create a model-specific assistance class inheriting from CL_USMD_MC_GEN_ASSIST
• Create a configuration for the application controller
• Create and configure the floorplan configuration
• Create and configure the related WD list and form component configurations
• Integrate the change request UIBB
• Implement the methods of your model specific assistance class
• Enhance the source application (For example, search) to transfer the entity keys to the WD multiple-
record processing application
• Define customizing (CR types, navigation)
• Adjust the Global Context definition (optional)
© 2024 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on [Link]/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
Create / maintain WD application configuration (example for Material Planning Data (indep. Table)).
For data model MM, an implementation already exists (CL_MDG_BS_MAT_MC_ASSIST). For data model
BP, a corresponding template class is CL_BS_CUSP_MRP_GEN_ASSIST.
© 2024 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on [Link]/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
4.3 Create Feeder Classes for List and Form UIBBs
Although this step is optional, it is essential if you want or need to perform customer-specific enhancements,
especially if you want to perform the tasks mentioned in 5.3.1 and 5.3.2 below.
Create a new class inheriting from super class CL_USMD_MC_FEEDER_LIST for List UIBBs and a new
class inheriting from super class CL_USMD_MC_FEEDER_FORM for Form UIBBs.
For more hints and tricks related to this, please refer to the following two documents:
• [Link] - A cookbook explaining the basics of adapting
Floorplan Manager applications
• [Link] - A guide
explaining how to extend the MDG-M user interface, especially sections 4.2.1 on feeder
enhancement and 5.4. on creating new Form UIBBs.
METHOD create_struct_rtti.
super->create_struct_rtti( ).
if ms_object_key-object_name = 'MARCBASIC'.
endif.
ENDMETHOD.
FIELD-SYMBOLS:
© 2024 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on [Link]/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
<lv_string> TYPE any,
<PRCTR> type PRCTR.
super->get_entity_data(
EXPORTING io_access = io_access
CHANGING cs_data = cs_data ).
* If you use the feeder class for multiple UIBBs, make sure your code
runs only * when needed. Otherwise delete the if / endif
if ME->MS_INSTANCE_KEY-CONFIG_ID = '<name of the UIBB
configuration>'.
if sy-subrc = 0.
<lv_string> = wa_prctr_text_buffer-ltext.
else.
clear wa_prctr_text_buffer.
select single ltext from CEPCT into wa_prctr_text_buffer-
ltext WHERE
spras = sy-langu and
kokrs = ‘DE01’ and
PRCTR = <PRCTR> .
if sy-subrc = 0.
<lv_string> = wa_prctr_text_buffer-ltext.
wa_prctr_text_buffer-PRCTR = <PRCTR> .
insert wa_prctr_text_buffer into TABLE mt_prctr_text_buffer.
endif.
endif.
endif.
endmethod.
In this example we use type TY_PRCTR_TEXT_BUFFER which is a private type of the feeder class.
Buffer MT_PRCTR_TEXT_BUFFER is a private instance attribute of the feeder class.
4.3.2 Performance
To improve the performance of your application, we recommend you only execute the GET_DATA method of
your feeder class if needed. If you know that you do not change data in the back end while processing a
given event, you can skip GET_DATA. This might especially be the case if the roundtrip was triggered by an
event of another UIBB.
© 2024 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on [Link]/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
Example Code:
METHOD if_fpm_guibb_list~get_data.
CASE iv_eventid->mv_event_id.
…
when 'FPM_TRAY_TOGGLE'.
if iv_raised_by_own_ui = abap_false.
return.
endif.
ENDCASE.
super->if_fpm_guibb_list~get_data(
EXPORTING
iv_eventid = iv_eventid
it_selected_fields = it_selected_fields
…
• Make sure that the page ID is MAIN and use the WD component USMD_MC_GEN_APP_CTRL as
Application Configuration Controller for your WD component. From the General Setting panel select
Floorplan Settings → Application Controller Settings.
© 2024 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on [Link]/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
• Define the global toolbar schema. Define a button for each of the following FPM events:
FPM_EDIT and FPM_CANCEL.You also have to maintain the properties: text, tooltip, and image.
• Optionally: Define a toggle button in the global toolbar for the FPM event MDG_HIGHLIGHT_TC.
This allows you to switch on/off table cell highlighting at runtime
© 2024 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on [Link]/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
• In General Settings section set Edit Mode to Read-Only and Maximum Message Size to 5.
Type-4 Entities
For each dependent entity type in the data model hierarchy, embed another ATS list UIBB
(FPM_LIST_UIBB_ATS) or a form UIBB (FPM_FORM_UIBB_GL2) to the floorplan component. To each
UIBB assign a component configuration.
Create / maintain configuration for OVP component (example for changing material data)
• Assign the feeder class CL_USMD_MC_FEEDER_LIST to the ATS list component configuration
• Set the feeder class parameters:
Component = MDGMCM (Name of GenIL component)
Object Name = <Entity of Type-1 / Type-4>
Editable = checked
The genIL model name depends on the application you use. For MDG model MM, the model
MDGMCM is to be used.
• Optional: Add entities in the “Join Structure” table. This allows you to display not only the root entity,
but additional entities having a 1:1 relation to the root entity
• When you close the dialog box choosing the ok button the system automatically configures ATS list
© 2024 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on [Link]/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
Set feeder class parameters for ATS list UIBB configuration (example for changing material data)
Note:
Each entity type you add will have a direct influence on the application performance. If the root entity exists,
the joined entity and its properties also have to be retrieved.
On the other side, if you want to offer the possibility to add new entities (Add/Copy), you may need to join
entities you have not in mind. Customizing may set information as mandatory that is defined in entities other
than the root entity.
Example: You add a new plant to a material. The derived maintenance status requires that some fields in
other entities get mandatory fields. These entities need to be configured, too.
However, only entities including the key of the selected root entity will be copied. For lists
displaying a text entity, only the text entity of the selected row will be copied. This behavior
may be adjusted by the model-specific application class you created before.
The usage of the event parameter Structure is described above.
If a value will be copied depends also on customizing of the backend material master
(transaction OMSR).
o DISCARD button:
Set the event parameters Entities to Discard to define, which entity changes are discarded
© 2024 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on [Link]/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
for the selected rows. If you leave this field empty, the changes of all entities having the
same key as the root entity are discarded (default). If you want to override the default, you
can list the entities to be discarded separated by commas. However, only entities including
the keys of the selected root entities will be discarded. For lists displaying a text entity, only
the text entities for the selected rows will be discarded. This behavior may be adjusted by
the model-specific application class you created before.
Set the event parameter Excl. From Discard to define which entities are to be excluded from
the discard procedure. If you leave this field empty, all entities determined as described
above will be discarded.
o DELETE button:
Set the event parameters Entities to Delete to define, which entities are deleted for the
selected rows. You need to list the entity types to be deleted separated by commas (no
default). However, only entities including the keys of the selected root entities will be
deleted. The model-specific application class you created before allows you to exclude
single entities from deletion.
If you configure Delete and Discard button, both buttons should work on the same entities.
o CLEAR button:
All non-key attributes of the selected root entities are initialized. The model-specific
application class allows you to define which of the selected entities should be excluded from
initializing.
o RESET button:
All non-key attributes of the selected root entities are initialized. The model-specific
application class allows you to define which of the selected entities should be excluded from
initializing. In addition, after initializing, the model-specific application class allows you to
manipulate single attributes again before writing them to the staging area.
The template implementations for MM and BP handle CLEAR and RESET for characteristic
values as follows:
• CLEAR initializes all non-key fields. The resulting valuation will be dropped when
activating the change request
• RESET initializes all non-key fields but ATCOD. This means that the initial value is
stored as a characteristic value. Conversion from external to internal value takes
place. This value will not be dropped when activating the change request
o ADD ROW button:
There is no default handling for this button. However, the template implementations for MM
and BP handle ADD ROW for characteristic values as follows:
• For each selected multi-value characteristic, a new row is added. This allows you to
enter additional characteristic values.
o REMOVE ROW button:
There is no default handling for this button. However, the template implementations for MM
and BP handle ADD ROW for characteristic values as follows:
• Each selected row of a multi-value characteristic is removed. This allows you to
remove multiple values of multi-value characteristics at once. However, the last
value can only be removed by clicking the CLEAR button
© 2024 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on [Link]/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
Set other General Settings attributes as desired.
Note: To reduce the number of roundtrips, the property Enable Event on All Selections can be set to Selection
Raises No FPM Event. If the UIBB is a wire source and the wire port type is set to Lead Selection, then the
selection of additional rows will not trigger an FPM event.
© 2024 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on [Link]/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
Define Form UIBB Schema
Configure the fields you want to offer to the user of the application. Make sure that the entity key fields
(common to root and joined entities) are only configured once.
• For attributes containing translatable texts choose a non-editable field type (e.g., Text View). For all
other attributes, choose editable field types.
For each column you would like to offer for administration or personalization, but which should not be displayed
at startup, set the visibility to not visible.
In the Add and Copy Popup you always get 5 empty lines for insert material numbers. After ENTER the
system fill additional lines that you have again 5 empty lines. If you want to have a different number, you can
change this with a post exit.
Solution:
Create Post-Exit for Component Controller method WDDOINIT of WD Component
USMD_MC_ADD_COPY and insert following line of code, where <n> is the number of empty lines:
wd_this->mv_no_initial_lines = <n>
© 2024 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on [Link]/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
Define wire schema (example for changing material data)
© 2024 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on [Link]/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
Define wire schema for non-text entities (example for changing plant data)
Define wire schema for text entities (example for changing plant data)
Optional: Not all UIBBs need to be visible at runtime. A UIBB may be hidden, if no user interaction is
necessary to define which data is to be displayed by the related target UIBB. To hide a parent UIBB,
select port type Collection. In addition, set Hidden Element to Hidden but processed in Event Loop
(Technical) for the parent UIBB in the Overview Page Schema panel
© 2024 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on [Link]/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
Hide UIBB (example for changing material data)
Enhancement options:
1. You can enhance this by using a post exit in method CL_USMD_MC_FEEDER_LIST or
CL_USMD_MC_FEEDER_FORM → ASSIGN_VALUE_HELP_EXPL.
2. Value help is displayed if a DDIC search help is assigned to the field in an MDG-structure. You may
assign a DDIC search help to the generated entity structures using transaction SE11 to assign a
complex value help to a field.
Note: you must reassign the DDIC search help each time after you regenerate the data model MM.
Sequence of consideration:
1. DDIC search help is assigned to the field in the MDG data model
2. Enhancement 2
3. Enhancement 1
4. DDIC search help is assigned to the underlying data element
5. The related domain contains fixed values
© 2024 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on [Link]/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
Define button to navigate to WD application USMD_CREQUEST_PROCESS
© 2024 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on [Link]/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
Example for customer CR types ZMM_MAT and ZMM_MARC:
Note: If you want to use MURP change request types and the parallel change request function (flag for
parallel) than make sure, that no Add and Copy Buttons are on the UI. Parallel change requests are only
possible for material change.
© 2024 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on [Link]/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
4.9.6 Define Change Request Steps for Rule-Based Workflow
Define your steps for each change request type ZMM_MAT.
Navigate to
General Settings → Process Modeling → Workflow → Rule-Based Workflow → Define Change Request
Steps for Rule-Based Workflow
4.9.7 Configure Properties of Change Request Step (UI and Highlight Changes)
Assign the UI configurations to the change request steps.
Navigate to
General Settings → Process Modeling → Change Requests → Configure Properties of Change Request
Step
© 2024 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on [Link]/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
The Highlight Changes checkbox allows you to define for which step highlighting changes should be
supported. This setting is only relevant, if you use the new highlighting schema (which means that both
parameters USMD_MC_TCD_SAVED and USMD_MC_TCD_UNSAVED are initial). See also chapter 4.11
Highlighting Changed Table Content. Mark Highlight Changes checkbox for CR types that should support
highlighting changes.
The limit is ignored if it is set to zero. If you set the corresponding warning level to zero, no warning message
is given. If you set the corresponding error level to zero, no error message is given.
Call transaction SM30 and enter as Table/View ‘V_USMD_MC_LIMIT’. In the following maintenance view,
you can specify the limits per governance model. The limits depend mainly on the size of the governance
data model, the governance scope, the complexity of the UIs and the performance of the system.
You can also introduce limits for your own governance data models. If not, the generic limit entry (with data
model ‘*’) is used instead.
© 2024 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on [Link]/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
4.10 Activate Service
Activate the HTTP service for your multiple-record processing WD application using transaction SICF. The
service name equals the name of the WD application. Right-click on the service name and select the menu
item Activate Service.
© 2024 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on [Link]/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
- any field of a dependent entity changed
- any dependent entity was created
Schema 1 must be used, if you use MDG7.0 prior to SP02 or if you have not activated the business
function set MDG_FOUNDATION_5. It may also be used to keep the UI behavior stable after having
installed MDG 7.0 SP2. The Delete button is hidden for this color scheme and highlighting of changes is
not supported for classification data. Therefore, we strongly recommend using the color scheme 2.
Schema 2: Highlighting changes is only carried out, if allowed for the current CR step (see chapter 4.9.7
Configure Properties of Change Request Step (UI and Highlight Changes)). At application startup,
highlighting changes is always switched off for performance reasons. At runtime, highlighting can be
toggled. To offer this feature, a toggle button needs to be defined in the floorplan configuration (global
toolbar or toolbar of main entity UIBB).
Schema 2 is implicitly selected for all other cases. If the parameter MDG_HC_COLOR_SAVED is initial, the
default color light orange (65) is used. If the parameter MDG_HC_COLOR_UNSAVED is initial, the default
color light yellow (82) is used. To switch of the usage of colors (and the calculation of list icons), the
SET/GET parameter MDG_HC_DISABLE must set to X.
For schema 1, colorizing fields can be suppressed at startup via the SET/GET parameter
USMD_MC_TCD_USE. Allowed parameter values are Y (Yes) and N (No). All other values will be
interpreted as undefined.
For schema 2, this parameter USMD_MC_TCD_USE is ignored and the highlighting of changed is always
switched off at startup. For both color schema, you can configure a button to toggle the highlighting state at
runtime (see chapter 4.4 Create a Configuration for the Application Controller).
© 2024 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on [Link]/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
4.11.4 Setting Colors
You can set the colors via SET/GET parameters in the user profile. Allowed colors are given by the fixed
values of domain WDUI_TABLE_CELL_DESIGN.
You can also pass the colors via application parameters. This requires that you have added these
parameters to the list of application parameters. Then, you can set the colors via application configuration or
customizing. You can also send the required information via URL, (e.g., by attaching name/value pairs to the
query string).
If more than one possibility to set the colors is used, the application checks these possibilities in the following
sequence:
• SET/GET parameter
• Application parameters (configured value) if SET/GET parameter is initial
• URL parameter (incl. Shared Objects memory set by navigation) if application parameter is initial
4.11.5 Colors
Start Web Dynpro application WDR_TEST_TABLE and click the CELL DESIGN link within this application.
You get an overview about the available cell designs. In addition, check the fixed values of domain
WDUI_TABLE_CELL_DESIGN to determine the color number related to a given cell design.
There is a link to the Web Dynpro application MDG_DISPLAY_COLORS in the documentation of the
customizing node General Settings → Process Modeling → Change Requests → Configure Properties of
Change Request Step.
Starting MDG with Corbu theme the following colors are available:
© 2024 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on [Link]/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
© 2024 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on [Link]/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
© 2024 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on [Link]/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
4.12 Transfer Object Keys from Source Application to Multiple-Record
Processing WD Application
Currently, the multiple-record processing WD application can only retrieve data qualified by a simple key (For
example, material number). The key data can be transferred by URL (resp. Shared Objects memory) or by
Global Context. In addition, the object list can be retrieved from a change request by transferring the change
request number to the multiple-record processing application. If more than one transfer channel is used, the
priority is as follows:
1. Change Request Object List
2. Global Context if change request number is not supplied
3. URL (resp. Shared Objects memory) if Global Context does not contain data
© 2024 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on [Link]/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
• Now add your source application to the composing instruments. Double-click dialog structure Define
Instrument Types. Select WD_APPL.
• Double-click dialog structure Composing Instruments. Click New Entries toolbar button.
• Enter source application name (e.g., name of Search WD application) in Instrument column and the
name of your accord in Accord column. Choose Save.
• Restart transaction BS_CONTEXT.
• Check if your application is displayed in dialog structure Referring Instruments for context ID
MC_DATA and for your accord.
© 2024 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on [Link]/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
CALL TRANSFORMATION id
SOURCE tab = lt_material
RESULT XML ls_data-data.
CATCH cx_bs_ct_core.
* Do message handling here
ENDTRY.
Note: If you use the edition concept, you can pass the edition value to the to the multiple-record
processing application using the EDITION component.
Note: The name used in the name/value pairs must be identical to the name of the root type-1 entity
for your data model.
4.13 Work with Copies of Supplied Data (for example from material
search UI MDG_BS_MAT_SEARCH_06)
You can copy the entities qualified by the supplied object keys when starting your multiple-record processing
application. Your application then works on the copies of the supplied objects. The type-1 entity keys are
derived via internal number assignment and can be changed at runtime.
To trigger the copy process, you need to send the name/value pair USMD_NEW_MASS_COPY=X via URL
parameters.
All data is copied. But there is a restriction for entities with leading entity according to table
MDG_BS_MAT_LENTY. These entities are only copied if there is also a value for an attribute in addition to
the key.
If a field value will be copied depends also on customizing of the backend material master (transaction
OMSR).
Note: Do not send this information if you supply the object keys implicitly via an already existing
change request.
© 2024 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on [Link]/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
5 Additional Information
Note Description
3043582 MDG Customer Connection 2020
2284745 Functional Restrictions in MDG for Material with SAP Master Data Governance 9.0
2461516 Functional Restrictions in MDG for Material with SAP Master Data Governance 9.1
Functional Restrictions in MDG for Material in SAP Master Data Governance 9.2 and on SAP
2656693
S/4HANA 1809
2816571 Functional Restrictions in MDG for Material on SAP S/4HANA 1909
© 2024 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on [Link]/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.
3219945 Functional Restrictions in MDG for Material on SAP S/4HANA 2022
3374998 Functional Restrictions in MDG for Material on SAP S/4HANA 2023
2803671 Multi Record Processing: F4 help has no values in 'Find and Replace' pop-up
2757392 MDG-M: Poor performance when reading valuation area data for plants
2724258 Multiple Record Processing: Switch to "Edit" mode causes extended runtime
© 2024 SAP SE or an SAP affiliate company. All rights reserved. See Legal Notice on [Link]/legal-notice for use terms, disclaimers, disclosures, or restrictions related to SAP Materials for general audiences.