C_SrcgProjTotalTargetAmt

DDL: C_SRCGPROJTOTALTARGETAMT SQL: CSRCTOTTARAM Type: view CONSUMPTION

Sourcing Project Total Target Amount

C_SrcgProjTotalTargetAmt is a Consumption CDS View that provides data about "Sourcing Project Total Target Amount" in SAP S/4HANA. It reads from 1 data source (P_SrcgProjTotalTargetAmtCC) and exposes 15 fields. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
P_SrcgProjTotalTargetAmtCC P_SrcgProjTotalTargetAmtCC from

Parameters (4)

NameTypeDefault
P_DisplayCurrency displaycurrency
P_StartDate vdm_srcgprojcreationdate
P_EndDate vdm_srcgprojcreationdate
P_DateFunction datefunctionid

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_ProductGroup_2 _MaterialGroup $projection.MaterialGroup = _MaterialGroup.ProductGroup

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CSRCTOTTARAM view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Sourcing Project Total Target Amount view

Fields (15)

KeyFieldSource TableSource FieldDescription
resultElementDateFunctionStartDateTime
resultElementDateFunctionEndDateTime
P_DisplayCurrency
P_StartDate
ProductGroupkeySourcingProjectUUID
DisplayCurrency
CreationDate CreationDate Time Stamp
SrcgProjTotTgtAmountInDspCrcy SrcgProjTotTgtAmountInDspCrcy Total Target Amount
MaterialGroup MaterialGroup Product Group
MaterialGroupName
Bidder Supplier Supplier
PurchasingOrganization PurchasingOrganization Purchasing Organization
PurchasingGroup PurchasingGroup Purchasing Group
CompanyCode CompanyCode Receiver Company Code
SourcingProjectType SourcingProjectType Sourcing Project Type

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 C_SrcgProjTotalTargetAmt.
-- 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: CSRCTOTTARAM
-- Parameters: P_DisplayCurrency : displaycurrency, P_StartDate : vdm_srcgprojcreationdate, P_EndDate : vdm_srcgprojcreationdate, P_DateFunction : datefunctionid

CREATE VIEW C_SrcgProjTotalTargetAmt AS
SELECT
  resultElement: 'DateFunctionStartDateTime' AS resultElementDateFunctionStartDateTime,
  resultElement: 'DateFunctionEndDateTime' AS resultElementDateFunctionEndDateTime,
  binding: [ { targetParameter: 'P_DateFunction', type: #PARAMETER, value : 'P_DateFunction' AS P_DisplayCurrency,
  P_StartDate: $parameters.P_StartDate AS P_StartDate,
  cast( :P_DisplayCurrency as displaycurrency) AS DisplayCurrency,
  CreationDate,
  SrcgProjTotTgtAmountInDspCrcy,
  MaterialGroup,
  _MaterialGroup._ProductGroupText[1: Language = $session.system_language].ProductGroupName AS MaterialGroupName,
  Supplier AS Bidder,
  PurchasingOrganization,
  PurchasingGroup,
  CompanyCode,
  SourcingProjectType
FROM P_SrcgProjTotalTargetAmtCC
LEFT OUTER JOIN I_ProductGroup_2 AS _MaterialGroup ON MaterialGroup = _MaterialGroup.ProductGroup  -- association [1..1]
;