I_CustomsPreference
Trade Preference Indicator
I_CustomsPreference is a Basic CDS View that provides data about "Trade Preference Indicator" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field CustomsPreference. It has 1 association to related views. Part of development package VDM_SLL_DOC.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dd07l | dd07l | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | I_CustomsPreferenceText | _Text | $projection.CustomsPreference = _Text.CustomsPreference |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Trade Preference Indicator | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #META | view | |
| ObjectModel.representativeKey | CustomsPreference | view | |
| ObjectModel.modelingPattern | #NONE | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CustomsPreference | |||
| _Text | _Text |
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AbapCatalog.viewEnhancementCategory: [#NONE]
@EndUserText.label: 'Trade Preference Indicator'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #A,
sizeCategory: #S,
dataClass: #META
}
@ObjectModel.representativeKey: 'CustomsPreference'
@ObjectModel.supportedCapabilities: [ #CDS_MODELING_DATA_SOURCE,
#CDS_MODELING_ASSOCIATION_TARGET,
#SQL_DATA_SOURCE ]
@ObjectModel.modelingPattern:#NONE
define view entity I_CustomsPreference
as select from dd07l
association [1..*] to I_CustomsPreferenceText as _Text on $projection.CustomsPreference = _Text.CustomsPreference
{
@ObjectModel.text.association: '_Text'
key cast(domvalue_l as prefe) as CustomsPreference,
_Text
}
where
domname = 'PREFE'
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