I_ColltrlREPartDocument

DDL: I_COLLTRLREPARTDOCUMENT Type: view_entity BASIC

Real Estate Part Document Details

I_ColltrlREPartDocument (Basic)

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

ColltrlRealEstatePartDocument · Cross Applications

I_ColltrlREPartDocument is a Basic CDS View (Dimension) that provides data about "Real Estate Part Document Details" in SAP S/4HANA. It reads from 1 data source (cms_re_prt_doc) and exposes 20 fields with key field ColltrlREPartDocumentUUID. It has 3 associations to related views.

SAP Help Documentation

CategoryReal Estate
Data CategoryDimension
Purpose
This CDS view retrieves the real estate part document details. 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 Authorizations for On Premise These Authorizations Objects are part of the DCL of the view. AUTHORIZATIONOBJECT_ID AUTHORIZATIONOBJECT_TEXT CMS_DP_BLK Authorization Object for Blocking/Unblocking CMS_RE Authorization object for Real estate objects in CMS

Structure
Important Fields Important fields in this view include the following: Field Name Data Element Description ColltrlREPartDocumentUUID CMS_RE_DTE_PRT_DOC_GUID Doc GUID CollateralRealEstatePartUUID CMS_RE_DTE_OBJ_PRT_GUID Part GUID CollateralRealEstatePartID CMS_RE_DTE_PART_ID Part ID ColltrlDocumentReferenceNumber CMS_DTE_REF_DOCID Ref. Document ID CollateralDocumentType CMS_DTE_DOC_TYP Document Type CollateralDocumentDate CMS_DTE_DOC_DATE Document Date CollateralDocPhysicalLocation CMS_DTE_DOC_ATT_ID_TY_DOC001 Physical Location ColltrlDocumentValidFromDate CMS_DTE_DATE Date CollateralDocumentValidToDate CMS_DTE_DATE Date CollateralRealEstateEnteredBy CMS_RE_DTE_CR_BY Created By ColltrlRealEstateEnteredDate CMS_RE_DTE_CR_ON Created On ColltrlRealEstateEnteredTime CMS_RE_DTE_CR_AT Created At ColltrlRealEstateEnteredSource CMS_RE_DTE_SRC_INIT Source Of Entry ColltrlRealEstateLastChangedBy CMS_RE_DTE_CHG_BY Last Changed by ColltrlRELastChangedDate CMS_RE_DTE_CHG_ON Last Changed On ColltrlRELastChangedTime CMS_RE_DTE_CHG_AT Last Changed At ColltrlRELastChangedSource CMS_RE_DTE_PRC_SRC Processing Source

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 ComponentFS-CMS
CapabilitiesAnalytical Dimension, Data Source in SQL Select, Association Target for Defining CDS Entities, Data Source for Data Extraction, Data Source for Defining CDS Entities
PackageCross Applications for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
cms_re_prt_doc cms_re_prt_doc from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_CollateralRealEstatePart _CollateralRealEstatePart $projection.CollateralRealEstatePartUUID = _CollateralRealEstatePart.CollateralRealEstatePartUUID
[0..1] I_CollateralDocumentType _ColltrlRealEstatePartDocType $projection.CollateralDocumentType = _ColltrlRealEstatePartDocType.CollateralDocumentType
[0..1] I_CollateralAttributeIndType _ColltrlREPartDocPhysicalLoc $projection.CollateralDocPhysicalLocation = _ColltrlREPartDocPhysicalLoc.CollateralAttributeIndType and _ColltrlREPartDocPhysicalLoc.CollateralAttributeIndCat = 'DOC001'

Annotations (15)

NameValueLevelField
EndUserText.label Real Estate Part Document Details view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey ColltrlREPartDocumentUUID view
ObjectModel.sapObjectNodeType.name ColltrlRealEstatePartDocument 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

Fields (20)

KeyFieldSource TableSource FieldDescription
KEY ColltrlREPartDocumentUUID prt_doc_guid GUID for part Document
CollateralRealEstatePartUUID obj_prt_guid GUID for Object part
CollateralRealEstatePartID part_id Part ID for the Object
ColltrlDocumentReferenceNumber doc_referenceid Reference Document ID
CollateralDocumentType doc_type VAT Document Type
CollateralDocumentDate doc_date Document Date
CollateralDocPhysicalLocation physical_locn Physical Location of Document
ColltrlDocumentValidFromDate Date
CollateralDocumentValidToDate Date
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
_ColltrlRealEstatePartDocType _ColltrlRealEstatePartDocType
_ColltrlREPartDocPhysicalLoc _ColltrlREPartDocPhysicalLoc

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_ColltrlREPartDocument.
-- 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_ColltrlREPartDocument AS
SELECT
  prt_doc_guid AS ColltrlREPartDocumentUUID,
  obj_prt_guid AS CollateralRealEstatePartUUID,
  part_id AS CollateralRealEstatePartID,
  doc_referenceid AS ColltrlDocumentReferenceNumber,
  doc_type AS CollateralDocumentType,
  doc_date AS CollateralDocumentDate,
  physical_locn AS CollateralDocPhysicalLocation,
  cast( substring(doc_valid_from, 2, 8 ) as cms_dte_date ) AS ColltrlDocumentValidFromDate,
  cast( substring(doc_valid_to, 2, 8 ) as cms_dte_date ) AS CollateralDocumentValidToDate,
  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_doc
LEFT OUTER JOIN I_CollateralRealEstatePart AS _CollateralRealEstatePart ON CollateralRealEstatePartUUID = _CollateralRealEstatePart.CollateralRealEstatePartUUID  -- association [0..1]
LEFT OUTER JOIN I_CollateralDocumentType AS _ColltrlRealEstatePartDocType ON CollateralDocumentType = _ColltrlRealEstatePartDocType.CollateralDocumentType  -- association [0..1]
LEFT OUTER JOIN I_CollateralAttributeIndType AS _ColltrlREPartDocPhysicalLoc ON CollateralDocPhysicalLocation = _ColltrlREPartDocPhysicalLoc.CollateralAttributeIndType AND _ColltrlREPartDocPhysicalLoc.CollateralAttributeIndCat = 'DOC001'  -- association [0..1]
;