I_FrtCostDistrRuleText
Freight Cost Distribution Rule Text
I_FrtCostDistrRuleText is a Basic CDS View that provides data about "Freight Cost Distribution Rule Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 6 fields with key fields FrtCostDistrRule, Language. It has 1 association to related views. Part of development package VDM_TM_TCD.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dd07t | dd07t | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Language | _Language | $projection.Language = _Language.Language |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Freight Cost Distribution Rule Text | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.representativeKey | FrtCostDistrRule | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| ObjectModel.modelingPattern | #LANGUAGE_DEPENDENT_TEXT | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #META | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Search.searchable | true | view |
Fields (6)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | FrtCostDistrRule | |||
| KEY | Language | ddlanguage | ||
| FrtCostDistrRuleTxt | ||||
| DomainValue | dd07t | domvalue_l | ||
| _DistributionRule | _DistributionRule | |||
| _Language | _Language |
@EndUserText: {label: 'Freight Cost Distribution Rule Text'}
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel: {representativeKey: 'FrtCostDistrRule',
dataCategory: #TEXT,
modelingPattern: #LANGUAGE_DEPENDENT_TEXT,
usageType: {serviceQuality: #A,
sizeCategory: #S,
dataClass: #META},
supportedCapabilities: [#CDS_MODELING_ASSOCIATION_TARGET,
#CDS_MODELING_DATA_SOURCE,
#LANGUAGE_DEPENDENT_TEXT,
#SEARCHABLE_ENTITY,
#SQL_DATA_SOURCE]
}
@VDM: { lifecycle.contract.type: #PUBLIC_LOCAL_API,
viewType: #BASIC}
@AccessControl: {authorizationCheck: #NOT_REQUIRED}
@Search.searchable: true
define view entity I_FrtCostDistrRuleText
as select from dd07t
association to parent I_FrtCostDistrRule as _DistributionRule on $projection.FrtCostDistrRule = _DistributionRule.FrtCostDistrRule
association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
{
@ObjectModel.foreignKey.association: '_DistributionRule'
key cast(substring(domvalue_l, 1, 2) as /scmtms/distr_rule preserving type) as FrtCostDistrRule,
@Semantics.language: true
@ObjectModel.foreignKey.association: '_Language'
key ddlanguage as Language,
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.8
@Search.ranking: #LOW
@Semantics.text: true
cast(ddtext as /scmtms/vdm_distr_rule_desc preserving type) as FrtCostDistrRuleTxt,
@Analytics.hidden: true
@Consumption.hidden: true
dd07t.domvalue_l as DomainValue,
/* Associations */
_DistributionRule,
_Language
}
where
domname = '/SCMTMS/DISTR_RULE'
and as4local = 'A';
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