I_MaterialDocumentHeaderVH
Material document value help
I_MaterialDocumentHeaderVH is a Composite CDS View that provides data about "Material document value help" in SAP S/4HANA. It reads from 1 data source (I_MaterialDocumentRecord) and exposes 9 fields with key fields MaterialDocumentYear, MaterialDocument. It has 1 association to related views. Part of development package MM_IM_VDM_VALUE_HELP.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_MaterialDocumentRecord | I_MaterialDocumentRecord | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | I_MaterialDocumentItem | _MaterialDocumentItem | $projection.MaterialDocumentYear = _MaterialDocumentItem.MaterialDocumentYear and $projection.MaterialDocument = _MaterialDocumentItem.MaterialDocument |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Material document value help | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| ObjectModel.representativeKey | MaterialDocument | view | |
| VDM.private | false | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Search.searchable | true | view | |
| Consumption.ranked | true | view |
Fields (9)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaterialDocumentYear | MaterialDocumentYear | ||
| KEY | MaterialDocument | MaterialDocument | ||
| DocumentDate | DocumentDate | |||
| PostingDate | PostingDate | |||
| InventoryTransactionType | InventoryTransactionType | |||
| MaterialDocumentHeaderText | MaterialDocumentHeaderText | |||
| DeliveryDocument | DeliveryInMatlDocumentHeader | |||
| ReferenceDocument | ReferenceDocument | |||
| _MaterialDocumentItem | _MaterialDocumentItem |
@EndUserText.label: 'Material document value help'
@AccessControl.authorizationCheck: #CHECK
@ObjectModel: {
usageType: {
sizeCategory: #XXL,
serviceQuality: #B,
dataClass:#TRANSACTIONAL
},
dataCategory: #VALUE_HELP,
representativeKey: 'MaterialDocument'
}
@VDM: {
private: false,
viewType: #COMPOSITE,
lifecycle.contract.type: #PUBLIC_LOCAL_API
}
@Metadata.ignorePropagatedAnnotations:true
@Search.searchable: true
@Consumption.ranked: true
define view entity I_MaterialDocumentHeaderVH
as select from I_MaterialDocumentRecord
association [1..*] to I_MaterialDocumentItem as _MaterialDocumentItem on $projection.MaterialDocumentYear = _MaterialDocumentItem.MaterialDocumentYear
and $projection.MaterialDocument = _MaterialDocumentItem.MaterialDocument
{
@Search: { defaultSearchElement: true, ranking: #MEDIUM }
key MaterialDocumentYear,
@Search: { defaultSearchElement: true, fuzzinessThreshold: 0.8, ranking: #HIGH }
key MaterialDocument,
DocumentDate,
PostingDate,
InventoryTransactionType,
@Search: { defaultSearchElement: true, fuzzinessThreshold: 0.8, ranking: #LOW }
MaterialDocumentHeaderText,
DeliveryInMatlDocumentHeader as DeliveryDocument,
ReferenceDocument,
@Consumption.hidden: true
_MaterialDocumentItem
}
where MaterialDocumentRecordType = 'MDOC' and IsMaterialDocumentHeader = 1
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