I_REUsblObjectToContractAssgmt

DDL: I_REUSBLOBJECTTOCONTRACTASSGMT Type: view_entity COMPOSITE Package: VDM_RE_GO

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

CategoryMaster
StatusSource Obj. Archived
Purpose
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.

View on SAP Help Portal →

SAP API Hub

CategoryComposite
StateC1
Line of BusinessCross Applications
Application ComponentRE-FX-BD-2CL
CapabilitiesData 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
PackageCross 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

Data Sources (2)

SourceAliasJoin Type
I_REObjectAssgmt _REObjectAssgmt from
I_REUsableObject _REUsableObject inner

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_REContract _REContract $projection.REStatusObjectTarget = _REContract.REStatusObject
[1..1] I_REUsableObject _REUsableObjectData $projection.REStatusObjectSource = _REUsableObjectData.REStatusObject

Annotations (12)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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]
;