I_MasterProjectScope

DDL: I_MASTERPROJECTSCOPE SQL: IMPSCOPE Type: view BASIC Package: VDM_CPM_WS

Master Project Scopes

I_MasterProjectScope is a Basic CDS View that provides data about "Master Project Scopes" in SAP S/4HANA. It reads from 2 data sources (/cpd/pwsc_mptyp, /cpd/pwsc_tla_ar) and exposes 5 fields with key field MasterProjectType. It has 1 association to related views. Part of development package VDM_CPM_WS.

Data Sources (2)

SourceAliasJoin Type
/cpd/pwsc_mptyp /cpd/pwsc_mptyp from
/cpd/pwsc_tla_ar /cpd/pwsc_tla_ar inner

Associations (1)

CardinalityTargetAliasCondition
[1..*] I_MasterProject _MasterProject $projection.MasterProjectType = _MasterProject.MasterProjectType

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IMPSCOPE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #BASIC view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Master Project Scopes view
AbapCatalog.buffering.status #SWITCHED_OFF view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY MasterProjectType /cpd/pwsc_mptyp mp_type Mass Processing Type
EngagementProjectStatusArea /cpd/pwsc_tla_ar area_id Scope Area
MasterProjectOverallStatus /cpd/pwsc_tla_ar overall_status Overall Sts
EngmtProjectStatusAreaName
_MasterProject _MasterProject

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_MasterProjectScope.
-- 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: IMPSCOPE

CREATE VIEW I_MasterProjectScope AS
SELECT
  /cpd/pwsc_mptyp.mp_type AS MasterProjectType,
  /cpd/pwsc_tla_ar.area_id AS EngagementProjectStatusArea,
  /cpd/pwsc_tla_ar.overall_status AS MasterProjectOverallStatus,
  I_EngagementProjectStatusArea._Text[1:Language = $session.system_language].EngmtProjectStatusAreaName AS EngmtProjectStatusAreaName
FROM /cpd/pwsc_mptyp
INNER JOIN /cpd/pwsc_tla_ar ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MasterProject AS _MasterProject ON MasterProjectType = _MasterProject.MasterProjectType  -- association [1..*]
;