P_SrcgProjectTotalTargetAmount

DDL: P_SRCGPROJECTTOTALTARGETAMOUNT SQL: PSPTOTTARAMT Type: view CONSUMPTION

Sourcing Project Total Target Amount

P_SrcgProjectTotalTargetAmount is a Consumption CDS View that provides data about "Sourcing Project Total Target Amount" in SAP S/4HANA. It reads from 1 data source (I_SourcingProject) and exposes 9 fields with key field SourcingProjectUUID.

Data Sources (1)

SourceAliasJoin Type
I_SourcingProject I_SourcingProject from

Parameters (2)

NameTypeDefault
P_StartDate vdm_srcgprojcreationdate
P_EndDate vdm_srcgprojcreationdate

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName PSPTOTTARAMT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
VDM.viewType #CONSUMPTION view
VDM.private true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Sourcing Project Total Target Amount view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY SourcingProjectUUID SourcingProjectUUID Sourcing Project UUID
MaterialGroup MaterialGroup Product Group
DocumentCurrency DocumentCurrency Document Currency
CreationDate CreationDateTime Timestamp
SrcgProjTotalTargetAmount Total Target Amount
PurchasingOrganization PurchasingOrganization Purchasing Organization
PurchasingGroup PurchasingGroup Purchasing Group
SourcingProjectType SourcingProjectType Sourcing Project Type
CompanyCode CompanyCode Receiver Company Code

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_SrcgProjectTotalTargetAmount.
-- 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: PSPTOTTARAMT
-- Parameters: P_StartDate : vdm_srcgprojcreationdate, P_EndDate : vdm_srcgprojcreationdate

CREATE VIEW P_SrcgProjectTotalTargetAmount AS
SELECT
  SourcingProjectUUID,
  MaterialGroup,
  DocumentCurrency,
  CreationDateTime AS CreationDate,
  cast(SrcgProjTotalTargetAmount as mmpur_a_srcgprojtaramtdsplycur) AS SrcgProjTotalTargetAmount,
  PurchasingOrganization,
  PurchasingGroup,
  SourcingProjectType,
  CompanyCode
FROM I_SourcingProject
;