P_REINTEGOBJECTVALIDITYCALC1
P_REINTEGOBJECTVALIDITYCALC1 is a CDS View in S/4HANA. 1 CDS views read from this table.
CDS Views using this table (1)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| P_REIntegObjectValidityCalc2 | view | from | COMPOSITE |
@AbapCatalog.sqlViewName: 'PREINTOBJVALC1'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
//@EndUserText.label: 'Real Estate Integ Validity Calc1'
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #L
@VDM.private: true
@VDM.viewType: #COMPOSITE
@ClientHandling.algorithm: #SESSION_VARIABLE
@AbapCatalog.preserveKey:true
define view P_REIntegObjectValidityCalc1
as select from I_REIntegrationObjectTimeline as _REIntegrationObjectTimeline
inner join I_REIntegrationObjectBasicData as _REIntegrationObject on _REIntegrationObjectTimeline.InternalRealEstateNumber = _REIntegrationObject.InternalRealEstateNumber
{
key _REIntegrationObjectTimeline.InternalRealEstateNumber,
_REIntegrationObject.RealEstateExternalID,
REIntegrationObjectIsActive,
min(_REIntegrationObjectTimeline.ValidityStartDate) as ValidityStartDate,
max(_REIntegrationObjectTimeline.ValidityEndDate) as ValidityEndDate
}
group by
_REIntegrationObjectTimeline.InternalRealEstateNumber,
_REIntegrationObject.RealEstateExternalID,
_REIntegrationObjectTimeline.REIntegrationObjectIsActive
having
REIntegrationObjectIsActive = 'X'