P_APCalendar
Calendar for AP Overview Page
P_APCalendar is a Composite CDS View that provides data about "Calendar for AP Overview Page" in SAP S/4HANA. It reads from 1 data source (I_CalendarDate) and exposes 5 fields with key fields CalendarYear, CalendarMonth. Part of development package ODATA_APOVERVIEWPAGE.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CalendarDate | I_CalendarDate | from |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PAPCALENDAR | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (5)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CalendarYear | CalendarYear | ||
| KEY | CalendarMonth | CalendarMonth | ||
| YearMonth | YearMonth | |||
| FirstDayOfMonth | ||||
| LastDayOfMonth |
@AbapCatalog.sqlViewName: 'PAPCALENDAR'
@VDM.viewType: #COMPOSITE
@VDM.private:true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
define view P_APCalendar
as select from I_CalendarDate
{
key CalendarYear,
key CalendarMonth,
YearMonth,
min(CalendarDate) as FirstDayOfMonth,
max(CalendarDate) as LastDayOfMonth
}
group by
CalendarYear,
CalendarMonth,
YearMonth
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