P_REIntegObjectOccpcyCalc9

DDL: P_REINTEGOBJECTOCCPCYCALC9 SQL: PREINTOBJOCCCAL9 Type: view COMPOSITE

P_REIntegObjectOccpcyCalc9 is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_REIntegObjectOccpcyCalc1) and exposes 6 fields.

Data Sources (1)

SourceAliasJoin Type
P_REIntegObjectOccpcyCalc1 P_REIntegObjectOccpcyCalc1 from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PREINTOBJOCCCAL9 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 (6)

KeyFieldSource TableSource FieldDescription
REIntegObjectInternalNumber REIntegObjectInternalNumber RE Key
REIntegObjectStatusObject REIntegObjectStatusObject Val. Obj. No.
REIntegObjectValidityStartDate REIntegObjectValidityStartDate Validity Start Date
REIntegObjectValidityEndDate REIntegObjectValidityEndDate ValidTo
REMinOccupancyFromDate
REMaxOccupancyToDate

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_REIntegObjectOccpcyCalc9.
-- 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: PREINTOBJOCCCAL9

CREATE VIEW P_REIntegObjectOccpcyCalc9 AS
SELECT
  REIntegObjectInternalNumber,
  REIntegObjectStatusObject,
  REIntegObjectValidityStartDate,
  REIntegObjectValidityEndDate,
  min(REOccupancyFromDate) AS REMinOccupancyFromDate,
  max(REOccupancyToDate) AS REMaxOccupancyToDate
FROM P_REIntegObjectOccpcyCalc1
;