P_AnalyzeAccrualPostingStrtDte
Start Date for Visual Filter
P_AnalyzeAccrualPostingStrtDte is a Composite CDS View that provides data about "Start Date for Visual Filter" in SAP S/4HANA. It reads from 2 data sources (I_CalendarDate, I_CalendarDate) and exposes 1 field with key field CalendarDate. Part of development package ODATA_GL_ACE_ANALYZE_POSTG.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_CalendarDate | _Last3Months | inner |
| I_CalendarDate | ThisMonth | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_KeyDate | sydate |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PANALACEDATE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view |
Fields (1)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CalendarDate | I_CalendarDate | CalendarDate |
@AbapCatalog.sqlViewName: 'PANALACEDATE'
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #COMPOSITE
@VDM.private:true
define view P_AnalyzeAccrualPostingStrtDte
with parameters
@Consumption.hidden: true
@Environment.systemField: #SYSTEM_DATE
P_KeyDate : sydate
as select from I_CalendarDate as ThisMonth
inner join I_CalendarDate as _Last3Months on _Last3Months.CalendarDate = DATS_ADD_MONTHS(
$parameters.P_KeyDate, - 2, 'FAIL'
)
{
key _Last3Months.CalendarDate as CalendarDate
}
where
ThisMonth.CalendarDate = $parameters.P_KeyDate
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