I_ProjectUnformattedID

DDL: I_PROJECTUNFORMATTEDID SQL: IPROJBYEXTKEYUNF Type: view_entity BASIC Package: FINS_COPA_REPORTING

Project by unformatted external ID

I_ProjectUnformattedID (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Public Edition with built-in and side-by-side extension capabilities.

Accounting and Financial Close

I_ProjectUnformattedID is a Basic CDS View (Dimension) that provides data about "Project by unformatted external ID" in SAP S/4HANA. It reads from 1 data source (proj) and exposes 20 fields with key field ProjectExternalID. It has 6 associations to related views. Part of development package FINS_COPA_REPORTING.

SAP API Hub

CategoryBasic
StateC1
Line of BusinessAccounting and Financial Close
Application ComponentCO-FIO-PA-2CL
CapabilitiesAnalytical Dimension,Association Target for Defining CDS Entities
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Not Released
PackageAccounting and Financial Close for SAP S/4HANA Cloud Public Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
proj proj from

Associations (6)

CardinalityTargetAliasCondition
[0..1] I_WBSElementBasicData _RootWBSElement $projection.ProjectInternalID = _RootWBSElement.ProjectInternalID and $projection.ProjectExternalID = _RootWBSElement.WBSElementExternalID
[0..*] I_WBSElementBasicData _WBSElement $projection.ProjectInternalID = _WBSElement.ProjectInternalID
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_ControllingArea _ControllingArea $projection.ControllingArea = _ControllingArea.ControllingArea
[0..*] I_ProfitCenter _ProfitCenter $projection.ControllingArea = _ProfitCenter.ControllingArea and $projection.ProfitCenter = _ProfitCenter.ProfitCenter
[0..1] I_AvailabilityCtrlProfile _AvailabilityCtrlProfile $projection.AvailabilityControlProfile = _AvailabilityCtrlProfile.AvailabilityControlProfile

Annotations (12)

NameValueLevelField
Analytics.internalName #LOCAL view
AccessControl.authorizationCheck #MANDATORY view
Analytics.dataCategory #DIMENSION view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Project by unformatted external ID view
VDM.viewType #BASIC view
ObjectModel.compositionRoot true view
ObjectModel.representativeKey ProjectExternalID view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (20)

KeyFieldSource TableSource FieldDescription
KEY ProjectExternalID Project (external ID)
ProjectInternalID Project (internal)
ProjectProfileCode proj profl Project Profile
CompanyCode Company Code
ControllingArea Controlling Area
FunctionalArea Functional Area
ProfitCenter proj prctr Profit Centers
ProjectObject proj objnr Val. Obj. No.
PlannedStartDate proj plfaz Project planned start date
PlannedEndDate proj plsez Project planned finish date
AvailabilityControlProfile proj avc_profile Budget Availability Control: Profile
AvailabilityControlIsActive proj avc_active Availability control indicator(AVC)
JntIntrstBillgClass proj jibcl JIB/JIBE Class
JntIntrstBillgSubClass proj jibsa JIB/JIBE Subclass A
Plant proj werks Receiving Plant
_WBSElement _WBSElement
_CompanyCode _CompanyCode
_ControllingArea _ControllingArea
_ProfitCenter _ProfitCenter
_RootWBSElement _RootWBSElement

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_ProjectUnformattedID.
-- 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: IPROJBYEXTKEYUNF

CREATE VIEW I_ProjectUnformattedID AS
SELECT
  cast ( proj.pspid as fis_rep_project preserving type ) AS ProjectExternalID,
  cast ( proj.pspnr as ps_s4_proj_pspnr preserving type ) AS ProjectInternalID,
  proj.profl AS ProjectProfileCode,
  cast ( proj.vbukr as bukrs preserving type ) AS CompanyCode,
  cast ( proj.vkokr as kokrs preserving type ) AS ControllingArea,
  cast ( proj.func_area as fkber preserving type ) AS FunctionalArea,
  proj.prctr AS ProfitCenter,
  proj.objnr AS ProjectObject,
  proj.plfaz AS PlannedStartDate,
  proj.plsez AS PlannedEndDate,
  proj.avc_profile AS AvailabilityControlProfile,
  proj.avc_active AS AvailabilityControlIsActive,
  proj.jibcl AS JntIntrstBillgClass,
  proj.jibsa AS JntIntrstBillgSubClass,
  proj.werks AS Plant
FROM proj
LEFT OUTER JOIN I_WBSElementBasicData AS _RootWBSElement ON ProjectInternalID = _RootWBSElement.ProjectInternalID AND ProjectExternalID = _RootWBSElement.WBSElementExternalID  -- association [0..1]
LEFT OUTER JOIN I_WBSElementBasicData AS _WBSElement ON ProjectInternalID = _WBSElement.ProjectInternalID  -- association [0..*]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_ControllingArea AS _ControllingArea ON ControllingArea = _ControllingArea.ControllingArea  -- association [0..1]
LEFT OUTER JOIN I_ProfitCenter AS _ProfitCenter ON ControllingArea = _ProfitCenter.ControllingArea AND ProfitCenter = _ProfitCenter.ProfitCenter  -- association [0..*]
LEFT OUTER JOIN I_AvailabilityCtrlProfile AS _AvailabilityCtrlProfile ON AvailabilityControlProfile = _AvailabilityCtrlProfile.AvailabilityControlProfile  -- association [0..1]
;