R_REContrPartcipnRule2CostTP

DDL: R_RECONTRPARTCIPNRULE2COSTTP Type: view_entity TRANSACTIONAL

Real Estate Contr Part Rule to Cost TP

R_REContrPartcipnRule2CostTP is a Transactional CDS View that provides data about "Real Estate Contr Part Rule to Cost TP" in SAP S/4HANA. It reads from 1 data source (I_REParticipationRule2CostCat) and exposes 23 fields with key field REPartRule2CostCatUUID. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_REParticipationRule2CostCat I_REParticipationRule2CostCat from

Associations (3)

CardinalityTargetAliasCondition
[1..1] R_REContrSettlmtRglnTP _REContrSettlmtRglnTP $projection.InternalRealEstateNumber = _REContrSettlmtRglnTP.InternalRealEstateNumber
[1..1] I_REEntryValidity _REEntryValidity $projection.REEntryValidity = _REEntryValidity.REEntryValidity
[1..1] I_RETerm _REContrDenominatorRule $projection.InternalRealEstateNumber = _REContrDenominatorRule.InternalRealEstateNumber and $projection.REDenominatorRule = _REContrDenominatorRule.RETermNumber and _REContrDenominatorRule.RETermType = '3020'

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.representativeKey REPartRule2CostCatUUID view
ObjectModel.lifecycle.enqueue.expiryInterval PT15M view
EndUserText.label Real Estate Contr Part Rule to Cost TP view

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY REPartRule2CostCatUUID REPartRule2CostCatUUID Particip Rule to Cost Cat GUID
InternalRealEstateNumber InternalRealEstateNumber RE Key
REParticipationRuleUUID REParticipationRuleUUID Participation Rule GUID
ValidityStartDate ValidityStartDate Validity Start Date
ValidityEndDate ValidityEndDate ValidTo
RESrvcGrpIntRealEstateNumber RESrvcGrpIntRealEstateNumber SG Number
RECostCategoryGroup RECostCategoryGroup Cost Category Group
RECostCategory RECostCategory Cost Category
REParticipationType REParticipationType Participation Type
REDenominatorRule REDenominatorRule Number of Denominator Rule
REIsParticipationGenerated
REIsParticipationExemption
_REContract _REContract
_RECostCategory _RECostCategory
_RECostCategoryGroup _RECostCategoryGroup
_REDenominatorRule _REDenominatorRule
_REParticipationRule _REParticipationRule
_REParticipationType _REParticipationType
_REServiceGroup _REServiceGroup
_REContrDenominatorRule _REContrDenominatorRule
_REContrRglnPartcipnRuleTP _REContrRglnPartcipnRuleTP
_REContrSettlmtRglnTP _REContrSettlmtRglnTP
_REEntryValidity _REEntryValidity

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_REContrPartcipnRule2CostTP.
-- 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_REContrPartcipnRule2CostTP AS
SELECT
  REPartRule2CostCatUUID,
  InternalRealEstateNumber,
  REParticipationRuleUUID,
  ValidityStartDate,
  ValidityEndDate,
  RESrvcGrpIntRealEstateNumber,
  RECostCategoryGroup,
  RECostCategory,
  REParticipationType,
  REDenominatorRule,
  cast( ' ' as recsccpartgenerated preserving type ) AS REIsParticipationGenerated,
  cast( ' ' as recsccpartexemption preserving type ) AS REIsParticipationExemption
FROM I_REParticipationRule2CostCat
LEFT OUTER JOIN R_REContrSettlmtRglnTP AS _REContrSettlmtRglnTP ON InternalRealEstateNumber = _REContrSettlmtRglnTP.InternalRealEstateNumber  -- association [1..1]
LEFT OUTER JOIN I_REEntryValidity AS _REEntryValidity ON REEntryValidity = _REEntryValidity.REEntryValidity  -- association [1..1]
LEFT OUTER JOIN I_RETerm AS _REContrDenominatorRule ON InternalRealEstateNumber = _REContrDenominatorRule.InternalRealEstateNumber AND REDenominatorRule = _REContrDenominatorRule.RETermNumber AND _REContrDenominatorRule.RETermType = '3020'  -- association [1..1]
;