I_UTILITIESINSTALLATIONHIST

CDS View

Installation History

I_UTILITIESINSTALLATIONHIST is a CDS View in S/4HANA. Installation History. It contains 30 fields. 23 CDS views read from this table.

CDS Views using this table (23)

ViewTypeJoinVDMDescription
C_OutsrtdUtilsBillgMaLeApply view inner CONSUMPTION Machine Learning Apply Data for Outsorted Billing
C_OutsrtdUtilsBillgMaLeTrng view inner CONSUMPTION Machine Learning Training Data for Outsorted Billing
C_OutsrtdUtilsBillingDoc view inner CONSUMPTION Outsorted Utilities Billing Document
C_UtilsInstallationHistoryDEX view_entity from CONSUMPTION Data Extractor for Intstallation History
CRMS4_IU_I_ILNH view_entity from Utilities Installation History
I_ImplsblMtrRdngMaLrnApply view inner COMPOSITE Machine Learning Training for Implbl. Mtr. Rdng.
I_ImplsblMtrRdngMaLrnTrng view inner COMPOSITE Machine Learning Training Data for Implausible Meter Reading
I_MtrRdngUnitSchedRecdRlvt view inner COMPOSITE Relevant Meter Reading Unit Schedule Record
I_OpenUtilsBillgDocAndOrdData view inner COMPOSITE Open Utilities Billing Document and Order Data
I_SchedldRdngRelevantRegCube view inner COMPOSITE Scheduled Reading-Relevant Register Cube
I_SpprsdUtilsBillgOrdWthDets view inner COMPOSITE Suppressed Utilities Billing Order with Details
I_SuppressedUtilsBillgOrd view inner COMPOSITE Suppressed Utilities Billing Order
I_UtilitiesContractTP view_entity inner TRANSACTIONAL Utilities Contract
I_UtilsBillgDocOutsrtgChkGrp view inner COMPOSITE Outsorting Data with Current Outsorting Check Group
I_UtilsBillgDocPrevYrInvcgDoc view inner COMPOSITE Previous Year Invoicing Document for Billing Document
I_UtilsBillingOrder view inner COMPOSITE Utilities Billing Order
I_UtilsContractBlkdForBillg view inner COMPOSITE Contract Blocked For Billing
I_UtilsContractToBeBilled view inner COMPOSITE Contract To Be Billed
I_UtilsContrToBeBlldData view inner COMPOSITE Utilities Contract to Be Billed Data
I_UtilsInfoRecdHistAndInst view inner COMPOSITE Information Record History And Installation
I_UtilsInstdDvceAndInst view inner COMPOSITE Installed Device And Installation
I_UtilsInvcgDocBillingData view inner COMPOSITE Billing Data for Invoicing Document
P_ISU_EL_RATE_CATEGORY_VH_BR view from BASIC

Fields (30)

