C_SrcgProjectItemProcessFlow

DDL: C_SRCGPROJECTITEMPROCESSFLOW Type: view_entity CONSUMPTION Package: ODATA_MM_PUR_SRCGPROJ_MAINTAIN

Sourcing Project Item Process Flow

C_SrcgProjectItemProcessFlow is a Consumption CDS View that provides data about "Sourcing Project Item Process Flow" in SAP S/4HANA. It reads from 10 data sources and exposes 74 fields with key fields SrcgProjItemProcFlowDocument, SrcgProjItemProcessFlowItem, SrcgProjItemProcFlowDocCat, SrcgProjItmProcFlowDocVersion, PurgDocExternalSystem. Part of development package ODATA_MM_PUR_SRCGPROJ_MAINTAIN.

Data Sources (10)

SourceAliasJoin Type
R_CntrlPurContrDistribution CntrlPurContrDistributionTP inner
t161 PurchasingDocumentType inner
R_SourcingProjectItem R_SourcingProjectItem from
R_SourcingProjectItem SourcingProjectItem union_all
R_SourcingProjectItem SourcingProjectItem union_all
R_SourcingProjectItem SourcingProjectItem union_all
R_SPQtnItemDocumentLink SPQtnItemDocumentLink inner
R_SrcgProjQtnItem SrcgProjQtnItem inner
R_SrcgProjQtnItem SrcgProjQtnItem inner
R_SrcgProjQtnItem SrcgProjQtnItem inner

Annotations (7)

NameValueLevelField
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #MANDATORY view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
EndUserText.label Sourcing Project Item Process Flow view

Fields (74)

KeyFieldSource TableSource FieldDescription
KEY SrcgProjItemProcFlowDocument _SourcingProject SourcingProject Sourcing Project
KEY SrcgProjItemProcessFlowItem FormattedItemID Item Number
KEY SrcgProjItemProcFlowDocCat
KEY SrcgProjItmProcFlowDocVersion
KEY PurgDocExternalSystem Ext. Ref. System
SourcingProjectItemUUID SourcingProjectItemUUID Item UUID
SourcingProjectUUID SourcingProjectUUID Sourcing Project UUID
SourcingProjectQuotationItem SourcingProjectItem Item
SrcgProjQtnItemUUID Supplier Quotation Item UUID
SourcingProjectQuotationUUID Supplier Quotation UUID
IsCloudSystem
PurchasingDocumentSubtype Control
PurchasingGroup PurchasingGroup Purchasing Group
PurchasingOrganization PurchasingOrganization Purchasing Organization
CompanyCode CompanyCode Receiver Company Code
SourcingProjectType _SourcingProject SourcingProjectType Sourcing Project Type
MaterialGroup MaterialGroup Product Group
PurchasingDocumentStatus _SourcingProject SrcgProjLifecycleStatus Status
PurchasingDocumentStatusName
KEY SrcgProjItemProcessFlowItem R_SrcgProjQtnItem FormattedItemID Item Number
KEY SrcgProjItemProcFlowDocCat
KEY SrcgProjItmProcFlowDocVersion
KEY PurgDocExternalSystem Ext. Ref. System
SourcingProjectItemUUID R_SourcingProjectItem SourcingProjectItemUUID Item UUID
SourcingProjectUUID R_SourcingProjectItem SourcingProjectUUID Sourcing Project UUID
SourcingProjectQuotationItem R_SrcgProjQtnItem SourcingProjectQuotationItem Item
SrcgProjQtnItemUUID R_SrcgProjQtnItem SrcgProjQtnItemUUID Supplier Quotation Item UUID
SourcingProjectQuotationUUID R_SrcgProjQtnItem SourcingProjectQuotationUUID Supplier Quotation UUID
IsCloudSystem
PurchasingDocumentSubtype Control
PurchasingGroup R_SrcgProjQtnItem PurchasingGroup Purchasing Group
PurchasingOrganization R_SrcgProjQtnItem PurchasingOrganization Purchasing Organization
CompanyCode R_SrcgProjQtnItem CompanyCode Receiver Company Code
SourcingProjectType Sourcing Project Type
MaterialGroup R_SrcgProjQtnItem MaterialGroup Product Group
PurchasingDocumentStatus Status
PurchasingDocumentStatusName
KEY SrcgProjItemProcessFlowItem Item Number
KEY SrcgProjItemProcFlowDocCat
KEY SrcgProjItmProcFlowDocVersion
KEY PurgDocExternalSystem Ext. Ref. System
SourcingProjectItemUUID R_SrcgProjQtnItem SourcingProjectItemUUID Item UUID
SourcingProjectUUID R_SourcingProjectItem SourcingProjectUUID Sourcing Project UUID
SourcingProjectQuotationItem R_SrcgProjQtnItem SourcingProjectQuotationItem Item
SrcgProjQtnItemUUID R_SrcgProjQtnItem SrcgProjQtnItemUUID Supplier Quotation Item UUID
SourcingProjectQuotationUUID R_SrcgProjQtnItem SourcingProjectQuotationUUID Supplier Quotation UUID
IsCloudSystem
PurchasingDocumentSubtype t161 bsakz Control
PurchasingGroup R_SrcgProjQtnItem PurchasingGroup Purchasing Group
PurchasingOrganization R_SrcgProjQtnItem PurchasingOrganization Purchasing Organization
CompanyCode R_SrcgProjQtnItem CompanyCode Receiver Company Code
SourcingProjectType Sourcing Project Type
MaterialGroup R_SrcgProjQtnItem MaterialGroup Product Group
PurchasingDocumentStatus Status
PurchasingDocumentStatusName
KEY SrcgProjItemProcessFlowItem Item Number
KEY SrcgProjItemProcFlowDocCat
KEY SrcgProjItmProcFlowDocVersion
KEY PurgDocExternalSystem R_SPQtnItemDocumentLink PurgDocExternalSystem Ext. Ref. System
SourcingProjectItemUUID R_SourcingProjectItem SourcingProjectItemUUID Item UUID
SourcingProjectUUID R_SourcingProjectItem SourcingProjectUUID Sourcing Project UUID
SourcingProjectQuotationItem R_SrcgProjQtnItem SourcingProjectQuotationItem Item
SrcgProjQtnItemUUID R_SrcgProjQtnItem SrcgProjQtnItemUUID Supplier Quotation Item UUID
SourcingProjectQuotationUUID R_SrcgProjQtnItem SourcingProjectQuotationUUID Supplier Quotation UUID
IsCloudSystem
PurchasingDocumentSubtype Control
PurchasingGroup R_SrcgProjQtnItem PurchasingGroup Purchasing Group
PurchasingOrganization R_SrcgProjQtnItem PurchasingOrganization Purchasing Organization
CompanyCode R_SrcgProjQtnItem CompanyCode Receiver Company Code
SourcingProjectType Sourcing Project Type
MaterialGroup R_SrcgProjQtnItem MaterialGroup Product Group
PurchasingDocumentStatus Status
PurchasingDocumentStatusName
_SourcingProject R_SourcingProjectItem _SourcingProject

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_SrcgProjectItemProcessFlow.
-- 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.

