CIC_MaterialDocumentData
Proj. View on Material Document
CIC_MaterialDocumentData is a CDS View that provides data about "Proj. View on Material Document" in SAP S/4HANA. It reads from 1 data source (CIC_PLANT_BASIC) and exposes 8 fields with key fields MaterialDocument, MaterialDocumentYear.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| CIC_PLANT_BASIC | _plant | inner |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Proj. View on Material Document | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (8)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaterialDocument | _header | MaterialDocument | |
| KEY | MaterialDocumentYear | _header | MaterialDocumentYear | |
| DocumentDate | _header | DocumentDate | ||
| PostingDate | _header | PostingDate | ||
| MaterialDocumentHeaderText | _header | MaterialDocumentHeaderText | ||
| ReferenceDocument | _header | InvtryMgmtReferenceDocument | ||
| TransactionCode | _header | TransactionCode | ||
| InventoryTransactionType | _header | InventoryTransactionType |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Proj. View on Material Document'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #B,
sizeCategory: #XXL,
dataClass: #TRANSACTIONAL
}
define view entity CIC_MaterialDocumentData
as select distinct from I_MaterialDocumentRecord as _header
inner join CIC_PLANT_BASIC as _plant on _plant.werks = _header.Plant and _plant.vlfkz = 'B'
//inner join CIC_MaterialDocumentItemData as _item on _item.MaterialDocumentYear = _header.MaterialDocumentYear
// and _item.MaterialDocument = _header.MaterialDocument
{
key _header.MaterialDocument,
key _header.MaterialDocumentYear,
_header.DocumentDate,
_header.PostingDate,
_header.MaterialDocumentHeaderText,
_header.InvtryMgmtReferenceDocument as ReferenceDocument,
_header.TransactionCode,
_header.InventoryTransactionType
}
where
_header.MaterialDocumentRecordType = 'MDOC'
and _header.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