I_ExistenceCheckOnMaterialDoc
Existence Check on Material Document
I_ExistenceCheckOnMaterialDoc is a Composite CDS View that provides data about "Existence Check on Material Document" in SAP S/4HANA. It reads from 1 data source (I_ExistenceCheckOnMatlDocItem) and exposes 4 fields with key fields MaterialDocument, MaterialDocumentYear. Part of development package MBND_CLOUD_BL.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ExistenceCheckOnMatlDocItem | I_ExistenceCheckOnMatlDocItem | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Existence Check on Material Document | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaterialDocument | MaterialDocument | ||
| KEY | MaterialDocumentYear | MaterialDocumentYear | ||
| MatlDocHasMatlDocSrlNmbrs | ||||
| MatlDocHasPhysInvtrySrlNmbrs |
//-- This CDS View is intended to check if Material Document consists specific fields --
//-- At the moment based on Material Document Number and Material Document Year --
//-- existence of Serial Number is being check, this is open for any further --
//-- improvements/additions
@AbapCatalog.viewEnhancementCategory: [#NONE]
@EndUserText.label: 'Existence Check on Material Document'
@AccessControl: { authorizationCheck: #NOT_REQUIRED,
personalData.blocking: #NOT_REQUIRED }
@Metadata.ignorePropagatedAnnotations: true
@VDM.viewType: #COMPOSITE
@ObjectModel: {
usageType: {
dataClass: #TRANSACTIONAL,
serviceQuality: #C,
sizeCategory: #XL
}
}
define view entity I_ExistenceCheckOnMaterialDoc
as select from I_ExistenceCheckOnMatlDocItem
{
key MaterialDocument,
key MaterialDocumentYear,
@Semantics.booleanIndicator: true
max( MatlDocItmHasMatlDocSrlNmbr ) as MatlDocHasMatlDocSrlNmbrs,
@Semantics.booleanIndicator: true
max( MatlDocItmHasPhysInvtrySrlNmbr ) as MatlDocHasPhysInvtrySrlNmbrs
}
group by
MaterialDocument,
MaterialDocumentYear
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