I_StockTypeText_2
Stock Type - Text
I_StockTypeText_2 is a Basic CDS View that provides data about "Stock Type - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 5 fields with key fields StockType, Language. Part of development package VDM_SD_BF_GF.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dd07t | dd07t | from |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| ObjectModel.representativeKey | StockType | view | |
| ObjectModel.usageType.dataClass | #META | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| EndUserText.label | Stock Type - Text | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AbapCatalog.sqlViewName | ISDSTOCKTYPETEX2 | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Analytics.dataExtraction.enabled | true | view | |
| ObjectModel.modelingPattern | #LANGUAGE_DEPENDENT_TEXT | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | StockType | |||
| KEY | Language | ddlanguage | ||
| StockTypeName | ddtext | |||
| _StockType | _StockType | |||
| _Language | _Language |
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.dataCategory: #TEXT
@ObjectModel.representativeKey: 'StockType'
@ObjectModel.usageType.dataClass: #META
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #S
@EndUserText.label: 'Stock Type - Text'
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AbapCatalog.sqlViewName: 'ISDSTOCKTYPETEX2'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@Metadata.ignorePropagatedAnnotations: true
@Analytics.dataExtraction.enabled: true
@ObjectModel.modelingPattern: #LANGUAGE_DEPENDENT_TEXT
@ObjectModel.supportedCapabilities: [ #SQL_DATA_SOURCE,
#CDS_MODELING_DATA_SOURCE,
#CDS_MODELING_ASSOCIATION_TARGET,
#LANGUAGE_DEPENDENT_TEXT,
#EXTRACTION_DATA_SOURCE ]
/*+[hideWarning] { "IDS" : [ "KEY_CHECK", "CALCULATED_FIELD_CHECK" ] } */
define view I_StockTypeText_2
as select from dd07t
association[0..1] to I_StockType_2 as _StockType on $projection.StockType = _StockType.StockType
association[0..1] to I_Language as _Language on $projection.Language = _Language.Language
{
@ObjectModel.foreignKey.association: '_StockType'
key SUBSTRING(domvalue_l, 1, 1) as StockType,
@Semantics.language: true
@ObjectModel.foreignKey.association: '_Language'
key ddlanguage as Language,
@Semantics.text: true
ddtext as StockTypeName,
//Associations
_StockType,
_Language
}
where (dd07t.domname = 'MB_INSMK') and (dd07t.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