I_REDocumentItem
Real Estate Document Item
I_REDocumentItem (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
Cross Applications
I_REDocumentItem is a Basic CDS View that provides data about "Real Estate Document Item" in SAP S/4HANA. It reads from 1 data source (viradocitem) and exposes 33 fields with key fields RealEstateDocumentUUID, RealEstateDocumentItem. It has 4 associations to related views.
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Cross Applications |
| Application Component | RE-FX-RA |
| Capabilities | Association Target for Defining CDS Entities |
| 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 |
|---|---|---|
| viradocitem | viradocitem | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_REDocumentHeader | _REDocumentHeader | $projection.RealEstateDocumentUUID = _REDocumentHeader.RealEstateDocumentUUID |
| [0..1] | I_BusinessArea | _BusinessArea | $projection.BusinessArea = _BusinessArea.BusinessArea |
| [1..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [0..1] | I_ProfitCenter | _ProfitCenter | $projection.ProfitCenter = _ProfitCenter.ProfitCenter and $projection.ControllingArea = _ProfitCenter.ControllingArea and _ProfitCenter.ValidityEndDate >= $session.system_date and _ProfitCenter.ValidityStartDate <= $session.system_date |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| EndUserText.label | Real Estate Document Item | view | |
| Analytics.internalName | #LOCAL | view | |
| ObjectModel.representativeKey | RealEstateDocumentUUID | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.modelingPattern | #NONE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.viewType | #BASIC | view |
Fields (33)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | RealEstateDocumentUUID | docguid | GUID: Unique Internal Key for RE Document | |
| KEY | RealEstateDocumentItem | itemno | Accounting Document Line Item Number | |
| REReferenceDocumentItem | refitemno | Reference to Other Item Number of Document | ||
| CompanyCode | bukrs | Company Code | ||
| ControllingArea | _CompanyCode | ControllingArea | Controlling Area | |
| REDocumentItemType | itemtype | Item Category | ||
| SettlementReferenceDate | refdate | Reference date for settlement | ||
| REProcessType | process | Process | ||
| REProcessUUID | processguid | Generic Key of Process | ||
| RealEstateClearingProcess | clearngprocessid | Process Identification -> Accounting Reference Number | ||
| REDocumentReferenceOrigin | refguidorigin | Source of GUID | ||
| REDocumentReferenceUUID | refguid | Reference GUID | ||
| REStatusObject | objnr | Account Assignment: Object Number | ||
| CalculationPeriodStartDate | pfrom | Start of Calculation Period | ||
| CalculationPeriodEndDate | pto | End of Calculation Period | ||
| DueCalculationBaseDate | blinedate | Baseline Date for Due Date Calculation | ||
| REOriglDueDate | origduedate | Original Due Date | ||
| REConditionType | condtype | Condition Type | ||
| REFlowType | flowtype | Update Type | ||
| DebitCreditCode | dcindicator | Debit/Credit Indicator | ||
| RETaxCalcDate | taxdate | Date of Tax Calculation | ||
| BusinessArea | gsber | Business Area | ||
| ProfitCenter | prctr | Profit Centers | ||
| Fund | Sender Fund | |||
| FundsCenter | Funds Center | |||
| CommitmentItem | Commitment item | |||
| FunctionalArea | Sendr Fctl Area | |||
| REFundsManagementGrantID | Grant | |||
| REStatusObjectAsset | assetobjnr | Object Number - Asset | ||
| REValnIsCompleteRetirement | iscompleteretirement | Complete Retirement? | ||
| _REDocumentHeader | _REDocumentHeader | |||
| _BusinessArea | _BusinessArea | |||
| _ProfitCenter | _ProfitCenter |
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_REDocumentItem.
-- 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: IREDOCITEM
CREATE VIEW I_REDocumentItem AS
SELECT
docguid AS RealEstateDocumentUUID,
itemno AS RealEstateDocumentItem,
refitemno AS REReferenceDocumentItem,
bukrs AS CompanyCode,
_CompanyCode.ControllingArea AS ControllingArea,
itemtype AS REDocumentItemType,
refdate AS SettlementReferenceDate,
process AS REProcessType,
processguid AS REProcessUUID,
clearngprocessid AS RealEstateClearingProcess,
refguidorigin AS REDocumentReferenceOrigin,
refguid AS REDocumentReferenceUUID,
objnr AS REStatusObject,
pfrom AS CalculationPeriodStartDate,
pto AS CalculationPeriodEndDate,
blinedate AS DueCalculationBaseDate,
origduedate AS REOriglDueDate,
condtype AS REConditionType,
flowtype AS REFlowType,
dcindicator AS DebitCreditCode,
taxdate AS RETaxCalcDate,
gsber AS BusinessArea,
prctr AS ProfitCenter,
cast( fund as bp_geber ) AS Fund,
cast( fundscenter as fm_fictr ) AS FundsCenter,
cast( commitmentitem as fm_fipex preserving type ) AS CommitmentItem,
cast( functionalarea as fm_farea ) AS FunctionalArea,
cast( grantnumber as reravdmgrantnumber preserving type) AS REFundsManagementGrantID,
assetobjnr AS REStatusObjectAsset,
iscompleteretirement AS REValnIsCompleteRetirement
FROM viradocitem
LEFT OUTER JOIN I_REDocumentHeader AS _REDocumentHeader ON RealEstateDocumentUUID = _REDocumentHeader.RealEstateDocumentUUID -- association [1..1]
LEFT OUTER JOIN I_BusinessArea AS _BusinessArea ON BusinessArea = _BusinessArea.BusinessArea -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [1..1]
LEFT OUTER JOIN I_ProfitCenter AS _ProfitCenter ON ProfitCenter = _ProfitCenter.ProfitCenter AND ControllingArea = _ProfitCenter.ControllingArea AND _ProfitCenter.ValidityEndDate >= $session.system_date AND _ProfitCenter.ValidityStartDate <= $session.system_date -- 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