I_TransportationMode
Transportation Mode
I_TransportationMode is a Basic CDS View (Dimension) that provides data about "Transportation Mode" in SAP S/4HANA. It reads from 1 data source (tvtr) and exposes 4 fields with key field TransportationMode. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| tvtr | tvtr | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_TransportationModeText | _Text | $projection.TransportationMode = _Text.TransportationMode |
| [0..1] | I_TransportationModeCategory | _TransportationModeCategory | $projection.TransportationModeCategory = _TransportationModeCategory.TransportationModeCategory |
Annotations (19)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Transportation Mode | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.dataExtraction.enabled | true | view | |
| Analytics.internalName | #LOCAL | view | |
| ObjectModel.representativeKey | TransportationMode | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| VDM.viewType | #BASIC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.sqlViewName | ITRMODE | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.buffering.status | #ACTIVE | view | |
| AbapCatalog.buffering.type | #FULL | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | TransportationMode | |||
| TransportationModeCategory | ||||
| _Text | _Text | |||
| _TransportationModeCategory | _TransportationModeCategory |
@EndUserText: {label: 'Transportation Mode'}
@Analytics: {dataCategory: #DIMENSION,
dataExtraction: {enabled: true},
internalName: #LOCAL}
@ObjectModel: {representativeKey: 'TransportationMode',
usageType: {serviceQuality: #A,
sizeCategory: #S,
dataClass: #CUSTOMIZING},
modelingPattern: #ANALYTICAL_DIMENSION,
supportedCapabilities: [ #ANALYTICAL_DIMENSION,
#CDS_MODELING_DATA_SOURCE,
#CDS_MODELING_ASSOCIATION_TARGET,
#SQL_DATA_SOURCE,
#EXTRACTION_DATA_SOURCE,
#VALUE_HELP_PROVIDER,
#SEARCHABLE_ENTITY]}
@VDM: {viewType: #BASIC}
@AbapCatalog: {compiler: {compareFilter: true},
sqlViewName: 'ITRMODE',
preserveKey: true,
buffering: {status: #ACTIVE,
type: #FULL}}
@AccessControl: {authorizationCheck: #NOT_REQUIRED}
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata: {allowExtensions: true,
ignorePropagatedAnnotations: true}
define view I_TransportationMode
as select from tvtr // as select from /sapapo/tmodcod
association [0..*] to I_TransportationModeText as _Text on $projection.TransportationMode = _Text.TransportationMode
association [0..1] to I_TransportationModeCategory as _TransportationModeCategory on $projection.TransportationModeCategory = _TransportationModeCategory.TransportationModeCategory
{
@ObjectModel.text.association: '_Text'
// key trmodcod as TransportationMode,
key cast(vktra as /scmtms/vdm_tor_trmodcode preserving type ) as TransportationMode,
@ObjectModel.foreignKey.association: '_TransportationModeCategory'
cast(trmodcat as /scmtms/vdm_tor_trmod_cat preserving type) as TransportationModeCategory,
/* Associations */
_Text,
_TransportationModeCategory
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"TVTR"
],
"ASSOCIATED":
[
"I_TRANSPORTATIONMODECATEGORY",
"I_TRANSPORTATIONMODETEXT"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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