Ansicht
Dokumentation

PBC_0106 - Assign Messages to Message Groups

PBC_0106 - Assign Messages to Message Groups

ABAP Short Reference   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

In this activity, you define the derivation of the message group for enhanced message processing of a line of the message log of a commitment run.

The derivation comprises a sequence of derivation steps from the derivation strategy, which is used for deriving values in succession from the message group from the account assignments. Each derivation step describes how a number of target fields can be filled from a number of source fields.

There are a number of different derivation step types, which map the different logical dependencies between the source and target fields:

  • Derivation rule
  • Table access
  • Move
  • Clear
  • Enhancement
  • Function module

You can use each function module as a derivation step. Prerequisite for this is that the function module has an import parameter with the name INPUT and an export parameter with the name OUTPUT.

The import and export parameters must be defined as a structure with at least one field.

You can create, change, and delete steps, and also change their order.

Creating Steps

  1. Choose Create Step.
    If you want to add a new step to the derivation strategy, select the step before where the new step is to appear, and choose Create Step.
  2. Choose the derivation step types you want use from the ones offered.
  3. Enter a text and source and target fields for the derivation step. You can define field characteristicsfor the source and target fields.
    1. Source field
      For a source field, you can define that initial values are allowed. This ensures that a derivation is also executed when the corresponding source field is not filled.
    2. Target field
      You can define the following for the target field:

      - The new value is not transferred if a value already exists from a previous derivation step.

      - The new value is transferred even if the new value is initial.

      - The new value is transferred if the new value is filled.
      Note: With this setting, you can define, for example, that the derived value cannot be overwritten manually.
    3. Source fields and target fields
      Apart from the derivation rule derivation step, you can define that the complete field content or only part of the field content is included for source and target fields.
  4. If the derivation step is only to be executed under certain conditions, for example, only for specific account assignment values, specify this on the Condition tab.
    The derivation step is only executed when all the listed conditions for the field are met (AND operation).
  5. Define step characteristics on the Characteristics tab.
    You can define the following here (apart for the derivation step types Clear and Move):
    1. If a derivation step is not derived successfully, an error message is issued. Otherwise the strategy is processed further.
    2. The processing of the strategy should be finished when a suitable entry is found by the derivation step. Otherwise, the strategy is processed right through to the end.
Note:If you use the derivation step type derivation rule, you have some additional input options:
  • With the Define Rule Entries function, you specify for which account assignment values of the source fields are to be entered in the target fields. These assignments can also be made in the master data maintenance of Funds Management under Assignments → Process Account Assignment Derivation.

  • On the Characteristics tab, you can also define the entry of a validity date for the step, hereby specifying a time-dependency.

  1. Once you have saved the new entry, go back to the complete list.

Change/Delete Step

  • When you want to make changes, you have all the options available to you as described under "Create Step".
  • To delete, select the corresponding step and choose Delete.

Change Step Sequence

  1. Select the step to be moved.
  2. Position your cursor under the target position.
  3. Choose Move.

Test Derivation Strategy

You can check your derivation strategy using the Test function. The following functions are available in test mode:

  • To test which values are derived, enter the source fields to be checked and choose Derive Assignment.
  • To determine which rules are used for the derivation, choose Display Derivation Log.
  • To delete the selection screen, choose Delete Assignment.
  • To test the account assignment derivation with the posting, choose TRACE. If this function is active, the check screen appears before the update, where you can check all values. To trigger the update, you must leave the check screen by choosing Leave Assignment.
    Note that you can only use this function user-dependently.

Predefined settings for rule steps for assignment of messages to message groups

Using the program Enhanced Message Processing: SAP-Defined Message Groups RHRFPM_XX_DERIVATION_RULE_DFLT, you can create or adjust SAP-defined default settings for rule steps for assignment of messages to message groups in the system. The program creates rule steps predefined by SAP in the system. At the same time, you can create a minimum configuration of rule entries for the derivation steps created in this way.






General Data in Customer Master   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 7398 Date: 20240523 Time: 220251     sap01-206 ( 94 ms )