I_LglCntntMCntxtIdfgRules
Context Determination Rules
I_LglCntntMCntxtIdfgRules is a Composite CDS View that provides data about "Context Determination Rules" in SAP S/4HANA. It reads from 1 data source (I_LglCntntMCntxtIdfgAttrib) and exposes 10 fields with key fields LglCntntMCntxtIdfgAttribUUID, LglCntntMCntxtIdfgValUUID. It has 3 associations to related views. Part of development package VDM_LCM_CTX.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_LglCntntMCntxtIdfgAttrib | I_LglCntntMCntxtIdfgAttrib | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_LcmContext | _LglCntntMContext | $projection.LglCntntMContextUUID = _LglCntntMContext.LglCntntMContextUUID |
| [1..*] | I_LglCntntMCntxtIdfgValue | _LglCntntMCntxtIdfgValue | $projection.LglCntntMCntxtIdfgAttribUUID = _LglCntntMCntxtIdfgValue.LglCntntMCntxtIdfgAttribUUID |
| [1..1] | I_LglCntntMCntxtRuleGroup | _LglCntntMCntxtRuleGroup | $projection.LglCntntMCntxtRuleGroupUUID = _LglCntntMCntxtRuleGroup.LglCntntMCntxtRuleGroupUUID |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ILCMCTXIDFGRULE | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.representativeKey | LglCntntMCntxtIdfgValUUID | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| EndUserText.label | Context Determination Rules | view |
Fields (10)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | LglCntntMCntxtIdfgAttribUUID | LglCntntMCntxtIdfgAttribUUID | Universal Unique ID | |
| KEY | LglCntntMCntxtIdfgValUUID | _LglCntntMCntxtIdfgValue | LglCntntMCntxtIdfgValUUID | Universal Unique ID |
| LglCntntMContextUUID | LglCntntMContextUUID | Universal Unique ID | ||
| LglCntntMCntxtRuleGroupUUID | LglCntntMCntxtRuleGroupUUID | Rule Group UUID | ||
| LglCntntMIntegrationType | _LglCntntMContext | LglCntntMIntegrationType | Integration Variant | |
| LglCntntMContext | _LglCntntMContext | LglCntntMContext | Context ID | |
| LglCntntMContextStatus | _LglCntntMContext | LglCntntMContextStatus | Status | |
| LglCntntMCntxtRuleGroupDesc | _LglCntntMCntxtRuleGroup | LglCntntMCntxtRuleGroupDesc | Rule Group Descr | |
| LglCntntMCntxtIdfgAttrib | LglCntntMCntxtIdfgAttrib | Ident. Attributes | ||
| LglCntntMCntxtPairAttribVal | _LglCntntMCntxtIdfgValue | LglCntntMCntxtPairAttribVal | Attribute Value Pair |
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_LglCntntMCntxtIdfgRules.
-- 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: ILCMCTXIDFGRULE
CREATE VIEW I_LglCntntMCntxtIdfgRules AS
SELECT
LglCntntMCntxtIdfgAttribUUID,
_LglCntntMCntxtIdfgValue.LglCntntMCntxtIdfgValUUID AS LglCntntMCntxtIdfgValUUID,
LglCntntMContextUUID,
LglCntntMCntxtRuleGroupUUID,
_LglCntntMContext.LglCntntMIntegrationType AS LglCntntMIntegrationType,
_LglCntntMContext.LglCntntMContext AS LglCntntMContext,
_LglCntntMContext.LglCntntMContextStatus AS LglCntntMContextStatus,
_LglCntntMCntxtRuleGroup.LglCntntMCntxtRuleGroupDesc AS LglCntntMCntxtRuleGroupDesc,
LglCntntMCntxtIdfgAttrib,
_LglCntntMCntxtIdfgValue.LglCntntMCntxtPairAttribVal AS LglCntntMCntxtPairAttribVal
FROM I_LglCntntMCntxtIdfgAttrib
LEFT OUTER JOIN I_LcmContext AS _LglCntntMContext ON LglCntntMContextUUID = _LglCntntMContext.LglCntntMContextUUID -- association [1..1]
LEFT OUTER JOIN I_LglCntntMCntxtIdfgValue AS _LglCntntMCntxtIdfgValue ON LglCntntMCntxtIdfgAttribUUID = _LglCntntMCntxtIdfgValue.LglCntntMCntxtIdfgAttribUUID -- association [1..*]
LEFT OUTER JOIN I_LglCntntMCntxtRuleGroup AS _LglCntntMCntxtRuleGroup ON LglCntntMCntxtRuleGroupUUID = _LglCntntMCntxtRuleGroup.LglCntntMCntxtRuleGroupUUID -- association [1..1]
;
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