C_MDBusPartChgProcessYrMnthVH
Creation Year Month
C_MDBusPartChgProcessYrMnthVH is a Consumption CDS View that provides data about "Creation Year Month" in SAP S/4HANA. It reads from 1 data source (I_CalendarDate) and exposes 1 field with key field CreationYearMonth.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CalendarDate | I_CalendarDate | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Creation Year Month | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.dataCategory | #VALUE_HELP | view | |
| ObjectModel.representativeKey | CreationYearMonth | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Search.searchable | true | view | |
| Consumption.ranked | true | view |
Fields (1)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CreationYearMonth | YearMonth |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #MANDATORY
@EndUserText.label: 'Creation Year Month'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #C,
sizeCategory: #S,
dataClass: #TRANSACTIONAL
}
@ObjectModel.dataCategory: #VALUE_HELP
@ObjectModel.representativeKey:'CreationYearMonth'
@VDM.viewType: #CONSUMPTION
@Search.searchable: true
@Consumption.ranked: true
define view entity C_MDBusPartChgProcessYrMnthVH
as select from I_CalendarDate
{
@Semantics.calendar.yearMonth: true
@Search.defaultSearchElement: true
@Search.fuzzinessThreshold: 0.7
@Search.ranking: #HIGH
key YearMonth as CreationYearMonth
}
where CalendarDate <= $session.system_date
and CalendarDate >= dats_add_months($session.system_date,-6,'FAIL')
group by
YearMonth;
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CALENDARDATE"
],
"ASSOCIATED":
[],
"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