KeyField CDS FieldsUsed in Views
KEY UtilitiesInstallation UtilitiesInstallation 3
KEY UtilsInstHistValidityEndDate UtilsInstHistValidityEndDate 6
_MeterReadingUnit _MeterReadingUnit 2
_UtilitiesInstallation _UtilitiesInstallation 3
_UtilitiesRateCategory _UtilitiesRateCategory 10
_UtilsBillingClass _UtilsBillingClass 11
_UtilsDepdntValdtnGroup _UtilsDepdntValdtnGroup 2
_UtilsInstGroupRole _UtilsInstGroupRole 2
_UtilsInstGroupType _UtilsInstGroupType 2
_UtilsTemperatureArea _UtilsTemperatureArea 2
_UtilsUnbilldRevnXtrapltnType _UtilsUnbilldRevnXtrapltnType 2
HigherLevelUtilsInstallation HigherLevelUtilsInstallation 3
IndustrySector IndustrySector 2
MeterReadingUnit MeterReadingUnit 5
ObligatorySupUtilsSrvcProvider ObligatorySupUtilsSrvcProvider 3
PrimaryUtilitiesInstallation PrimaryUtilitiesInstallation 3
UnbilldRevnXtrapltnType UnbilldRevnXtrapltnType 3
UtilitiesBillingClass UtilitiesBillingClass 14
UtilitiesBillingParty UtilitiesBillingParty 3
UtilitiesBillingSchema UtilitiesBillingSchema 3
UtilitiesFranchiseContract UtilitiesFranchiseContract 3
UtilitiesInvoicingParty UtilitiesInvoicingParty 3
UtilitiesRateCategory UtilitiesRateCategory 18
UtilitiesTemperatureArea UtilitiesTemperatureArea 3
UtilsInstallationGroupRole UtilsInstallationGroupRole 3
UtilsInstallationGroupType UtilsInstallationGroupType 3
UtilsInstDvceAllctnIsNotAllwd UtilsInstDvceAllctnIsNotAllwd 3
UtilsInstHistValidityStartDate UtilsInstHistValidityStartDate 3
UtilsInstIsExmptFrmFrnchsFee UtilsInstIsExmptFrmFrnchsFee 3
UtilsRegDepdntValdtnGroup UtilsRegDepdntValdtnGroup 3
@EndUserText.label: 'Installation History'
@Analytics.dataCategory: #DIMENSION
@VDM.viewType: #BASIC
@AccessControl.authorizationCheck: #MANDATORY
@ObjectModel.representativeKey: 'UtilitiesInstallation'
@AbapCatalog.sqlViewName: 'IEINSTHISTORY'
//@AbapCatalog.preserveKey: true

