SHSM_H_MARC
CDS View for H_MARC (search help)
SHSM_H_MARC is a CDS View that provides data about "CDS View for H_MARC (search help)" in SAP S/4HANA. It reads from 2 data sources (marc, t001w) and exposes 4 fields with key fields matnr, werks. It has 1 association to related views.
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_Product | _Product | $projection.matnr = _Product.Product |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | SHSMHMARC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| ObjectModel.representativeKey | matnr | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| EndUserText.label | CDS View for H_MARC (search help) | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | matnr | |||
| KEY | werks | |||
| name1 | ||||
| _Product | _Product |
@AbapCatalog.sqlViewName: 'SHSMHMARC'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.dataCategory: #VALUE_HELP
@ObjectModel.representativeKey: 'matnr'
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.sizeCategory: #L
@EndUserText.label: 'CDS View for H_MARC (search help)'
//Please confirm if client MANDT field is required in join condition
define view SHSM_H_MARC
as select from marc as m left outer join
t001w as t on m.werks = t.werks
association [1..1] to I_Product as _Product on $projection.matnr = _Product.Product
{
key cast( m.matnr as matnr preserving type ) as matnr,
key cast( m.werks as werks_d preserving type ) as werks,
cast( t.name1 as name1 preserving type ) as name1,
_Product
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"MARC",
"T001W"
],
"ASSOCIATED":
[
"I_PRODUCT"
],
"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