SHSM_H_MARC

DDL: SHSM_H_MARC SQL: SHSMHMARC Type: view

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.

Data Sources (2)

SourceAliasJoin Type
marc m from
t001w t left_outer

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_Product _Product $projection.matnr = _Product.Product

Annotations (12)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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
}