I_UtilitiesContractHistory

DDL: I_UTILITIESCONTRACTHISTORY SQL: IEUTILSCONTHIST Type: view BASIC

Utilities Contract History

I_UtilitiesContractHistory is a Basic CDS View (Dimension) that provides data about "Utilities Contract History" in SAP S/4HANA. It reads from 1 data source (everh) and exposes 16 fields with key fields UtilitiesContract, UtilsContractValidityEndDate, UtilitiesFourDigitNumber. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
everh everh from

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_UtilitiesInstallation _UtilitiesInstallation $projection.UtilitiesInstallation = _UtilitiesInstallation.UtilitiesInstallation
[0..1] I_UtilitiesContract _UtilsMstrAgrmtForIndivContr $projection.UtilsMstrAgrmtForIndivContract = _UtilsMstrAgrmtForIndivContr.UtilitiesContract
[1..1] I_UtilitiesContract _UtilitiesContract $projection.UtilitiesContract = _UtilitiesContract.UtilitiesContract
[1..1] I_UtilsContrHistFourDigitNmbr _UtilsContrHistFourDigitNmbr $projection.UtilitiesFourDigitNumber = _UtilsContrHistFourDigitNmbr.UtilitiesFourDigitNumber

Annotations (14)

NameValueLevelField
EndUserText.label Utilities Contract History view
Analytics.dataCategory #DIMENSION view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IEUTILSCONTHIST view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
AbapCatalog.compiler.compareFilter true view
ObjectModel.representativeKey UtilitiesContract view
Metadata.allowExtensions true view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY UtilitiesContract everh vertrag
KEY UtilsContractValidityEndDate everh bis
KEY UtilitiesFourDigitNumber everh num
UtilsContractValidityStartDate everh ab
UtilitiesInstallation everh anlage
UtilitiesProduct everh crm_product
UtilsTransNumberInCRMDocument everh crm_object_id
UtilsItemNumberInCRMDocument everh crm_object_pos
UtilsMarketingCampaignEndDate everh campaign_to_date
DeletionIndicator everh loevm
UtilsMstrAgrmtForIndivContract everh oucontract
UtilitiesContractDescription everh crm_item_descr
_UtilitiesInstallation _UtilitiesInstallation
_UtilsMstrAgrmtForIndivContr _UtilsMstrAgrmtForIndivContr
_UtilitiesContract _UtilitiesContract
_UtilsContrHistFourDigitNmbr _UtilsContrHistFourDigitNmbr
@EndUserText.label: 'Utilities Contract History'
@Analytics.dataCategory: #DIMENSION
@VDM.viewType: #BASIC
@AbapCatalog.sqlViewName: 'IEUTILSCONTHIST'
@AccessControl.authorizationCheck: #MANDATORY
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #XL
@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
@ObjectModel.representativeKey:'UtilitiesContract'
@Metadata.allowExtensions:true
//@AbapCatalog.preserveKey:true

@ObjectModel.modelingPattern: #ANALYTICAL_DIMENSION

define view I_UtilitiesContractHistory
  as select from everh
  association [0..1] to I_UtilitiesInstallation       as _UtilitiesInstallation       on $projection.UtilitiesInstallation = _UtilitiesInstallation.UtilitiesInstallation
  //association [0..1] to I_UtilitiesContract           as _UtilitiesContract           on $projection.UtilsMstrAgrmtForIndivContract = _UtilitiesContract.UtilitiesContract

  association [0..1] to I_UtilitiesContract           as _UtilsMstrAgrmtForIndivContr on $projection.UtilsMstrAgrmtForIndivContract = _UtilsMstrAgrmtForIndivContr.UtilitiesContract
  association [1..1] to I_UtilitiesContract           as _UtilitiesContract           on $projection.UtilitiesContract = _UtilitiesContract.UtilitiesContract
  association [1..1] to I_UtilsContrHistFourDigitNmbr as _UtilsContrHistFourDigitNmbr on $projection.UtilitiesFourDigitNumber = _UtilsContrHistFourDigitNmbr.UtilitiesFourDigitNumber
{

  key everh.vertrag          as UtilitiesContract,

      @Semantics.businessDate.to: true
  key everh.bis              as UtilsContractValidityEndDate,

      @ObjectModel.foreignKey.association: '_UtilsContrHistFourDigitNmbr'
  key everh.num              as UtilitiesFourDigitNumber,

      @Semantics.businessDate.from: true
      everh.ab               as UtilsContractValidityStartDate,

      @ObjectModel.foreignKey.association: '_UtilitiesInstallation'
      everh.anlage           as UtilitiesInstallation,

      everh.crm_product      as UtilitiesProduct,

      everh.crm_object_id    as UtilsTransNumberInCRMDocument,

      everh.crm_object_pos   as UtilsItemNumberInCRMDocument,

      //      everh.campaign         as UtilitiesMarketingCampaign,


      //      @Semantics.businessDate.to: true

      everh.campaign_to_date as UtilsMarketingCampaignEndDate,

      everh.loevm            as DeletionIndicator,

      //@ObjectModel.foreignKey.association: '_UtilitiesContract'

      @ObjectModel.foreignKey.association: '_UtilsMstrAgrmtForIndivContr'
      everh.oucontract       as UtilsMstrAgrmtForIndivContract,

      everh.crm_item_descr   as UtilitiesContractDescription,


      /* Associations */
      _UtilitiesInstallation,
      _UtilsMstrAgrmtForIndivContr,
      _UtilitiesContract,
      _UtilsContrHistFourDigitNmbr
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"EVERH"
],
"ASSOCIATED":
[
"I_UTILITIESCONTRACT",
"I_UTILITIESINSTALLATION",
"I_UTILSCONTRHISTFOURDIGITNMBR"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/