P_REIntegObjectValidityCalc2
P_REIntegObjectValidityCalc2 is a Composite CDS View in SAP S/4HANA. It reads from 2 data sources (I_REIntegrationObjectBasicData, P_REIntegObjectValidityCalc1) and exposes 7 fields with key field InternalRealEstateNumber.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_REIntegrationObjectBasicData | _REIntegrationObject | union |
| P_REIntegObjectValidityCalc1 | P_REIntegObjectValidityCalc1 | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PREINTOBJVALC2 | 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | InternalRealEstateNumber | InternalRealEstateNumber | ||
| RealEstateExternalID | RealEstateExternalID | |||
| ValidityStartDate | ValidityStartDate | |||
| InternalRealEstateNumber | ||||
| RealEstateExternalID | I_REIntegrationObjectBasicData | RealEstateExternalID | ||
| ValidityStartDate | ||||
| ValidityEndDate |
@AbapCatalog.sqlViewName: 'PREINTOBJVALC2'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
//@EndUserText.label: 'Real Estate Integ Validity Calc2'
@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_REIntegObjectValidityCalc2
as select from P_REIntegObjectValidityCalc1
{
key InternalRealEstateNumber,
RealEstateExternalID,
ValidityStartDate,
ValidityEndDate
}
union select from I_REIntegrationObjectBasicData as _REIntegrationObject
left outer to one join P_REIntegObjectValidityCalc1 as _REIntegObjectValidityCalc1 on _REIntegrationObject.InternalRealEstateNumber = _REIntegObjectValidityCalc1.InternalRealEstateNumber
{
key _REIntegrationObject.InternalRealEstateNumber,
_REIntegrationObject.RealEstateExternalID,
'00000000' as ValidityStartDate,
'99991231' as ValidityEndDate
}
where
_REIntegObjectValidityCalc1.InternalRealEstateNumber is null
and _REIntegrationObject.REIntegrationObjectType <> 'C4SG'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_REINTEGRATIONOBJECTBASICDATA",
"P_REINTEGOBJECTVALIDITYCALC1"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA