I_CollateralRealEstatePartCost
Cost Details for Collateral RE Part
I_CollateralRealEstatePartCost (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
CollateralRealEstatePartCost · Cross Applications
I_CollateralRealEstatePartCost is a Basic CDS View (Dimension) that provides data about "Cost Details for Collateral RE Part" in SAP S/4HANA. It reads from 1 data source (cms_re_prt_cst) and exposes 38 fields with key field ColltrlRealEstatePartCostUUID. It has 13 associations to related views.
SAP Help Documentation
| Category | Real Estate |
|---|---|
| Data Category | Dimension |
| Status | Released |
| Data Extraction Type | Delta enabled |
| Corresponding DataSource | ICREPARTCOST |
This CDS view provides the prerequisites to answer the following business question: What are the cost details of the collateral real estate part?
Prerequisites
This CDS view inherits the authorization object from CDS view I_CollateralRealEstate (see below under Related Information ).
Structure
Measures and Attributes Some important measures and attributes are: ColltrlRealEstatePartCostUUID CollateralRealEstatePartUUID CollateralRealEstatePartID CollateralRealEstateCostType ColltrlRECostDescription CollateralRealEstateCostDate CollateralRealEstateCostAmount ColltrlRealEstateCostCurrency ColltrlRECostBaseMeasure ColltrlREPlannedCostAmount ColltrlREPlannedCostCurrency ColltrlRECostValueEnhancing ColltrlRealEstateCostMeasure ColltrlRECostIsAllowable ColltrlREAllowableCostAmount ColltrlREAllowableCostCurrency ColltrlREAllowableCostPercent
SAP Business Warehouse (SAP BW) Extraction
Note The corresponding DataSource (Extractor) and this CDS view may have different functionalities. For details about the DataSource, see the related documentation on the SAP Help Portal at https://help.sap.com/viewer/p/BI_CONTENT_757 under Use SAP Library BI Content .
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Cross Applications |
| Application Component | FS-CMS |
| Capabilities | Association Target for Defining CDS Entities, Analytical Dimension, Data Source for Defining CDS Entities, Data Source in SQL Select, Data Source for Data Extraction |
| Package | Cross Applications for SAP S/4HANA Cloud Private Edition |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| cms_re_prt_cst | cms_re_prt_cst | from |
Associations (13)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CollateralRealEstatePart | _CollateralRealEstatePart | $projection.CollateralRealEstatePartUUID = _CollateralRealEstatePart.CollateralRealEstatePartUUID |
| [0..1] | I_ColltrlREPartMaster | _ColltrlREPartMaster | $projection.CollateralRealEstatePartUUID = _ColltrlREPartMaster.CollateralRealEstatePartUUID |
| [0..*] | I_ColltrlREPartAccessory | _ColltrlREPartAccessory | $projection.CollateralRealEstatePartUUID = _ColltrlREPartAccessory.CollateralRealEstatePartUUID |
| [0..*] | I_ColltrlREPartAccessoryMaster | _ColltrlREPartAccessoryMaster | $projection.CollateralRealEstatePartUUID = _ColltrlREPartAccessoryMaster.CollateralRealEstatePartUUID |
| [0..*] | I_ColltrlREPartPartner | _ColltrlREPartPartner | $projection.CollateralRealEstatePartUUID = _ColltrlREPartPartner.CollateralRealEstatePartUUID |
| [0..*] | I_ColltrlREPartValue | _ColltrlREPartValue | $projection.CollateralRealEstatePartUUID = _ColltrlREPartValue.CollateralRealEstatePartUUID |
| [0..*] | I_ColltrlRELandRegister | _ColltrlRELandRegister | $projection.CollateralRealEstatePartUUID = _ColltrlRELandRegister.CollateralRealEstatePartUUID |
| [0..1] | I_CollateralAttributeIndType | _CollateralRealEstateCostType | $projection.CollateralRealEstateCostType = _CollateralRealEstateCostType.CollateralAttributeIndType and _CollateralRealEstateCostType.CollateralAttributeIndCat = 'REO012' |
| [0..1] | I_CollateralAttributeIndType | _ColltrlRealEstateCostMeasure | $projection.ColltrlRealEstateCostMeasure = _ColltrlRealEstateCostMeasure.CollateralAttributeIndType and _ColltrlRealEstateCostMeasure.CollateralAttributeIndCat = 'REO017' |
| [0..1] | I_ColltrlREBaseMeasure | _ColltrlREBaseMeasure | $projection.ColltrlRECostBaseMeasure = _ColltrlREBaseMeasure.ColltrlRealEstateBaseMeasure |
| [0..1] | I_Currency | _ColltrlRealEstateCostCurrency | $projection.ColltrlRealEstateCostCurrency = _ColltrlRealEstateCostCurrency.Currency |
| [0..1] | I_Currency | _ColltrlREPlannedCostCurrency | $projection.ColltrlREPlannedCostCurrency = _ColltrlREPlannedCostCurrency.Currency |
| [0..1] | I_Currency | _ColltrlREAllowableCostCrcy | $projection.ColltrlREAllowableCostCurrency = _ColltrlREAllowableCostCrcy.Currency |
Annotations (20)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ICREPARTCOST | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| ObjectModel.usageType.serviceQuality | A | view | |
| ObjectModel.usageType.sizeCategory | L | view | |
| ObjectModel.usageType.dataClass | MASTER | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| ObjectModel.representativeKey | ColltrlRealEstatePartCostUUID | view | |
| ObjectModel.sapObjectNodeType.name | CollateralRealEstatePartCost | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.internalName | #LOCAL | view | |
| Analytics.dataExtraction.enabled | true | view | |
| Analytics.dataExtraction.delta.changeDataCapture.automatic | true | view | |
| VDM.viewType | #BASIC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Cost Details for Collateral RE Part | view |
Fields (38)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ColltrlRealEstatePartCostUUID | prt_cst_guid | GUID for part cost | |
| CollateralRealEstatePartUUID | obj_prt_guid | GUID for Object part | ||
| CollateralRealEstatePartID | part_id | Part ID for the Object | ||
| CollateralRealEstateCostType | cost_type | Cost Type | ||
| ColltrlRECostDescription | cost_desc | Description of the cost | ||
| CollateralRealEstateCostDate | cost_date | Date on which the Cost was Incurred | ||
| CollateralRealEstateCostAmount | cost_amt | Actual Cost Amount | ||
| ColltrlRealEstateCostCurrency | cost_curr | Cost Currency | ||
| ColltrlRECostBaseMeasure | cost_base_meas | Base Measure | ||
| ColltrlREPlannedCostAmount | plan_cost_amt | Plan Cost Amount | ||
| ColltrlREPlannedCostCurrency | plan_cost_curr | Cost currency | ||
| ColltrlRECostValueEnhancing | ind_val_maintain | Indicator - Value Enhancing/ Increasing | ||
| ColltrlRealEstateCostMeasure | cst_measure | Modernization or Renovation Measure | ||
| ColltrlRECostIsAllowable | flg_deduct_cost | Flag - Allowable Costs | ||
| ColltrlREAllowableCostAmount | deduct_cst_amt | Allowable Cost Amount | ||
| ColltrlREAllowableCostCurrency | deduct_cst_curr | Allowable Cost Currency | ||
| ColltrlREAllowableCostPercent | deduct_cst_pct | Allowable Cost In Percentage | ||
| CollateralRealEstateEnteredBy | created_by | Real Estate Add-On User | ||
| ColltrlRealEstateEnteredDate | created_date | Time Stamp | ||
| ColltrlRealEstateEnteredTime | created_time | Time Stamp | ||
| ColltrlRealEstateEnteredSource | entry_src | Sorce of Initial entry | ||
| ColltrlRealEstateLastChangedBy | last_chg_by | Last Changed by | ||
| ColltrlRELastChangedDate | last_chg_date | Last Changed on | ||
| ColltrlRELastChangedTime | last_chg_time | Last Changed at | ||
| ColltrlRELastChangedSource | processing_src | Processing Source | ||
| _CollateralRealEstatePart | _CollateralRealEstatePart | |||
| _ColltrlREPartMaster | _ColltrlREPartMaster | |||
| _ColltrlREPartAccessory | _ColltrlREPartAccessory | |||
| _ColltrlREPartAccessoryMaster | _ColltrlREPartAccessoryMaster | |||
| _ColltrlREPartPartner | _ColltrlREPartPartner | |||
| _ColltrlREPartValue | _ColltrlREPartValue | |||
| _ColltrlRELandRegister | _ColltrlRELandRegister | |||
| _CollateralRealEstateCostType | _CollateralRealEstateCostType | |||
| _ColltrlRealEstateCostMeasure | _ColltrlRealEstateCostMeasure | |||
| _ColltrlREBaseMeasure | _ColltrlREBaseMeasure | |||
| _ColltrlRealEstateCostCurrency | _ColltrlRealEstateCostCurrency | |||
| _ColltrlREPlannedCostCurrency | _ColltrlREPlannedCostCurrency | |||
| _ColltrlREAllowableCostCrcy | _ColltrlREAllowableCostCrcy |
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_CollateralRealEstatePartCost.
-- 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 I_CollateralRealEstatePartCost AS
SELECT
prt_cst_guid AS ColltrlRealEstatePartCostUUID,
obj_prt_guid AS CollateralRealEstatePartUUID,
part_id AS CollateralRealEstatePartID,
cost_type AS CollateralRealEstateCostType,
cost_desc AS ColltrlRECostDescription,
cost_date AS CollateralRealEstateCostDate,
cost_amt AS CollateralRealEstateCostAmount,
cost_curr AS ColltrlRealEstateCostCurrency,
cost_base_meas AS ColltrlRECostBaseMeasure,
plan_cost_amt AS ColltrlREPlannedCostAmount,
plan_cost_curr AS ColltrlREPlannedCostCurrency,
ind_val_maintain AS ColltrlRECostValueEnhancing,
cst_measure AS ColltrlRealEstateCostMeasure,
flg_deduct_cost AS ColltrlRECostIsAllowable,
deduct_cst_amt AS ColltrlREAllowableCostAmount,
deduct_cst_curr AS ColltrlREAllowableCostCurrency,
deduct_cst_pct AS ColltrlREAllowableCostPercent,
created_by AS CollateralRealEstateEnteredBy,
created_date AS ColltrlRealEstateEnteredDate,
created_time AS ColltrlRealEstateEnteredTime,
entry_src AS ColltrlRealEstateEnteredSource,
last_chg_by AS ColltrlRealEstateLastChangedBy,
last_chg_date AS ColltrlRELastChangedDate,
last_chg_time AS ColltrlRELastChangedTime,
processing_src AS ColltrlRELastChangedSource
FROM cms_re_prt_cst
LEFT OUTER JOIN I_CollateralRealEstatePart AS _CollateralRealEstatePart ON CollateralRealEstatePartUUID = _CollateralRealEstatePart.CollateralRealEstatePartUUID -- association [0..1]
LEFT OUTER JOIN I_ColltrlREPartMaster AS _ColltrlREPartMaster ON CollateralRealEstatePartUUID = _ColltrlREPartMaster.CollateralRealEstatePartUUID -- association [0..1]
LEFT OUTER JOIN I_ColltrlREPartAccessory AS _ColltrlREPartAccessory ON CollateralRealEstatePartUUID = _ColltrlREPartAccessory.CollateralRealEstatePartUUID -- association [0..*]
LEFT OUTER JOIN I_ColltrlREPartAccessoryMaster AS _ColltrlREPartAccessoryMaster ON CollateralRealEstatePartUUID = _ColltrlREPartAccessoryMaster.CollateralRealEstatePartUUID -- association [0..*]
LEFT OUTER JOIN I_ColltrlREPartPartner AS _ColltrlREPartPartner ON CollateralRealEstatePartUUID = _ColltrlREPartPartner.CollateralRealEstatePartUUID -- association [0..*]
LEFT OUTER JOIN I_ColltrlREPartValue AS _ColltrlREPartValue ON CollateralRealEstatePartUUID = _ColltrlREPartValue.CollateralRealEstatePartUUID -- association [0..*]
LEFT OUTER JOIN I_ColltrlRELandRegister AS _ColltrlRELandRegister ON CollateralRealEstatePartUUID = _ColltrlRELandRegister.CollateralRealEstatePartUUID -- association [0..*]
LEFT OUTER JOIN I_CollateralAttributeIndType AS _CollateralRealEstateCostType ON CollateralRealEstateCostType = _CollateralRealEstateCostType.CollateralAttributeIndType AND _CollateralRealEstateCostType.CollateralAttributeIndCat = 'REO012' -- association [0..1]
LEFT OUTER JOIN I_CollateralAttributeIndType AS _ColltrlRealEstateCostMeasure ON ColltrlRealEstateCostMeasure = _ColltrlRealEstateCostMeasure.CollateralAttributeIndType AND _ColltrlRealEstateCostMeasure.CollateralAttributeIndCat = 'REO017' -- association [0..1]
LEFT OUTER JOIN I_ColltrlREBaseMeasure AS _ColltrlREBaseMeasure ON ColltrlRECostBaseMeasure = _ColltrlREBaseMeasure.ColltrlRealEstateBaseMeasure -- association [0..1]
LEFT OUTER JOIN I_Currency AS _ColltrlRealEstateCostCurrency ON ColltrlRealEstateCostCurrency = _ColltrlRealEstateCostCurrency.Currency -- association [0..1]
LEFT OUTER JOIN I_Currency AS _ColltrlREPlannedCostCurrency ON ColltrlREPlannedCostCurrency = _ColltrlREPlannedCostCurrency.Currency -- association [0..1]
LEFT OUTER JOIN I_Currency AS _ColltrlREAllowableCostCrcy ON ColltrlREAllowableCostCurrency = _ColltrlREAllowableCostCrcy.Currency -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA