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.
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 (17)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.sqlViewName | IMATDOCHEADERVH | view | |
| EndUserText.label | Material document value help | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | 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 |
@AbapCatalog.preserveKey: true
@AbapCatalog.sqlViewName: 'IMATDOCHEADERVH'
@EndUserText.label: 'Material document value help'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@ClientHandling.algorithm: #SESSION_VARIABLE
@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 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
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_MATERIALDOCUMENTRECORD"
],
"ASSOCIATED":
[
"I_MATERIALDOCUMENTITEM"
],
"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