C_RSHTableBasedTreeProperties

DDL: C_RSHTABLEBASEDTREEPROPERTIES SQL: CRSHTBLTREEPRP Type: view CONSUMPTION

View for additional tree properties

C_RSHTableBasedTreeProperties is a Consumption CDS View that provides data about "View for additional tree properties" in SAP S/4HANA. It reads from 2 data sources (I_RSHProjectAssignment, P_RSHResourceTimeSlice) and exposes 10 fields with key field EmploymentInternalID.

Data Sources (2)

SourceAliasJoin Type
I_RSHProjectAssignment Draft left_outer
P_RSHResourceTimeSlice P_RSHResourceTimeSlice from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CRSHTBLTREEPRP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
EndUserText.label View for additional tree properties view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XL view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #REQUIRED view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY EmploymentInternalID P_RSHResourceTimeSlice EmploymentInternalID WorkForce Assgmt ID
EmployeeRowId
EmployeeParentRowId P_RSHResourceTimeSlice EmploymentInternalID WorkForce Assgmt ID
EmployeeRowLevel 1
EmployeeRowType
EmployeeIsExpanded
ProjAssignmentDurationUnit
JobName _PersonWorkAgrmtJobText JobName Name of Send Process
DraftUUID I_RSHProjectAssignment ProjAssignmentUUID UUID
ResIsStaffedForSelRequest

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_RSHTableBasedTreeProperties.
-- 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: CRSHTBLTREEPRP

CREATE VIEW C_RSHTableBasedTreeProperties AS
SELECT
  P_RSHResourceTimeSlice.EmploymentInternalID AS EmploymentInternalID,
  cast(P_RSHResourceTimeSlice.EmploymentInternalID as abap.char( 12 )) AS EmployeeRowId,
  P_RSHResourceTimeSlice.EmploymentInternalID AS EmployeeParentRowId,
  1 AS EmployeeRowLevel,
  '01' AS EmployeeRowType,
  cast('leaf' as abap.char( 8 ) ) AS EmployeeIsExpanded,
  cast ('H' as co_meinh) AS ProjAssignmentDurationUnit,
  _PersonWorkAgrmtJobText.JobName AS JobName,
  Draft.ProjAssignmentUUID AS DraftUUID,
  cast('' as boolean) AS ResIsStaffedForSelRequest
FROM P_RSHResourceTimeSlice
LEFT OUTER JOIN I_RSHProjectAssignment AS Draft ON /* join condition not captured in parsed metadata */
;