P_PROJECTSWTHOUTRECENTPOSTING

DDL: P_PROJECTSWTHOUTRECENTPOSTING SQL: PPROJWORCPSTNG Type: view CONSUMPTION

P_PROJECTSWTHOUTRECENTPOSTING is a Consumption CDS View in SAP S/4HANA. It reads from 3 data sources (P_DatesCalcdFrmToday, P_DatesCalcdFrmToday, P_DatesCalcdFrmToday) and exposes 70 fields with key fields Project, CompanyCode, ProfitCenter, CompanyCode, ProfitCenter.

Data Sources (3)

SourceAliasJoin Type
P_DatesCalcdFrmToday _Projectswthoutrecentposting from
P_DatesCalcdFrmToday _Projectswthoutrecentposting union_all
P_DatesCalcdFrmToday _Projectswthoutrecentposting union_all

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName PPROJWORCPSTNG view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #CONSUMPTION view
VDM.private true view
AbapCatalog.preserveKey true view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (70)

KeyFieldSource TableSource FieldDescription
KEY Project P_DatesCalcdFrmToday Project WBS Element
KEY CompanyCode P_DatesCalcdFrmToday CompanyCode Receiver Company Code
KEY ProfitCenter P_DatesCalcdFrmToday ProfitCenter Profit Center
ProjectInternalID P_DatesCalcdFrmToday ProjectInternalID Project Def.
ControllingArea P_DatesCalcdFrmToday ControllingArea Controlling Area
CurrentDate P_DatesCalcdFrmToday CurrentDate
ProjectUUID P_DatesCalcdFrmToday ProjectUUID Project UUID
BusinessPartnerFullName P_DatesCalcdFrmToday BusinessPartnerFullName Broker Name
ProjectType P_DatesCalcdFrmToday ProjectType Project Type
BusinessPartnerUUID P_DatesCalcdFrmToday BusinessPartnerUUID UUID
ProjectDescription P_DatesCalcdFrmToday ProjectDescription Project Name
ProjectDescInFirstInterval ProjectDescription Project Name
ProjectDescInSecondInterval Project Name
ProjectDescInThirdInterval Project Name
CreationDateInFirstInterval ProjectsMaxCreationDate
CreationDateInSecondInterval
CreationDateInThirdInterval
ProjectInFirstInterval Project WBS Element
ProjectInSecondInterval WBS Element
ProjectInThirdInterval WBS Element
ProjectsMaxCreationDate P_DatesCalcdFrmToday ProjectsMaxCreationDate
MonthInFirstInterval
MonthInSecondInterval
Project WBS Element
KEY CompanyCode P_DatesCalcdFrmToday CompanyCode Receiver Company Code
KEY ProfitCenter P_DatesCalcdFrmToday ProfitCenter Profit Center
ProjectInternalID P_DatesCalcdFrmToday ProjectInternalID Project Def.
ControllingArea P_DatesCalcdFrmToday ControllingArea Controlling Area
CurrentDate P_DatesCalcdFrmToday CurrentDate
ProjectUUID P_DatesCalcdFrmToday ProjectUUID Project UUID
BusinessPartnerFullName P_DatesCalcdFrmToday BusinessPartnerFullName Broker Name
ProjectType P_DatesCalcdFrmToday ProjectType Project Type
BusinessPartnerUUID P_DatesCalcdFrmToday BusinessPartnerUUID UUID
ProjectDescription P_DatesCalcdFrmToday ProjectDescription Project Name
ProjectDescInFirstInterval Project Name
ProjectDescInSecondInterval ProjectDescription Project Name
ProjectDescInThirdInterval Project Name
CreationDateInFirstInterval
CreationDateInSecondInterval ProjectsMaxCreationDate
CreationDateInThirdInterval
ProjectInFirstInterval WBS Element
ProjectInSecondInterval Project WBS Element
ProjectInThirdInterval WBS Element
ProjectsMaxCreationDate P_DatesCalcdFrmToday ProjectsMaxCreationDate
MonthInFirstInterval
MonthInSecondInterval
Project WBS Element
KEY CompanyCode P_DatesCalcdFrmToday CompanyCode Receiver Company Code
KEY ProfitCenter P_DatesCalcdFrmToday ProfitCenter Profit Center
ProjectInternalID P_DatesCalcdFrmToday ProjectInternalID Project Def.
ControllingArea P_DatesCalcdFrmToday ControllingArea Controlling Area
CurrentDate P_DatesCalcdFrmToday CurrentDate
ProjectUUID P_DatesCalcdFrmToday ProjectUUID Project UUID
BusinessPartnerFullName P_DatesCalcdFrmToday BusinessPartnerFullName Broker Name
ProjectType P_DatesCalcdFrmToday ProjectType Project Type
BusinessPartnerUUID P_DatesCalcdFrmToday BusinessPartnerUUID UUID
ProjectDescription P_DatesCalcdFrmToday ProjectDescription Project Name
ProjectDescInFirstInterval Project Name
ProjectDescInSecondInterval Project Name
ProjectDescInThirdInterval ProjectDescription Project Name
CreationDateInFirstInterval
CreationDateInSecondInterval
CreationDateInThirdInterval ProjectsMaxCreationDate
ProjectInFirstInterval WBS Element
ProjectInSecondInterval WBS Element
ProjectInThirdInterval Project WBS Element
ProjectsMaxCreationDate P_DatesCalcdFrmToday ProjectsMaxCreationDate
MonthInFirstInterval
MonthInSecondInterval
MonthInThirdInterval

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_PROJECTSWTHOUTRECENTPOSTING.
-- 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: PPROJWORCPSTNG

