SHSM_KNMT_REF
CDS View replacing KNMT_REF
SHSM_KNMT_REF is a CDS View that provides data about "CDS View replacing KNMT_REF" in SAP S/4HANA. It reads from 3 data sources (knmt, knmt, knmta) and exposes 13 fields with key fields kunnr, vkorg, kdmat, matnr, vtweg. It has 1 association to related views.
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Customer | _Customer | $projection.kunnr = _Customer.Customer |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | SHSMKNMTREF | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.representativeKey | kunnr | view | |
| EndUserText.label | CDS View replacing KNMT_REF | view |
@AbapCatalog: {
sqlViewName: 'SHSMKNMTREF',
compiler.compareFilter: true,
preserveKey: true
}
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #('TRANSACTIONAL_DATA')
@ClientHandling.algorithm : #SESSION_VARIABLE
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ObjectModel.dataCategory: #VALUE_HELP
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.representativeKey: 'kunnr'
@EndUserText.label: 'CDS View replacing KNMT_REF'
define view SHSM_KNMT_REF as select from knmt
association [0..1] to I_Customer as _Customer on $projection.kunnr = _Customer.Customer
{
key kunnr,
key vkorg,
key kdmat,
key matnr,
key vtweg,
postx as kdptx,
_Customer
}
union select from knmt inner join knmta on knmta.guid = knmt.guid
association [0..1] to I_Customer as _Customer on $projection.kunnr = _Customer.Customer
{
key knmt.kunnr,
key knmt.vkorg,
key knmta.kdmat,
key knmt.matnr,
key knmt.vtweg,
knmta.addpostx as kdptx,
_Customer
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"KNMT",
"KNMTA"
],
"ASSOCIATED":
[
"I_CUSTOMER"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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