P_REINTEGOBJECTVALIDITYCALC1

CDS View

P_REINTEGOBJECTVALIDITYCALC1 is a CDS View in S/4HANA. 1 CDS views read from this table.

CDS Views using this table (1)

ViewTypeJoinVDMDescription
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'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_REINTEGRATIONOBJECTBASICDATA",
"I_REINTEGRATIONOBJECTTIMELINE"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/