I_REUsblObjectToContractAssgmt
RE Usable Object Contract Assignment
I_REUsblObjectToContractAssgmt (Composite)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.
REUsblObjToContractAssignment · Cross Applications
I_REUsblObjectToContractAssgmt is a Composite CDS View that provides data about "RE Usable Object Contract Assignment" in SAP S/4HANA. It reads from 2 data sources (I_REObjectAssgmt, I_REUsableObject) and exposes 22 fields with key fields REStatusObjectSource, REObjectAssignmentType, CompanyCode, RealEstateContract, ValidityStartEndDateValue. It has 2 associations to related views. Part of development package VDM_RE_GO.
SAP Help Documentation
| Category | Master |
|---|---|
| Status | Source Obj. Archived |
This CDS view is designed to provide a comprehensive overview of the assignment of real estate usable objects to contracts. It integrates data from various sources related to object assignments, usable objects, and contracts, allowing for detailed analysis and reporting on the relationships and validity periods between these entities. This CDS view provides the data to answer the following business questions: Which real estate usable objects are currently assigned to specific contracts? What are the validity periods for the assignments of real estate usable objects to contracts? How do the validity dates of real estate object assignments compare to the contract start and end dates? What are the possession start and end dates for the assigned objects? How can we identify archived status objects or specific generation types within object assignments? 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 REStatusObjectSource Object Number REObjectAssignmentType Assignment Type CompanyCode Company Code RealEstateContract Real Estate Contract ValidityStartEndDateValue Validity Period RealEstateUsableObjectUUID UUID GO ValidityStartDate Validity Start Date REStatusObjectTarget Object Number ValidityEndDate Validity End Date REOnlyInfoAssgmt Informational REStatusObjectSourceIsArchived Source Obj. Archived REGenerationType Generation Type REIsMainAsset Leading Asset REAssignmentHasMultiple Mult.Assignmt Entry REObjectPossessionStartDate Possession Date From REObjectPossessionEndDate Possession Date To
Data Extraction
Data Extraction Type This CDS view is enabled for data extraction in full mode.
SAP API Hub
| Category | Composite |
|---|---|
| State | C1 |
| Line of Business | Cross Applications |
| Application Component | RE-FX-BD-2CL |
| Capabilities | Data Source for Data Extraction,Association Target for Defining CDS Entities,Data Source in SQL Select,Data Source for Defining CDS Entities |
| Extensible (Key User) | No |
| Extensible (Developer) | No |
| Release State (Key User) | Released |
| Release State (Developer) | Released |
| Package | Cross Applications for SAP S/4HANA Cloud Public Edition |
| Description | <p>This CDS view is designed to provide a comprehensive overview of the assignment of real estate usable objects to contracts. It integrates data from various sources related to object assignments, usable objects, and contracts, allowing for detailed analysis and reporting on the relationships and validity periods between these entities.</p> <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li><p>Which real estate usable objects are currently assigned to specific contracts?</p></li> <li><p>What are the validity periods for the assignments of real estate usable objects to contracts?</p></li> <li><p>How do the validity dates of real estate object assignments compare to the contract start and end dates?</p></li> <li><p>What are the possession start and end dates for the assigned objects?</p></li> <li><p>How can we identify archived status objects or specific generation types within object assignments?</p></li> </ul> <p>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.</p> |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Public Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Public Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Public Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Custom Communication Scenarios — Create custom communication scenarios to configure custom communication arrangement
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Public Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_REObjectAssgmt | _REObjectAssgmt | from |
| I_REUsableObject | _REUsableObject | inner |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_REContract | _REContract | $projection.REStatusObjectTarget = _REContract.REStatusObject |
| [1..1] | I_REUsableObject | _REUsableObjectData | $projection.REStatusObjectSource = _REUsableObjectData.REStatusObject |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | RE Usable Object Contract Assignment | view | |
| Analytics.internalName | #LOCAL | view | |
| Analytics.dataExtraction.enabled | true | view | |
| Analytics.technicalName | IREUOTOCN | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.modelingPattern | #NONE | view | |
| ObjectModel.sapObjectNodeType.name | REUsblObjToContractAssignment | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | REStatusObjectSource | I_REObjectAssgmt | REStatusObjectTarget | Object Number |
| KEY | REObjectAssignmentType | I_REObjectAssgmt | REObjectAssignmentType | Type of Object Assignment |
| KEY | CompanyCode | _REContract | CompanyCode | Receiver Company Code |
| KEY | RealEstateContract | _REContract | RealEstateContract | Real Estate Contract Number |
| KEY | ValidityStartEndDateValue | Date from to (RAP Key) | ||
| KEY | RealEstateUsableObjectUUID | I_REUsableObject | RealEstateUsableObjectUUID | UUID for Generic Rental Object |
| ContractStartDateendasValidityStartDate | ||||
| REStatusObjectTarget | I_REObjectAssgmt | REStatusObjectSource | Object Number | |
| ContractEndDateendasValidityEndDate | ||||
| REOnlyInfoAssgmt | I_REObjectAssgmt | REOnlyInfoAssgmt | Informational Assignment | |
| REStatusObjectSourceIsArchived | I_REObjectAssgmt | REStatusObjectSourceIsArchived | Source Object Was Archived | |
| REGenerationType | I_REObjectAssgmt | REGenerationType | Generation Type Functional Location | |
| REIsMainAsset | I_REObjectAssgmt | REIsMainAsset | Asset Is Leading Asset | |
| REAssignmentHasMultiple | I_REObjectAssgmt | REAssignmentHasMultiple | Generated Entry for Multiple Assignment | |
| REObjectPossessionStartDate | I_REObjectAssgmt | REObjectPossessionStartDate | Date From Which the Object Is Made Available for Use | |
| REObjectPossessionEndDate | I_REObjectAssgmt | REObjectPossessionEndDate | Date Up to Which the Object Is Used | |
| _REObjectTypeDetails | I_REObjectAssgmt | _REObjectTypeDetails | ||
| _REObjectAssignmentType | I_REObjectAssgmt | _REObjectAssignmentType | ||
| _REGenerationType | I_REObjectAssgmt | _REGenerationType | ||
| _CompanyCode | _REContract | _CompanyCode | ||
| _REContract | _REContract | |||
| _REUsableObjectData | _REUsableObjectData |
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_REUsblObjectToContractAssgmt.
-- 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_REUsblObjectToContractAssgmt AS
SELECT
_REObjectAssgmt.REStatusObjectTarget AS REStatusObjectSource,
_REObjectAssgmt.REObjectAssignmentType AS REObjectAssignmentType,
_REContract.CompanyCode AS CompanyCode,
_REContract.RealEstateContract AS RealEstateContract,
cast(concat(_REUsableObject.ValidityStartDate, _REUsableObject.ValidityEndDate ) as recadateperiod preserving type ) AS ValidityStartEndDateValue,
_REUsableObject.RealEstateUsableObjectUUID AS RealEstateUsableObjectUUID,
case when _REObjectAssgmt.ValidityStartDate > _REContract.ContractStartDate then cast( coalesce(_REUsableObject.ValidityStartDate, '00000000') as rebdvdmvalidfrom preserving type ) when _REObjectAssgmt._REObjectTypeDetails._REUsableObject.ValidityStartDate > _REContract.ContractStartDate then _REObjectAssgmt._REObjectTypeDetails._REUsableObject.ValidityStartDate else _REContract.ContractStartDate end as ValidityStartDate AS ContractStartDateendasValidityStartDate,
_REObjectAssgmt.REStatusObjectSource AS REStatusObjectTarget,
case when _REObjectAssgmt.ValidityEndDate < _REContract.ContractEndDate then cast( coalesce(_REUsableObject.ValidityEndDate, '99991231') as rebdvdmvalidto preserving type ) when _REObjectAssgmt._REObjectTypeDetails._REUsableObject.ValidityEndDate < _REContract.ContractEndDate then _REObjectAssgmt._REObjectTypeDetails._REUsableObject.ValidityEndDate else _REContract.ContractEndDate end as ValidityEndDate AS ContractEndDateendasValidityEndDate,
_REObjectAssgmt.REOnlyInfoAssgmt AS REOnlyInfoAssgmt,
_REObjectAssgmt.REStatusObjectSourceIsArchived AS REStatusObjectSourceIsArchived,
_REObjectAssgmt.REGenerationType AS REGenerationType,
_REObjectAssgmt.REIsMainAsset AS REIsMainAsset,
_REObjectAssgmt.REAssignmentHasMultiple AS REAssignmentHasMultiple,
_REObjectAssgmt.REObjectPossessionStartDate AS REObjectPossessionStartDate,
_REObjectAssgmt.REObjectPossessionEndDate AS REObjectPossessionEndDate,
_REObjectAssgmt._REObjectTypeDetails AS _REObjectTypeDetails,
_REObjectAssgmt._REObjectAssignmentType AS _REObjectAssignmentType,
_REObjectAssgmt._REGenerationType AS _REGenerationType,
_REContract._CompanyCode AS _CompanyCode
FROM I_REObjectAssgmt AS _REObjectAssgmt
INNER JOIN I_REUsableObject AS _REUsableObject ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_REContract AS _REContract ON REStatusObjectTarget = _REContract.REStatusObject -- association [1..1]
LEFT OUTER JOIN I_REUsableObject AS _REUsableObjectData ON REStatusObjectSource = _REUsableObjectData.REStatusObject -- association [1..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