CREATE VIEW C_SrcgProjectItemProcessFlow AS
SELECT
  _SourcingProject.SourcingProject AS SrcgProjItemProcFlowDocument,
  FormattedItemID AS SrcgProjItemProcessFlowItem,
  'S' AS SrcgProjItemProcFlowDocCat,
  cast(_SourcingProject.SourcingProjectVersion as vdm_srcgprojitmprocflowdocvers) AS SrcgProjItmProcFlowDocVersion,
  cast('' as mmpur_extreferencesystemid) AS PurgDocExternalSystem,
  SourcingProjectItemUUID,
  SourcingProjectUUID,
  SourcingProjectItem AS SourcingProjectQuotationItem,
  hextobin( ' ' ) AS SrcgProjQtnItemUUID,
  hextobin( ' ' ) AS SourcingProjectQuotationUUID,
  cast(' ' as is_cloud_system ) AS IsCloudSystem,
  '' AS PurchasingDocumentSubtype,
  PurchasingGroup,
  PurchasingOrganization,
  CompanyCode,
  _SourcingProject.SourcingProjectType AS SourcingProjectType,
  MaterialGroup,
  _SourcingProject.SrcgProjLifecycleStatus AS PurchasingDocumentStatus,
  _SourcingProject._SrcgProjLifecycleStatus._SrcgProjLifecycleStatusText[1:Language = $session.system_language ].SrcgProjLifecycleStatusName AS PurchasingDocumentStatusName,
  SourcingProjectItem._SourcingProject AS _SourcingProject
FROM R_SourcingProjectItem
INNER JOIN R_SrcgProjQtnItem AS SrcgProjQtnItem ON /* join condition not captured in parsed metadata */
INNER JOIN R_CntrlPurContrDistribution AS CntrlPurContrDistributionTP ON /* join condition not captured in parsed metadata */
INNER JOIN t161 AS PurchasingDocumentType ON /* join condition not captured in parsed metadata */
INNER JOIN R_SPQtnItemDocumentLink AS SPQtnItemDocumentLink ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): R_SourcingProjectItem
;