R_RESrvcGrpApprtmtRule2DetTP

DDL: R_RESRVCGRPAPPRTMTRULE2DETTP Type: view_entity TRANSACTIONAL

Real Estate Serv Grp Apport Rule Det TP

R_RESrvcGrpApprtmtRule2DetTP is a Transactional CDS View that provides data about "Real Estate Serv Grp Apport Rule Det TP" in SAP S/4HANA. It reads from 1 data source (I_REApportionmentRule2Detail) and exposes 14 fields with key field REApportionmentRule2DetUUID. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_REApportionmentRule2Detail I_REApportionmentRule2Detail from

Associations (1)

CardinalityTargetAliasCondition
[1..1] R_REServiceGroupTP _REServiceGroupTP $projection.REServiceGroupUUID = _REServiceGroupTP.REServiceGroupUUID

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.representativeKey REApportionmentRule2DetUUID view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
EndUserText.label Real Estate Serv Grp Apport Rule Det TP view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY REApportionmentRule2DetUUID REApportionmentRule2DetUUID Apportionment Rule Detail GUID
REServiceGroupUUID REServiceGroupUUID UUID GO
REApportionmentRuleUUID REApportionmentRuleUUID Apport. Rule GUID
REParentValidityStartDate _RESrvcGrpApportionmentRuleTP ValidityStartDate Validity Start Date
REParentValidityEndDate _RESrvcGrpApportionmentRuleTP ValidityEndDate ValidTo
RETermNumber _RESrvcGrpApportionmentRuleTP RETermNumber Number
REMeasurementType REMeasurementType MeasType
RESharePercent RESharePercent Apportionment Share
ValidityStartDate ValidityStartDate Validity Start Date
ValidityEndDate ValidityEndDate ValidTo
_REServiceGroupTP _REServiceGroupTP
_RESrvcGrpApportionmentRuleTP _RESrvcGrpApportionmentRuleTP
_REMeasurementType _REMeasurementType
UnitOfMeasure

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 R_RESrvcGrpApprtmtRule2DetTP.
-- 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.

CREATE VIEW R_RESrvcGrpApprtmtRule2DetTP AS
SELECT
  REApportionmentRule2DetUUID,
  REServiceGroupUUID,
  REApportionmentRuleUUID,
  _RESrvcGrpApportionmentRuleTP.ValidityStartDate AS REParentValidityStartDate,
  _RESrvcGrpApportionmentRuleTP.ValidityEndDate AS REParentValidityEndDate,
  _RESrvcGrpApportionmentRuleTP.RETermNumber AS RETermNumber,
  REMeasurementType,
  RESharePercent,
  ValidityStartDate,
  ValidityEndDate,
  cast ('%' as abap.unit( 3 ) ) AS UnitOfMeasure
FROM I_REApportionmentRule2Detail
LEFT OUTER JOIN R_REServiceGroupTP AS _REServiceGroupTP ON REServiceGroupUUID = _REServiceGroupTP.REServiceGroupUUID  -- association [1..1]
;