SEPM_I_ProductTypeText
EPM Demo: Product Type Text
SEPM_I_ProductTypeText is a CDS View that provides data about "EPM Demo: Product Type Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 5 fields with key fields ProductType, 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] | SEPM_I_ProductType | _ProductType | $projection.ProductType = _ProductType.ProductType |
| [0..1] | SEPM_I_Language | _Language | $projection.Language = _Language.Language |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | EPM Demo: Product Type Text | view | |
| ObjectModel.dataCategory | #TEXT | view | |
| Analytics.dataExtraction.enabled | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AbapCatalog.sqlViewName | SEPM_IPRODTYPET | view | |
| ObjectModel.representativeKey | ProductType | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MASTER | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ProductType | |||
| _ProductType | _ProductType | |||
| KEY | Language | ddlanguage | ||
| _Language | _Language | |||
| ProductTypeName | ddtext |
@EndUserText.label: 'EPM Demo: Product Type Text'
@ObjectModel.dataCategory: #TEXT
@Analytics.dataExtraction.enabled: true
//@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AbapCatalog.sqlViewName: 'SEPM_IPRODTYPET'
@ObjectModel.representativeKey: 'ProductType'
@ObjectModel.usageType.serviceQuality:#C
@ObjectModel.usageType.sizeCategory:#S
@ObjectModel.usageType.dataClass: #MASTER
define view SEPM_I_ProductTypeText
as select from dd07t
association [0..1] to SEPM_I_ProductType as _ProductType on $projection.ProductType = _ProductType.ProductType
association [0..1] to SEPM_I_Language as _Language on $projection.Language = _Language.Language
{
@ObjectModel.foreignKey.association: '_ProductType'
key cast ( substring( domvalue_l, 1, 2 ) as snwd_product_type_code preserving type )
as ProductType,
_ProductType,
@Semantics.language: true
@ObjectModel.foreignKey.association: '_Language'
key ddlanguage as Language,
_Language,
@Semantics.text: true
ddtext as ProductTypeName
}
where domname = 'D_PR_TYPE'
and as4local = 'A'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"DD07T"
],
"ASSOCIATED":
[
"SEPM_I_LANGUAGE",
"SEPM_I_PRODUCTTYPE"
],
"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