R_RESrvcGrpApportionmentRuleTP

DDL: R_RESRVCGRPAPPORTIONMENTRULETP Type: view_entity TRANSACTIONAL

Real Estate Serv Grp Apportion Rule TP

R_RESrvcGrpApportionmentRuleTP is a Transactional CDS View that provides data about "Real Estate Serv Grp Apportion Rule TP" in SAP S/4HANA. It reads from 1 data source (I_REApportionmentRule) and exposes 16 fields with key field REApportionmentRuleUUID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_REApportionmentRule I_REApportionmentRule from

Associations (2)

CardinalityTargetAliasCondition
[1..1] R_REServiceGroupTermTP _REServiceGroupTermTP $projection.REServiceGroupUUID = _REServiceGroupTermTP.REServiceGroupUUID and $projection.InternalRealEstateNumber = _REServiceGroupTermTP.InternalRealEstateNumber and $projection.RETermType = _REServiceGroupTermTP.RETermType and $projection.RETermNumber = _REServiceGroupTermTP.RETermNumber
[0..*] R_RESrvcGrpApprtmtRule2DetTP _RESrvcGrpApprtmtRule2DetTP

Annotations (9)

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

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY REApportionmentRuleUUID REApportionmentRuleUUID Apport. Rule GUID
REServiceGroupUUID REServiceGroupUUID UUID GO
InternalRealEstateNumber InternalRealEstateNumber RE Key
RETermType RETermType Term Category
RETermNumber RETermNumber Number
RETermName _RETerm RETermName Name of Term
REVacancyPercent REVacancyPercent Vacancy
ValidityStartDate ValidityStartDate Validity Start Date
ValidityEndDate ValidityEndDate ValidTo
UnitOfMeasure
_REServiceGroupTP _REServiceGroupTP
_RESrvcGrpApprtmtRule2DetTP _RESrvcGrpApprtmtRule2DetTP
_REKeyAssgmt _REKeyAssgmt
_RETermType _RETermType
_RETerm _RETerm
_REServiceGroupTermTP _REServiceGroupTermTP

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_RESrvcGrpApportionmentRuleTP.
-- 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_RESrvcGrpApportionmentRuleTP AS
SELECT
  REApportionmentRuleUUID,
  REServiceGroupUUID,
  InternalRealEstateNumber,
  RETermType,
  RETermNumber,
  _RETerm.RETermName AS RETermName,
  REVacancyPercent,
  ValidityStartDate,
  ValidityEndDate,
  cast('%' as abap.unit(3)) AS UnitOfMeasure
FROM I_REApportionmentRule
LEFT OUTER JOIN R_REServiceGroupTermTP AS _REServiceGroupTermTP ON REServiceGroupUUID = _REServiceGroupTermTP.REServiceGroupUUID AND InternalRealEstateNumber = _REServiceGroupTermTP.InternalRealEstateNumber AND RETermType = _REServiceGroupTermTP.RETermType AND RETermNumber = _REServiceGroupTermTP.RETermNumber  -- association [1..1]
LEFT OUTER JOIN R_RESrvcGrpApprtmtRule2DetTP AS _RESrvcGrpApprtmtRule2DetTP ON /* condition not available in parsed metadata */  -- association [0..*]
;