C_ProjectBasicInfo

DDL: C_PROJECTBASICINFO SQL: CPROJBSCINFO Type: view CONSUMPTION

Project Basic Information

C_ProjectBasicInfo is a Consumption CDS View that provides data about "Project Basic Information" in SAP S/4HANA. It reads from 1 data source (I_ProjectWithVersion) and exposes 32 fields with key fields Project, Version. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ProjectWithVersion I_ProjectWithVersion from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_ProjectResponsiblePerson _ResponsiblePerson $projection.ResponsiblePerson = _ResponsiblePerson.ResponsiblePerson
[0..1] I_ProjectApplicant _ProjectApplicant $projection.ApplicantCode = _ProjectApplicant.ApplicantCode
[0..1] I_UserAccByObjBsdAuthzn _UsrByObjBsdAuthzn $projection.ProjectObject = _UsrByObjBsdAuthzn.ProjectObject and _UsrByObjBsdAuthzn.ObjectBasedAuthorizationUser = $session.user and _UsrByObjBsdAuthzn.AuthorizationTypeValue > 1

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName CPROJBSCINFO view
EndUserText.label Project Basic Information view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view

Fields (32)

KeyFieldSource TableSource FieldDescription
KEY Project I_ProjectWithVersion Project WBS Element
KEY Version I_ProjectWithVersion Version XML Vers.
ProjectWithCodingMask I_ProjectWithVersion ProjectWithCodingMask
ProjectObject I_ProjectWithVersion ProjectObject Object number
ProjectInternalID I_ProjectWithVersion ProjectInternalID Project Def.
ControllingArea I_ProjectWithVersion ControllingArea Controlling Area
ControllingAreaName
NetworkProfileName
ResponsiblePerson I_ProjectWithVersion ResponsiblePerson Processor
ResponsiblePersonName I_ProjectWithVersion ResponsiblePersonName User
ApplicantCode I_ProjectWithVersion ApplicantCode
ApplicantName I_ProjectWithVersion ApplicantName
PlannedStartDate I_ProjectWithVersion PlannedStartDate Latest Planned Start
PlannedEndDate I_ProjectWithVersion PlannedEndDate Ltst Planned Finish
IsMarkedForDeletion I_ProjectWithVersion IsMarkedForDeletion Purch.org. data
CreationDate I_ProjectWithVersion CreationDate Time Stamp
CreatedByUser I_ProjectWithVersion CreatedByUser User Name
LastChangeDate I_ProjectWithVersion LastChangeDate Time Stamp
LastChangedByUser I_ProjectWithVersion LastChangedByUser User Name
ProjectProfileCode I_ProjectWithVersion ProjectProfileCode Project Profile
CompanyCode I_ProjectWithVersion CompanyCode Receiver Company Code
BusinessArea I_ProjectWithVersion BusinessArea Business Area
ProfitCenter I_ProjectWithVersion ProfitCenter Profit Center
Plant I_ProjectWithVersion Plant Valuation Area
CostCenter I_ProjectWithVersion CostCenter Cost Center
ControllingObjectClass I_ProjectWithVersion ControllingObjectClass Object Class
FactoryCalendar I_ProjectWithVersion FactoryCalendar Factory Calendar
ObjBasedAuthorizationIsActive I_ProjectWithVersion ObjBasedAuthorizationIsActive
_ResponsiblePerson _ResponsiblePerson
_ProjectApplicant _ProjectApplicant
_ProjectShortText I_ProjectWithVersion _ProjectShortText
_UsrByObjBsdAuthzn _UsrByObjBsdAuthzn

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_ProjectBasicInfo.
-- 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: CPROJBSCINFO

CREATE VIEW C_ProjectBasicInfo AS
SELECT
  I_ProjectWithVersion.Project AS Project,
  I_ProjectWithVersion.Version AS Version,
  I_ProjectWithVersion.ProjectWithCodingMask AS ProjectWithCodingMask,
  I_ProjectWithVersion.ProjectObject AS ProjectObject,
  I_ProjectWithVersion.ProjectInternalID AS ProjectInternalID,
  I_ProjectWithVersion.ControllingArea AS ControllingArea,
  cast ( I_ProjectWithVersion._ControllingArea.ControllingAreaName as ps_s4_bezei ) AS ControllingAreaName,
  cast( I_ProjectWithVersion._NetworkProfile._Text[1: Language = $session.system_language ].NetworkProfileName as ps_s4_ntwk_profi_txt ) AS NetworkProfileName,
  I_ProjectWithVersion.ResponsiblePerson AS ResponsiblePerson,
  I_ProjectWithVersion.ResponsiblePersonName AS ResponsiblePersonName,
  I_ProjectWithVersion.ApplicantCode AS ApplicantCode,
  I_ProjectWithVersion.ApplicantName AS ApplicantName,
  I_ProjectWithVersion.PlannedStartDate AS PlannedStartDate,
  I_ProjectWithVersion.PlannedEndDate AS PlannedEndDate,
  I_ProjectWithVersion.IsMarkedForDeletion AS IsMarkedForDeletion,
  I_ProjectWithVersion.CreationDate AS CreationDate,
  I_ProjectWithVersion.CreatedByUser AS CreatedByUser,
  I_ProjectWithVersion.LastChangeDate AS LastChangeDate,
  I_ProjectWithVersion.LastChangedByUser AS LastChangedByUser,
  I_ProjectWithVersion.ProjectProfileCode AS ProjectProfileCode,
  I_ProjectWithVersion.CompanyCode AS CompanyCode,
  I_ProjectWithVersion.BusinessArea AS BusinessArea,
  I_ProjectWithVersion.ProfitCenter AS ProfitCenter,
  I_ProjectWithVersion.Plant AS Plant,
  I_ProjectWithVersion.CostCenter AS CostCenter,
  I_ProjectWithVersion.ControllingObjectClass AS ControllingObjectClass,
  I_ProjectWithVersion.FactoryCalendar AS FactoryCalendar,
  I_ProjectWithVersion.ObjBasedAuthorizationIsActive AS ObjBasedAuthorizationIsActive,
  I_ProjectWithVersion._ProjectShortText AS _ProjectShortText
FROM I_ProjectWithVersion
LEFT OUTER JOIN I_ProjectResponsiblePerson AS _ResponsiblePerson ON ResponsiblePerson = _ResponsiblePerson.ResponsiblePerson  -- association [0..1]
LEFT OUTER JOIN I_ProjectApplicant AS _ProjectApplicant ON ApplicantCode = _ProjectApplicant.ApplicantCode  -- association [0..1]
LEFT OUTER JOIN I_UserAccByObjBsdAuthzn AS _UsrByObjBsdAuthzn ON ProjectObject = _UsrByObjBsdAuthzn.ProjectObject AND _UsrByObjBsdAuthzn.ObjectBasedAuthorizationUser = $session.user AND _UsrByObjBsdAuthzn.AuthorizationTypeValue > 1  -- association [0..1]
;