I_SpnsrdClSubstnValdtn
Substitution Validation Rules Spnsrcls
I_SpnsrdClSubstnValdtn is a Composite CDS View that provides data about "Substitution Validation Rules Spnsrcls" in SAP S/4HANA. It reads from 2 data sources (I_SponsoredClass, I_SponsoredClass) and exposes 7 fields with key fields SponsoredClass, FinSubstitutionValidationRule, FinSubstitutionValidationRule. It has 2 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_SponsoredClass | _SponsoredClass | from |
| I_SponsoredClass | _SponsoredClass | union |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | I_FinSubstitutionRuleSubstn | _substitution | $projection.SponsoredClass = _substitution.FinSubstnRuleSubstitutionValue and _substitution.FinSubstnRuleTargetField like '%SponsoredClass%' |
| [1..*] | I_PubSecValidationCndnRule | _condvalidation | _SponsoredClass.SponsoredClass = _condvalidation.RangeFromValue or ( _SponsoredClass.SponsoredClass between _condvalidation.RangeFromValue and _condvalidation.RangeToValue ) and _condvalidation.FinSubstnValdtnRuleFieldPath like '%SponsoredClass%' |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ISPNSRCLSUBVAL | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Substitution Validation Rules Spnsrcls | 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 (7)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SponsoredClass | I_SponsoredClass | SponsoredClass | Sponsored Class |
| KEY | FinSubstitutionValidationRule | _substitution | FinSubstitutionValidationRule | Rule ID |
| SponsoredClassName | ||||
| SponsoredClass | Sponsored Class | |||
| KEY | FinSubstitutionValidationRule | _condvalidation | FinSubstitutionValidationRule | Rule ID |
| SponsoredClassName | ||||
| SponsoredClassAuthznGrp | I_SponsoredClass | SponsoredClassAuthznGrp | AuthorizGroup |
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_SpnsrdClSubstnValdtn.
-- 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: ISPNSRCLSUBVAL
CREATE VIEW I_SpnsrdClSubstnValdtn AS
SELECT
_SponsoredClass.SponsoredClass AS SponsoredClass,
_substitution.FinSubstitutionValidationRule AS FinSubstitutionValidationRule,
_SponsoredClass._Text[ Language = $session.system_language ].SponsoredClassName AS SponsoredClassName,
_SponsoredClass.SponsoredClassAuthznGrp AS SponsoredClassAuthznGrp
FROM I_SponsoredClass AS _SponsoredClass
LEFT OUTER JOIN I_FinSubstitutionRuleSubstn AS _substitution ON SponsoredClass = _substitution.FinSubstnRuleSubstitutionValue AND _substitution.FinSubstnRuleTargetField like '%SponsoredClass%' -- association [1..*]
LEFT OUTER JOIN I_PubSecValidationCndnRule AS _condvalidation ON _SponsoredClass.SponsoredClass = _condvalidation.RangeFromValue OR ( _SponsoredClass.SponsoredClass between _condvalidation.RangeFromValue AND _condvalidation.RangeToValue ) AND _condvalidation.FinSubstnValdtnRuleFieldPath like '%SponsoredClass%' -- association [1..*]
-- UNION with additional select branch(es): I_SponsoredClass
;
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