R_TrdgDocTypeText
Trading Document Type - Text
R_TrdgDocTypeText is a Basic CDS View that provides data about "Trading Document Type - Text" in SAP S/4HANA. It reads from 1 data source (tb2bet) and exposes 5 fields with key fields TradingDocumentType, Language. Part of development package VDM_LO_GT.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| tb2bet | tb2bet | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.representativeKey | TradingDocumentType | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| Analytics.internalName | #LOCAL | view | |
| EndUserText.label | Trading Document Type - Text | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | TradingDocumentType | |||
| KEY | Language | spras | ||
| TrdgDocTypeName | bezei | |||
| _TradingDocumentType | _TradingDocumentType | |||
| _Language | _Language |
@VDM: {
viewType: #BASIC,
lifecycle.contract.type: #SAP_INTERNAL_API
}
@AccessControl: {
authorizationCheck: #NOT_REQUIRED
}
@ObjectModel: {
representativeKey: 'TradingDocumentType',
dataCategory: #TEXT,
usageType: {
dataClass: #CUSTOMIZING,
serviceQuality: #B,
sizeCategory: #S
}
}
@Analytics: {
internalName: #LOCAL
}
@EndUserText.label: 'Trading Document Type - Text'
@Metadata.ignorePropagatedAnnotations: true
define view entity R_TrdgDocTypeText
as select from tb2bet
association[0..1] to R_TrdgDocType as _TradingDocumentType on $projection.TradingDocumentType = _TradingDocumentType.TradingDocumentType
association[0..1] to I_Language as _Language on $projection.Language = _Language.Language
{
@ObjectModel.foreignKey.association: '_TradingDocumentType'
key cast( tctyp as wb2_ref_doc_type preserving type ) as TradingDocumentType,
@Semantics.language: true
@ObjectModel.foreignKey.association: '_Language'
key spras as Language,
@Semantics.text: true
bezei as TrdgDocTypeName,
_TradingDocumentType,
_Language
};
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