I_CstrtRule
Constraint Rule List
I_CstrtRule is a Basic CDS View that provides data about "Constraint Rule List" in SAP S/4HANA. It reads from 2 data sources (/plmi/rule_desc, /plmi/rule_type) and exposes 2 fields with key field EmbeddedSwConstraintRule.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| /plmi/rule_desc | _RuleDesc | left_outer |
| /plmi/rule_type | _RuleType | from |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ICSTRTRULE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #BASIC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| EndUserText.label | Constraint Rule List | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | EmbeddedSwConstraintRule | /plmi/rule_type | rule_type | |
| EmbeddedSwConstraintRuleDesc | /plmi/rule_desc | rule_desc |
@AbapCatalog.sqlViewName: 'ICSTRTRULE'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #BASIC
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.dataClass: #MIXED
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.usageType.serviceQuality: #C
@EndUserText.label: 'Constraint Rule List'
define view I_CstrtRule as select from /plmi/rule_type as _RuleType
left outer join /plmi/rule_desc as _RuleDesc on _RuleDesc.rule_type = _RuleType.rule_type
and _RuleDesc.spras = $session.system_language
{
key _RuleType.rule_type as EmbeddedSwConstraintRule,
_RuleDesc.rule_desc as EmbeddedSwConstraintRuleDesc
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"/PLMI/RULE_DESC",
"/PLMI/RULE_TYPE"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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