Ansicht
Dokumentation

DMC_MT_ASSIGN_RULES - MWB: Assignment proposal for domain rules (mass transfer)

DMC_MT_ASSIGN_RULES - MWB: Assignment proposal for domain rules (mass transfer)

ABAP Short Reference   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

Purpose

In some scenarios the domain rule assignment is not feasible as a rule should only assigned to certain fileds. In case of a highe number of indiviudal rule assignments a functionality is required to enable a mass assignemt.

Based on the settings in table DMC_MT_RULE_ASS this program assigns the individual rules to the corresponding fields. The rule assignment can be started for a complete mass transfer ir certain tables of a mass transfer.

Integration

Prerequisites

The rule assignment is processed based on the settings in table DMC_MT_RULE_ASS. Therefore this tables has to be set before the program is executed. The table DMC_MT_RULE_ASS consists of the following fields:

  • MT_ID - Mass Transfer ID
  • TABNAME - Table Name
  • FIELDNAME - Field Name
  • RULE_IDENT - Rule Name

Features

If a rule is created on different levels (project, sub project, migration object) with the same name, it will be assigned in the following order: migration object rules before sub project rules before project rules.

Selection

In the Selection screen a mass transfer ID has to be set. If the processing should be restricted to certain tables, field tabname can be used to define the tables to be proccessed.

If the program is started in the dialog mode, the rule assignments are listed in the protocol, but hte objects are not changed.

If a rule is already assigned to a relevant field, the rule assignment will not be changed per default. This can be changed by activating the option overwrite existing rule calls to ensure that the rules are assigned as defined.

If the flag lock field for domain rules is active, all receiver fields where a rule is assigned based on the settings in table DMC_MT_RULE_ASS are locked for domain rule assigned and will therefore not be changed by any domain rule proposal.

In case the migration objects are linked to a certain package and transport request that could be defined in the transport settings to avoid individual user input for each changed migration object.

Standard Variants

Output

Activities

Example






CL_GUI_FRONTEND_SERVICES - Frontend Services   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 2522 Date: 20240531 Time: 190200     sap01-206 ( 49 ms )