I_GrantSubstitutionValidation
Substitution Validation Rules Grant
I_GrantSubstitutionValidation is a Composite CDS View that provides data about "Substitution Validation Rules Grant" in SAP S/4HANA. It reads from 2 data sources (I_Grant, I_Grant) and exposes 5 fields with key fields GrantID, FinSubstitutionValidationRule, FinSubstitutionValidationRule. It has 2 associations to related views.
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | I_FinSubstitutionRuleSubstn | _substitution | $projection.GrantID = _substitution.FinSubstnRuleSubstitutionValue and _substitution.FinSubstnRuleTargetField like '%Grant%' |
| [1..*] | I_PubSecValidationCndnRule | _condvalidation | _Grant.GrantID = _condvalidation.RangeFromValue or ( _Grant.GrantID between _condvalidation.RangeFromValue and _condvalidation.RangeToValue ) and _condvalidation.FinSubstnValdtnRuleFieldPath like '%Grant%' |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IWUGRANTSUBVAL | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Substitution Validation Rules Grant | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | GrantID | I_Grant | GrantID | Sender Grant |
| KEY | FinSubstitutionValidationRule | _substitution | FinSubstitutionValidationRule | Rule ID |
| GrantID | Sender Grant | |||
| KEY | FinSubstitutionValidationRule | _condvalidation | FinSubstitutionValidationRule | Rule ID |
| GrantName |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view I_GrantSubstitutionValidation.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: IWUGRANTSUBVAL
CREATE VIEW I_GrantSubstitutionValidation AS
SELECT
_Grant.GrantID AS GrantID,
_substitution.FinSubstitutionValidationRule AS FinSubstitutionValidationRule,
_Grant._Text[ Language = $session.system_language ].GrantName AS GrantName
FROM I_Grant AS _Grant
LEFT OUTER JOIN I_FinSubstitutionRuleSubstn AS _substitution ON GrantID = _substitution.FinSubstnRuleSubstitutionValue AND _substitution.FinSubstnRuleTargetField like '%Grant%' -- association [1..*]
LEFT OUTER JOIN I_PubSecValidationCndnRule AS _condvalidation ON _Grant.GrantID = _condvalidation.RangeFromValue OR ( _Grant.GrantID between _condvalidation.RangeFromValue AND _condvalidation.RangeToValue ) AND _condvalidation.FinSubstnValdtnRuleFieldPath like '%Grant%' -- association [1..*]
-- UNION with additional select branch(es): I_Grant
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA