Derivation of the Reconciliation Account After Selecting a Specific Company Code
This document describes how to derivate the value of a field if you enter a specific value into another field: In the example entering the company code
1000 leads to the derivation of reconciliation account
with
the value 31000.
To access an entity type 4 that has a cardinality 1:1 (for example BP_CENTRL), you have to define the derivation DERIVE_BP_CENTRL to access elements such as Search Term 1
(BU_SORT1).
To access an entity type 4 that has a cardinality 1:N (for example BP_CUS_CC) you have to define the derivation DERIVE_BP_CUS_CC to access elements such as Reconciliation Account
(CUS_AKONT).
Note
For more information about derivation, see Definition of Validations and Derivations.
To access the entity BP_CUS_CC you must define the DERIVE_ BP_CUS_CC function as described below.
In the Customizing for Master Data Governance
, run the activity Define Validation and Derivation Rules
under .
Enter the Data model
BP and choose Continue
.
On the Business Rule Framework plus
screen, select the Catalog
tab, expand the Trigger Function
node, and select Derivation
. In the context menu choose .
In the Create Function
dialog box, enter the data shown below, choose Create and Navigate to Object
, and confirm the dialog box:
Name: DERIVE_BP_CUS_CC
Note
The naming convention for the function is DERIVE_<name of the entity>.
Short Text: DERIVE_BP_CUS_CC
Text: DERIVE_BP_CUS_CC
Application: FMDM_MODEL_BP
On the Signature
tab, choose Add Existing Data Object
.
In the Object Query
dialog box, enter the search criteria shown below and choose Search
.
Application: FMDM_MODEL_BP
Data Object Type: Any
Name: BP_CUS_CC
In the results list, mark BP_CUS_CC and choose OK
.
On the Assigned Rulesets
tab, choose Create Ruleset
.
In the Create Ruleset
dialog box, enter the data shown below, choose Create and Navigate to Object
, and confirm the dialog box:
Name: BP_CUS_CC_RULESET
Short Text: BP_CUS_CC_RULESET
Text: BP_CUS_CC_RULESET
Application: FMDM_MODEL_BP
In the Rules
group box, choose .
In the Rule
dialog box, choose .
In the Context Query
dialog box, expand the BP_CUS_CC node, mark CoCode, and choose OK
.
Select is equal to
and enter 1000 using the input help.
Note
Entering the value without the input help may cause inconsistencies due to the wrong data format.
Select .
In the Context Query
dialog box, expand the BP_CUS_CC node, mark Recon.acct, and choose OK
.
In the Rule:
dialog box, enter 31000 using the input help into the Change value of BP_CUS_CC to
field and choose OK
.
Note
Entering the value without the input help may cause inconsistencies due to the wrong data format.
Select Save
, choose Activate
, and on the Confirm Activation
dialog box choose Activate
.