P_MonthToDateOfYstd_F4674

DDL: P_MONTHTODATEOFYSTD_F4674 SQL: PMNTODTOFYDF4674 Type: view COMPOSITE Package: RFM_STORE_MY_STORE_OVERVIEW

Date range: begin of month to given date wrt yesterday

P_MonthToDateOfYstd_F4674 is a Composite CDS View that provides data about "Date range: begin of month to given date wrt yesterday" in SAP S/4HANA. It reads from 2 data sources (I_DateFunctionValue, I_DateFunctionValue) and exposes 3 fields with key field DateFunctionValidityDate. Part of development package RFM_STORE_MY_STORE_OVERVIEW.

Data Sources (2)

SourceAliasJoin Type
I_DateFunctionValue CurrentMonthOfYesterday inner
I_DateFunctionValue Yesterday from

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName PMNTODTOFYDF4674 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
VDM.private true view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY DateFunctionValidityDate I_DateFunctionValue DateFunctionValidityDate Validity Date
DateFunctionStartDate I_DateFunctionValue DateFunctionStartDate Date Func Start Date
DateFunctionEndDate I_DateFunctionValue DateFunctionEndDate Date Func End Date

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view P_MonthToDateOfYstd_F4674.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: PMNTODTOFYDF4674

CREATE VIEW P_MonthToDateOfYstd_F4674 AS
SELECT
  CurrentMonthOfYesterday.DateFunctionValidityDate AS DateFunctionValidityDate,
  CurrentMonthOfYesterday.DateFunctionStartDate AS DateFunctionStartDate,
  CurrentMonthOfYesterday.DateFunctionEndDate AS DateFunctionEndDate
FROM I_DateFunctionValue AS Yesterday
INNER JOIN I_DateFunctionValue AS CurrentMonthOfYesterday ON /* join condition not captured in parsed metadata */
;