P_REIntegObjectOccpcyCalc3

DDL: P_REINTEGOBJECTOCCPCYCALC3 SQL: PREINTOBJOCCCAL3 Type: view COMPOSITE Package: VDM_RE_IP

Real Estate Integ Occpy Calc 3

P_REIntegObjectOccpcyCalc3 is a Composite CDS View that provides data about "Real Estate Integ Occpy Calc 3" in SAP S/4HANA. It reads from 2 data sources (P_REIntegObjectOccpcyCalc9, I_REIntegrationObject) and exposes 7 fields. Part of development package VDM_RE_IP.

Data Sources (2)

SourceAliasJoin Type
P_REIntegObjectOccpcyCalc9 _REIntegObjectOccpcyCalc inner
I_REIntegrationObject _REIntegrationObject from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PREINTOBJOCCCAL3 view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L 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
REMaxOccupancyFromDate
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_REIntegObjectOccpcyCalc3.
-- 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: PREINTOBJOCCCAL3

CREATE VIEW P_REIntegObjectOccpcyCalc3 AS
SELECT
  _REIntegrationObject.InternalRealEstateNumber AS REIntegObjectInternalNumber,
  _REIntegrationObject.REStatusObject AS REIntegObjectStatusObject,
  _REIntegrationObject.ValidityStartDate AS REIntegObjectValidityStartDate,
  dats_add_days( REMinOccupancyFromDate,-1,'UNCHANGED' ) AS REMinOccupancyFromDate,
  ' ' AS REMaxOccupancyFromDate,
  _REIntegrationObject.ValidityEndDate AS REIntegObjectValidityEndDate,
  'X' AS IsVacant
FROM I_REIntegrationObject AS _REIntegrationObject
INNER JOIN P_REIntegObjectOccpcyCalc9 AS _REIntegObjectOccpcyCalc ON /* join condition not captured in parsed metadata */
;