CREATE VIEW P_PROJECTSWTHOUTRECENTPOSTING AS
SELECT
  _Projectswthoutrecentposting.Project AS Project,
  _Projectswthoutrecentposting.CompanyCode AS CompanyCode,
  _Projectswthoutrecentposting.ProfitCenter AS ProfitCenter,
  _Projectswthoutrecentposting.ProjectInternalID AS ProjectInternalID,
  _Projectswthoutrecentposting.ControllingArea AS ControllingArea,
  _Projectswthoutrecentposting.CurrentDate AS CurrentDate,
  _Projectswthoutrecentposting.ProjectUUID AS ProjectUUID,
  _Projectswthoutrecentposting.BusinessPartnerFullName AS BusinessPartnerFullName,
  _Projectswthoutrecentposting.ProjectType AS ProjectType,
  _Projectswthoutrecentposting.BusinessPartnerUUID AS BusinessPartnerUUID,
  _Projectswthoutrecentposting.ProjectDescription AS ProjectDescription,
  ProjectDescription AS ProjectDescInFirstInterval,
  cast('' as ps_s4_proj_post1_v1 ) AS ProjectDescInSecondInterval,
  cast('' as ps_s4_proj_post1_v1 ) AS ProjectDescInThirdInterval,
  ProjectsMaxCreationDate AS CreationDateInFirstInterval,
  cast( ' ' as dats ) AS CreationDateInSecondInterval,
  cast( ' ' as dats ) AS CreationDateInThirdInterval,
  Project AS ProjectInFirstInterval,
  cast('' as fis_project_no_conv ) AS ProjectInSecondInterval,
  cast('' as fis_project_no_conv ) AS ProjectInThirdInterval,
  _Projectswthoutrecentposting.ProjectsMaxCreationDate AS ProjectsMaxCreationDate,
  '1' AS MonthInFirstInterval,
  ' ' AS MonthInSecondInterval,
  '3' AS MonthInThirdInterval
FROM P_DatesCalcdFrmToday AS _Projectswthoutrecentposting
-- UNION ALL with additional select branch(es): P_DatesCalcdFrmToday
;