@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.dataClass: #MASTER
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations:true
@ObjectModel.supportedCapabilities: [#SQL_DATA_SOURCE, #ANALYTICAL_DIMENSION, #ANALYTICAL_PROVIDER, #CDS_MODELING_ASSOCIATION_TARGET, #CDS_MODELING_DATA_SOURCE ]
@AbapCatalog.compiler.compareFilter:true
@Metadata.allowExtensions:true
@ObjectModel.modelingPattern: #ANALYTICAL_DIMENSION

define view I_UtilitiesInstallationHist
  as select from eanlh
  association [1..1] to I_UtilitiesInstallation        as _UtilitiesInstallation        on $projection.UtilitiesInstallation = _UtilitiesInstallation.UtilitiesInstallation

  association [0..1] to I_UtilsDepdntValdtnGroup       as _UtilsDepdntValdtnGroup       on $projection.UtilsRegDepdntValdtnGroup = _UtilsDepdntValdtnGroup.UtilsRegDepdntValdtnGroup
  association [0..1] to I_UtilsUnbilldRevnXtrapltnType as _UtilsUnbilldRevnXtrapltnType on $projection.UnbilldRevnXtrapltnType = _UtilsUnbilldRevnXtrapltnType.UnbilldRevnXtrapltnType
  association [0..1] to I_UtilsInstGroupType           as _UtilsInstGroupType           on $projection.UtilsInstallationGroupType = _UtilsInstGroupType.UtilsInstallationGroupType
  association [0..1] to I_UtilsInstGroupRole           as _UtilsInstGroupRole           on $projection.UtilsInstallationGroupRole = _UtilsInstGroupRole.UtilsInstallationGroupRole
  association [0..1] to I_UtilsTemperatureArea         as _UtilsTemperatureArea         on $projection.UtilitiesTemperatureArea = _UtilsTemperatureArea.UtilitiesTemperatureArea
  association [0..1] to I_UtilsBillingClass            as _UtilsBillingClass            on $projection.UtilitiesBillingClass = _UtilsBillingClass.UtilitiesBillingClass
  //association [0..1] to I_Industries  as _Industries on $projection.IndustrySector = _Industries.IndustrySector

  association [1..1] to I_UtilitiesRateCategory        as _UtilitiesRateCategory        on $projection.UtilitiesRateCategory = _UtilitiesRateCategory.UtilitiesRateCategory
  association [1..1] to I_MeterReadingUnit             as _MeterReadingUnit             on $projection.MeterReadingUnit = _MeterReadingUnit.MeterReadingUnit
{
  key eanlh.anlage                                            as UtilitiesInstallation,
      @Semantics.businessDate.to: true
  key cast(eanlh.bis as e_inst_end_vdm preserving type)       as UtilsInstHistValidityEndDate,
      @Semantics.businessDate.from: true
      cast(eanlh.ab  as e_inst_start_vdm preserving type)     as UtilsInstHistValidityStartDate,
      //    key eanlh.anlage as UtilitiesInstallation,

      //    @Semantics.businessDate.to: true

      //    key eanlh.bis                                      as UtilsInstHistValidityEndDate,

      //        @Semantics.businessDate.from: true

      //        eanlh.ab                                       as UtilsInstHistValidityStartDate,

      @ObjectModel.foreignKey.association: '_UtilitiesRateCategory'
      eanlh.tariftyp                                          as UtilitiesRateCategory,
      eanlh.schemanr                                          as UtilitiesBillingSchema,
      @ObjectModel.foreignKey.association: '_UtilsBillingClass'
      eanlh.aklasse                                           as UtilitiesBillingClass,
      @ObjectModel.foreignKey.association: '_MeterReadingUnit'
      eanlh.ableinh                                           as MeterReadingUnit,
      @ObjectModel.foreignKey.association: '_UtilsTemperatureArea'
      eanlh.temp_area                                         as UtilitiesTemperatureArea,
      @Semantics.booleanIndicator: true
      eanlh.konzbefr                                          as UtilsInstIsExmptFrmFrnchsFee,
      @Semantics.booleanIndicator: true
      eanlh.pauschal                                          as UtilsInstDvceAllctnIsNotAllwd,
      eanlh.konzver                                           as UtilitiesFranchiseContract,
      eanlh.billing_party                                     as UtilitiesBillingParty,
      eanlh.invoicing_party                                   as UtilitiesInvoicingParty,
      eanlh.prov_last_res                                     as ObligatorySupUtilsSrvcProvider,
      eanlh.maininst                                          as PrimaryUtilitiesInstallation,
      @ObjectModel.foreignKey.association: '_UtilsInstGroupRole'
      eanlh.instrole                                          as UtilsInstallationGroupRole,
      @ObjectModel.foreignKey.association: '_UtilsInstGroupType'
      eanlh.instgrtype                                        as UtilsInstallationGroupType,
      eanlh.highlevinst                                       as HigherLevelUtilsInstallation,
      @ObjectModel.foreignKey.association: '_UtilsUnbilldRevnXtrapltnType'
      eanlh.hochart                                           as UnbilldRevnXtrapltnType,
      @ObjectModel.foreignKey.association: '_UtilsDepdntValdtnGroup'
      eanlh.pruefgr                                           as UtilsRegDepdntValdtnGroup,
      cast ( eanlh.branche as bu_ind_sector preserving type ) as IndustrySector,

      _UtilsDepdntValdtnGroup,
      _UtilsUnbilldRevnXtrapltnType,
      _UtilsInstGroupType,
      _UtilsInstGroupRole,
      _UtilsTemperatureArea,
      _UtilsBillingClass,
      _UtilitiesInstallation,
      //    _Industries

      _UtilitiesRateCategory,
      _MeterReadingUnit

}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"EANLH"
],
"ASSOCIATED":
[
"I_METERREADINGUNIT",
"I_UTILITIESINSTALLATION",
"I_UTILITIESRATECATEGORY",
"I_UTILSBILLINGCLASS",
"I_UTILSDEPDNTVALDTNGROUP",
"I_UTILSINSTGROUPROLE",
"I_UTILSINSTGROUPTYPE",
"I_UTILSTEMPERATUREAREA",
"I_UTILSUNBILLDREVNXTRAPLTNTYPE"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/