I_StockTransferDocCategoryText
Stock Transfer Documents Category Text
I_StockTransferDocCategoryText is a Basic CDS View that provides data about "Stock Transfer Documents Category Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 5 fields with key fields StockTransferDocumentCategory, Language. 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_StockTransferDocCategory | _StockTransferDocCategory | $projection.StockTransferDocumentCategory = _StockTransferDocCategory.StockTransferDocumentCategory |
| [0..1] | I_Language | _Language | $projection.Language = _Language.Language |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| ObjectModel.representativeKey | StockTransferDocumentCategory | view | |
| ObjectModel.usageType.dataClass | #META | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| EndUserText.label | Stock Transfer Documents Category Text | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AbapCatalog.sqlViewName | ISPSTCKTRSFCATT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | StockTransferDocumentCategory | |||
| KEY | Language | ddlanguage | ||
| StockTransferDocumentCatName | ddtext | |||
| _StockTransferDocCategory | _StockTransferDocCategory | |||
| _Language | _Language |
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.dataCategory: #TEXT
@ObjectModel.representativeKey: 'StockTransferDocumentCategory'
@ObjectModel.usageType.dataClass: #META
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #S
@EndUserText.label: 'Stock Transfer Documents Category Text'
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AbapCatalog.sqlViewName: 'ISPSTCKTRSFCATT'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
define view I_StockTransferDocCategoryText
as select from dd07t
association [0..1] to I_StockTransferDocCategory as _StockTransferDocCategory on $projection.StockTransferDocumentCategory = _StockTransferDocCategory.StockTransferDocumentCategory
association [0..1] to I_Language as _Language on $projection.Language = _Language.Language
{
@ObjectModel.foreignKey.association: '_StockTransferDocCategory'
@ObjectModel.text.element: ['StockTransferDocumentCatName']
key SUBSTRING(dd07t.domvalue_l, 1, 4) as StockTransferDocumentCategory,
@Semantics.language
@ObjectModel.foreignKey.association: '_Language'
key ddlanguage as Language,
@Semantics.text: true
ddtext as StockTransferDocumentCatName,
//Associations
_StockTransferDocCategory,
_Language
}
where
domname = '/SAPAPO/MRPA_PROC_CATEGORY'
and as4local = 'A';
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07T"
],
"ASSOCIATED":
[
"I_LANGUAGE",
"I_STOCKTRANSFERDOCCATEGORY"
],
"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