I_RECndnCalculationRuleExt

DDL: I_RECNDNCALCULATIONRULEEXT SQL: IRECALCRULEEXT Type: view_entity BASIC

Real Estate External Calculation Formula

I_RECndnCalculationRuleExt (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Real Estate Calculation Rule · Cross Applications

I_RECndnCalculationRuleExt is a Basic CDS View (Dimension) that provides data about "Real Estate External Calculation Formula" in SAP S/4HANA. It reads from 1 data source (tivcdcalcext) and exposes 30 fields with key field RECalculationRule. It has 11 associations to related views.

SAP Help Documentation

CategoryCustomizing
Data CategoryDimension
Purpose
This CDS view is designed to provide a structured representation of external calculation formulas related to contract and lease management. It serves as a dimension in analytical scenarios, allowing for the extraction and analysis of data concerning calculation rules and their associated parameters and settings. This CDS view provides the data to answer the following business questions: What are the external calculation rules used in contract and lease management? How are these calculation rules associated with internal calculation rules? What parameters are defined for each calculation rule? What modification settings and application settings are associated with each calculation rule? Is the distribution of calculation rules independent or linked to specific distribution rules? Are the calculation rules modifiable, and what are the rounding types and thresholds applied to unit prices and condition amounts? How is the rounding handled for gross or net amounts in real estate calculations? What are the full distribution rules associated with each calculation rule? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view don't need any special authorization.

Structure
Important Fields Important fields in this view include the following: Field Name Description RECalculationRule Ext.Calculation Rule REInternalCalculationRule Int. Calcul. Rule RECalculationRuleParam1 Calc. Formula Param. RERuleFieldModifSttg1 Custom. Fld Modific. RERuleFieldModifAppl1 Applic. Fld Modific. RECalculationRuleParam2 Calc. Formula Param. RERuleFieldModifSttg2 Custom. Fld Modific. RERuleFieldModifAppl2 Applic. Fld Modific. REDistributionIsIndependent Distrib. Independent REDistributionRule Ext. Distr.Formula RECalculationRuleIsModifiable Modifiable REUnitPriceRoundingType Rounding Category REUnitPriceNmbrOfDcmlsToRound Decimal Places REUnitPriceRoundingThreshold Rounding Unit RECndnAmountRoundingType Rounding Category RECndnAmountNmbrOfDcmlsToRound Decimal Places RECndnAmountRoundingThreshold Rounding Unit REGrossOrNetRounding Rounding Gross/Net REFullDistributionRule Full Distribution

Data Extraction
Data Extraction Type This CDS view is enabled for data extraction in full mode.

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessCross Applications
Application ComponentRE-FX-CN
CapabilitiesData Source for Defining CDS Entities, Analytical Dimension, Data Source in SQL Select, Association Target for Defining CDS Entities, Data Source for Data Extraction
PackageCross Applications for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
tivcdcalcext tivcdcalcext from

Associations (11)

CardinalityTargetAliasCondition
[0..*] I_RECndnCalcRuleExtText _Text $projection.RECalculationRule = _Text.RECalculationRule
[0..1] I_RECndnCalculationRuleInt _RECndnCalculationRuleInt $projection.REInternalCalculationRule = _RECndnCalculationRuleInt.REInternalCalculationRule
[0..1] I_RERuleFieldModifSttg1 _RERuleFieldModifSttg1 $projection.RERuleFieldModifSttg1 = _RERuleFieldModifSttg1.RERuleFieldModifSttg1
[0..1] I_RERuleFieldModifSttg2 _RERuleFieldModifSttg2 $projection.RERuleFieldModifSttg2 = _RERuleFieldModifSttg2.RERuleFieldModifSttg2
[0..1] I_RERuleFieldModifAppl1 _RERuleFieldModifAppl1 $projection.RERuleFieldModifAppl1 = _RERuleFieldModifAppl1.RERuleFieldModifAppl1
[0..1] I_RERuleFieldModifAppl2 _RERuleFieldModifAppl2 $projection.RERuleFieldModifAppl2 = _RERuleFieldModifAppl2.RERuleFieldModifAppl2
[0..1] I_RECndnDistributionRuleExt _RECndnDistributionRuleExt $projection.REDistributionRule = _RECndnDistributionRuleExt.REDistributionRule
[0..1] I_RERoundingTypeForUnitPrc _RERoundingTypeForUnitPrc $projection.REUnitPriceRoundingType = _RERoundingTypeForUnitPrc.REUnitPriceRoundingType
[0..1] I_RERoundingTypeForCndnAmt _RERoundingTypeForCndnAmt $projection.RECndnAmountRoundingType = _RERoundingTypeForCndnAmt.RECndnAmountRoundingType
[0..1] I_REGrossOrNetRounding _REGrossOrNetRounding $projection.REGrossOrNetRounding = _REGrossOrNetRounding.REGrossOrNetRounding
[0..1] I_REFullDistributionRule _REFullDistributionRule $projection.REFullDistributionRule = _REFullDistributionRule.REFullDistributionRule

Annotations (13)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
Analytics.dataExtraction.enabled true view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.representativeKey RECalculationRule view
ObjectModel.sapObjectNodeType.name RealEstateCalculationRule view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #BASIC view
EndUserText.label Real Estate External Calculation Formula view

Fields (30)

KeyFieldSource TableSource FieldDescription
KEY RECalculationRule calcruleext External Calculation Formula
REInternalCalculationRule calcruleint Internal Calculation Formula
RECalculationRuleParam1 calcrulepara1 Untypified Parameter for a Calculation Formula
RERuleFieldModifSttg1 calcrulepamocu1 Field Modification Calculation and Distrib. Rule-Customizing
RERuleFieldModifAppl1 calcrulepamoap1 Field Modification Calculation and Distrib. Rule-Application
RECalculationRuleParam2 calcrulepara2 Untypified Parameter for a Calculation Formula
RERuleFieldModifSttg2 calcrulepamocu2 Field Modification Calculation and Distrib. Rule-Customizing
RERuleFieldModifAppl2 calcrulepamoap2 Field Modification Calculation and Distrib. Rule-Application
REDistributionIsIndependent calcrulenodist Distribution Formula Independent of Calculation Formula?
REDistributionRule distruleext External Distribution Formula
RECalculationRuleIsModifiable calcrulemod Modifiable Calculation Factors
REUnitPriceRoundingType roundtype Rounding Category of Unit Price
REUnitPriceNmbrOfDcmlsToRound rounddecimal No. of decimal places to which rounding should be performed
REUnitPriceRoundingThreshold roundunit Unit to be rounded up to
RECndnAmountRoundingType caroundtype Rounding Category of Condition Amount
RECndnAmountNmbrOfDcmlsToRound carounddecimal No. of decimal places to which rounding should be performed
RECndnAmountRoundingThreshold caroundunit Unit to be rounded up to
REGrossOrNetRounding caroundgrne Gross or Net Rounding
REFullDistributionRule distcomplete Full Distribution Is Mandatory
_Text _Text
_RECndnCalculationRuleInt _RECndnCalculationRuleInt
_RERuleFieldModifSttg1 _RERuleFieldModifSttg1
_RERuleFieldModifSttg2 _RERuleFieldModifSttg2
_RERuleFieldModifAppl1 _RERuleFieldModifAppl1
_RERuleFieldModifAppl2 _RERuleFieldModifAppl2
_RECndnDistributionRuleExt _RECndnDistributionRuleExt
_RERoundingTypeForUnitPrc _RERoundingTypeForUnitPrc
_RERoundingTypeForCndnAmt _RERoundingTypeForCndnAmt
_REGrossOrNetRounding _REGrossOrNetRounding
_REFullDistributionRule _REFullDistributionRule

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 I_RECndnCalculationRuleExt.
-- 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: IRECALCRULEEXT

CREATE VIEW I_RECndnCalculationRuleExt AS
SELECT
  calcruleext AS RECalculationRule,
  calcruleint AS REInternalCalculationRule,
  calcrulepara1 AS RECalculationRuleParam1,
  calcrulepamocu1 AS RERuleFieldModifSttg1,
  calcrulepamoap1 AS RERuleFieldModifAppl1,
  calcrulepara2 AS RECalculationRuleParam2,
  calcrulepamocu2 AS RERuleFieldModifSttg2,
  calcrulepamoap2 AS RERuleFieldModifAppl2,
  calcrulenodist AS REDistributionIsIndependent,
  distruleext AS REDistributionRule,
  calcrulemod AS RECalculationRuleIsModifiable,
  roundtype AS REUnitPriceRoundingType,
  rounddecimal AS REUnitPriceNmbrOfDcmlsToRound,
  roundunit AS REUnitPriceRoundingThreshold,
  caroundtype AS RECndnAmountRoundingType,
  carounddecimal AS RECndnAmountNmbrOfDcmlsToRound,
  caroundunit AS RECndnAmountRoundingThreshold,
  caroundgrne AS REGrossOrNetRounding,
  distcomplete AS REFullDistributionRule
FROM tivcdcalcext
LEFT OUTER JOIN I_RECndnCalcRuleExtText AS _Text ON RECalculationRule = _Text.RECalculationRule  -- association [0..*]
LEFT OUTER JOIN I_RECndnCalculationRuleInt AS _RECndnCalculationRuleInt ON REInternalCalculationRule = _RECndnCalculationRuleInt.REInternalCalculationRule  -- association [0..1]
LEFT OUTER JOIN I_RERuleFieldModifSttg1 AS _RERuleFieldModifSttg1 ON RERuleFieldModifSttg1 = _RERuleFieldModifSttg1.RERuleFieldModifSttg1  -- association [0..1]
LEFT OUTER JOIN I_RERuleFieldModifSttg2 AS _RERuleFieldModifSttg2 ON RERuleFieldModifSttg2 = _RERuleFieldModifSttg2.RERuleFieldModifSttg2  -- association [0..1]
LEFT OUTER JOIN I_RERuleFieldModifAppl1 AS _RERuleFieldModifAppl1 ON RERuleFieldModifAppl1 = _RERuleFieldModifAppl1.RERuleFieldModifAppl1  -- association [0..1]
LEFT OUTER JOIN I_RERuleFieldModifAppl2 AS _RERuleFieldModifAppl2 ON RERuleFieldModifAppl2 = _RERuleFieldModifAppl2.RERuleFieldModifAppl2  -- association [0..1]
LEFT OUTER JOIN I_RECndnDistributionRuleExt AS _RECndnDistributionRuleExt ON REDistributionRule = _RECndnDistributionRuleExt.REDistributionRule  -- association [0..1]
LEFT OUTER JOIN I_RERoundingTypeForUnitPrc AS _RERoundingTypeForUnitPrc ON REUnitPriceRoundingType = _RERoundingTypeForUnitPrc.REUnitPriceRoundingType  -- association [0..1]
LEFT OUTER JOIN I_RERoundingTypeForCndnAmt AS _RERoundingTypeForCndnAmt ON RECndnAmountRoundingType = _RERoundingTypeForCndnAmt.RECndnAmountRoundingType  -- association [0..1]
LEFT OUTER JOIN I_REGrossOrNetRounding AS _REGrossOrNetRounding ON REGrossOrNetRounding = _REGrossOrNetRounding.REGrossOrNetRounding  -- association [0..1]
LEFT OUTER JOIN I_REFullDistributionRule AS _REFullDistributionRule ON REFullDistributionRule = _REFullDistributionRule.REFullDistributionRule  -- association [0..1]
;