Dear who cares,
I've reconstructed the sample "5.1.3 Decision Table with multiple results" from the How-to-Guide "Master Data Governance for Material: Check and Derivation Rules".
The problem when adhering to the sample is:
- using the structure MATERIAL (as required by the MGD-Framework) in the signature of the triggering function
- using as structure STRUCT_MDG_MAT (which contains the fields that have to be changed within the structure MATERIAL) as the the result data object of a decision table that is called by a rule (from a ruleset that is assigned to the above mentioned function)
--> results in an check-error "Structure STRUCT_MDG_MAT/STRUCT MDG MAT is not in the context "
Note: the structure STRUCT_MDG_MAT contains a subset of the fields of structure MATERIAL.
How to resolve such a conflict:
The context of a function contains a structure with more than 3 fields.
Within a decision table a result data object should be a structure with fields that are a small subset of the context of the function.
Thanks.
P.S.: using BRF+ in Netweaver EHP2 (within ERP EHP5).
Edited by: Arthur Wirthensohn on Dec 30, 2011 10:18 PM