I_SerialNmbrDocTypeText
Serial Number Document Type Text
I_SerialNmbrDocTypeText is a Basic CDS View that provides data about "Serial Number Document Type Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 5 fields with key fields Language, SerialNmbrHistoryDocumentType. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dd07t | dd07t | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_SerialNmbrDocType | _SerialNmbrDocType | $projection.SerialNmbrHistoryDocumentType = _SerialNmbrDocType.SerialNmbrHistoryDocumentType |
| [0..1] | I_Language | _Language | $projection.Language = _Language.Language |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ISNDOCTYPET | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Serial Number Document Type Text | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.representativeKey | SerialNmbrHistoryDocumentType | view | |
| ObjectModel.dataCategory | #TEXT | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Language | |||
| KEY | SerialNmbrHistoryDocumentType | |||
| SerialNmbrHistoryDocTypeName | ||||
| _SerialNmbrDocType | _SerialNmbrDocType | |||
| _Language | _Language |
@AbapCatalog.sqlViewName: 'ISNDOCTYPET'
@AbapCatalog.preserveKey: true
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Serial Number Document Type Text'
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.dataClass: #CUSTOMIZING
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #BASIC
@ObjectModel.representativeKey: 'SerialNmbrHistoryDocumentType'
@ObjectModel.dataCategory: #TEXT
define view I_SerialNmbrDocTypeText as select from dd07t
association [0..1] to I_SerialNmbrDocType as _SerialNmbrDocType on $projection.SerialNmbrHistoryDocumentType = _SerialNmbrDocType.SerialNmbrHistoryDocumentType
association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
{
@Semantics.language: true
key cast( ddlanguage as spras preserving type) as Language,
@ObjectModel.foreignKey.association: '_SerialNmbrDocType'
key cast ( substring( domvalue_l, 1, 1 ) as sn_history_doc_type preserving type) as SerialNmbrHistoryDocumentType,
@Semantics.text: true
cast ( substring ( ddtext, 1, 60 ) as val_text preserving type) as SerialNmbrHistoryDocTypeName,
_SerialNmbrDocType,
_Language
}
where domname = 'SN_HISTORY_DOC_TYPE' and as4local = 'A'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07T"
],
"ASSOCIATED":
[
"I_LANGUAGE",
"I_SERIALNMBRDOCTYPE"
],
"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