P_REIntegObjectOccpcyCalc5

DDL: P_REINTEGOBJECTOCCPCYCALC5 SQL: PREINTOBJOCCCAL5 Type: view COMPOSITE

P_REIntegObjectOccpcyCalc5 is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_REIntegrationObject) and exposes 7 fields.

Data Sources (1)

SourceAliasJoin Type
I_REIntegrationObject _REIntegrationObject from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PREINTOBJOCCCAL5 view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
VDM.private true view
VDM.viewType #COMPOSITE view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.preserveKey true view

Fields (7)

KeyFieldSource TableSource FieldDescription
REIntegObjectInternalNumber I_REIntegrationObject InternalRealEstateNumber RE Key
REIntegObjectStatusObject I_REIntegrationObject REStatusObject Val. Obj. No.
REIntegObjectValidityStartDate I_REIntegrationObject ValidityStartDate Validity Start Date
REMinOccupancyFromDate
REMaxOccupancyToDate
REIntegObjectValidityEndDate I_REIntegrationObject ValidityEndDate ValidTo
IsVacant

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 P_REIntegObjectOccpcyCalc5.
-- 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: PREINTOBJOCCCAL5

CREATE VIEW P_REIntegObjectOccpcyCalc5 AS
SELECT
  _REIntegrationObject.InternalRealEstateNumber AS REIntegObjectInternalNumber,
  _REIntegrationObject.REStatusObject AS REIntegObjectStatusObject,
  _REIntegrationObject.ValidityStartDate AS REIntegObjectValidityStartDate,
  '99991231' AS REMinOccupancyFromDate,
  '00000000' AS REMaxOccupancyToDate,
  _REIntegrationObject.ValidityEndDate AS REIntegObjectValidityEndDate,
  'X' AS IsVacant
FROM I_REIntegrationObject AS _REIntegrationObject
;