I_MasterProjectSalesOrder

DDL: I_MASTERPROJECTSALESORDER SQL: IMPSALESODR Type: view COMPOSITE Package: VDM_CPM_WS

Get MasterProject Sales Order

I_MasterProjectSalesOrder is a Composite CDS View that provides data about "Get MasterProject Sales Order" in SAP S/4HANA. It reads from 2 data sources (I_MasterProjectItemList, I_SDItemOrganization) and exposes 38 fields. Part of development package VDM_CPM_WS.

Data Sources (2)

SourceAliasJoin Type
I_MasterProjectItemList MPItem from
I_SDItemOrganization SDItem inner

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IMPSALESODR view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label Get MasterProject Sales Order view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view
ClientHandling.algorithm #SESSION_VARIABLE view
Search.searchable true view

Fields (38)

KeyFieldSource TableSource FieldDescription
SalesDocument I_SDItemOrganization SalesDocument SD Document
SalesDocumentItem I_SDItemOrganization SalesDocumentItem Sales Document Item
WBSElement I_SDItemOrganization WBSElement WBS Internal ID
CompanyCode I_SDItemOrganization CompanyCode Receiver Company Code
BusinessArea I_SDItemOrganization BusinessArea Business Area
ControllingArea I_SDItemOrganization ControllingArea Controlling Area
ControllingObject I_SDItemOrganization ControllingObject Object number
FiscalYear I_SDItemOrganization FiscalYear G/L Fiscal Year
MasterProjectUUID I_MasterProjectItemList MasterProjectUUID NodeID
MasterProject I_MasterProjectItemList MasterProject Project ID
MasterProjectName I_MasterProjectItemList MasterProjectName
MasterProjectType I_MasterProjectItemList MasterProjectType
MasterProjectStage I_MasterProjectItemList MasterProjectStage
StartDate I_MasterProjectItemList StartDate Valid From
EndDate I_MasterProjectItemList EndDate Term to
Customer I_MasterProjectItemList Customer Sold-to Party
MasterProjectOrganization I_MasterProjectItemList MasterProjectOrganization
MasterProjectIsConfidential I_MasterProjectItemList MasterProjectIsConfidential
Country I_MasterProjectItemList Country Venue: Ctry/Reg
Region I_MasterProjectItemList Region Venue Region
WorkType I_MasterProjectItemList WorkType SAF-T Work Type
Industry I_MasterProjectItemList Industry Industry Sector
ProjectRisk I_MasterProjectItemList ProjectRisk
FinancialRisk I_MasterProjectItemList FinancialRisk
TechnicalRisk I_MasterProjectItemList TechnicalRisk
OverallRisk I_MasterProjectItemList OverallRisk
MasterProjectItemUUID I_MasterProjectItemList MasterProjectItemUUID
MasterProjectItemObjectType I_MasterProjectItemList MasterProjectItemObjectType
MasterProjectItem I_MasterProjectItemList MasterProjectItem
CreatedByUser I_MasterProjectItemList CreatedByUser User Name
CreationDateTime I_MasterProjectItemList CreationDateTime Timestamp
LastChangedByUser I_MasterProjectItemList LastChangedByUser User Name
LastChangeDateTime I_MasterProjectItemList LastChangeDateTime Timestamp
ControllingAreaCurrency
WBSElementInternalID
AccountAssignment
WBSElementObject
ExternalId

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 I_MasterProjectSalesOrder.
-- 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: IMPSALESODR

CREATE VIEW I_MasterProjectSalesOrder AS
SELECT
  SDItem.SalesDocument AS SalesDocument,
  SDItem.SalesDocumentItem AS SalesDocumentItem,
  SDItem.WBSElement AS WBSElement,
  SDItem.CompanyCode AS CompanyCode,
  SDItem.BusinessArea AS BusinessArea,
  SDItem.ControllingArea AS ControllingArea,
  SDItem.ControllingObject AS ControllingObject,
  SDItem.FiscalYear AS FiscalYear,
  MPItem.MasterProjectUUID AS MasterProjectUUID,
  MPItem.MasterProject AS MasterProject,
  MPItem.MasterProjectName AS MasterProjectName,
  MPItem.MasterProjectType AS MasterProjectType,
  MPItem.MasterProjectStage AS MasterProjectStage,
  MPItem.StartDate AS StartDate,
  MPItem.EndDate AS EndDate,
  MPItem.Customer AS Customer,
  MPItem.MasterProjectOrganization AS MasterProjectOrganization,
  MPItem.MasterProjectIsConfidential AS MasterProjectIsConfidential,
  MPItem.Country AS Country,
  MPItem.Region AS Region,
  MPItem.WorkType AS WorkType,
  MPItem.Industry AS Industry,
  MPItem.ProjectRisk AS ProjectRisk,
  MPItem.FinancialRisk AS FinancialRisk,
  MPItem.TechnicalRisk AS TechnicalRisk,
  MPItem.OverallRisk AS OverallRisk,
  MPItem.MasterProjectItemUUID AS MasterProjectItemUUID,
  MPItem.MasterProjectItemObjectType AS MasterProjectItemObjectType,
  MPItem.MasterProjectItem AS MasterProjectItem,
  MPItem.CreatedByUser AS CreatedByUser,
  MPItem.CreationDateTime AS CreationDateTime,
  MPItem.LastChangedByUser AS LastChangedByUser,
  MPItem.LastChangeDateTime AS LastChangeDateTime,
  cast (' ' as abap.cuky( 5 )) AS ControllingAreaCurrency,
  cast (' ' as abap.numc( 8 )) AS WBSElementInternalID,
  cast (' ' as abap.numc( 8 )) AS AccountAssignment,
  cast(' ' as abap.char( 22 )) AS WBSElementObject,
  cast(' ' as abap.char( 34 )) AS ExternalId
FROM I_MasterProjectItemList AS MPItem
INNER JOIN I_SDItemOrganization AS SDItem ON /* join condition not captured in parsed metadata */
;