I_UTILITIESCONTRACT
Contract
I_UTILITIESCONTRACT is a CDS View in S/4HANA. Contract. It contains 49 fields. 33 CDS views read from this table.
CDS Views using this table (33)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| C_OutsrtdUtilsBillgMaLeApply | view | inner | CONSUMPTION | Machine Learning Apply Data for Outsorted Billing |
| C_OutsrtdUtilsBillgMaLeTrng | view | inner | CONSUMPTION | Machine Learning Training Data for Outsorted Billing |
| CRMS4_IU_I_UTCT | view | from | Utilities Contract | |
| CRMS4_IU_P_CNTBPC | view | left_outer | Business partner ISU-Contracts count | |
| CRMS4_IU_P_PODBP | view | inner | Point of Delivery by Business Partner | |
| CRMS4_IU_P_PRMBP | view | inner | Premise by Business Partner | |
| I_BR_McgnAllEngyAccountC | view | inner | COMPOSITE | Energy Account of Microgen - Cube |
| I_BR_McgnEngyExpryCube | view | inner | COMPOSITE | Expired Energy Information |
| I_NonBllbleUtilsBillgOrderCntr | view | inner | COMPOSITE | Non-Billable Billing Order Counter |
| I_OpenUtilsBillgDocAndOrdData | view | inner | COMPOSITE | Open Utilities Billing Document and Order Data |
| I_SpprsdUtilsBillgOrdWthDets | view | inner | COMPOSITE | Suppressed Utilities Billing Order with Details |
| I_SuppressedUtilsBillgOrd | view | inner | COMPOSITE | Suppressed Utilities Billing Order |
| I_UtilitiesContractTP | view_entity | from | TRANSACTIONAL | Utilities Contract |
| I_UtilitiesContractVH | view | from | COMPOSITE | Contract Value Help |
| I_UtilitiesLossContractVH | view | from | BASIC | ISU BR Engy Loss Contract |
| I_UtilsBillgDocIntAndExtPoD | view | inner | COMPOSITE | Internal and External Point of Delivery for Billing Document |
| 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_UtilsBillgOrderForContract | view | inner | COMPOSITE | Billing Order For Contract |
| I_UtilsBillingOrder | view | inner | COMPOSITE | Utilities Billing Order |
| I_UtilsContrAcctInvcgOrderCntr | view | inner | COMPOSITE | Number of Invoicing Orders for Contract Account |
| I_UtilsContractBlkdForBillg | view | from | COMPOSITE | Contract Blocked For Billing |
| I_UtilsContractBlkdForBillg | view | union_all | COMPOSITE | Contract Blocked For Billing |
| I_UtilsContractKeyDateAnalysis | view | from | COMPOSITE | Key Date-Based Utilities Contract Analysis |
| I_UtilsContractKeyDateAnalysis | view | union_all | COMPOSITE | Key Date-Based Utilities Contract Analysis |
| I_UtilsContractProductChanges | view | from | COMPOSITE | Utilities Contract Product Changes |
| I_UtilsContractToBeBilled | view | inner | COMPOSITE | Contract To Be Billed |
| I_UtilsContrToBeBlldData | view | from | COMPOSITE | Utilities Contract to Be Billed Data |
| I_UtilsContrToBeBlldData | view | union_all | COMPOSITE | Utilities Contract to Be Billed Data |
| I_UtilsInvcgDocBillingData | view | inner | COMPOSITE | Billing Data for Invoicing Document |
| P_ISU_CSML_CONTRACTVH_BR | view | from | BASIC | |
| P_ISU_CSML_INSTALLATIONVH_BR | view | from | COMPOSITE | |
| P_SuppressedUtilsBillingOrder | view | inner | COMPOSITE |
Fields (49)
| Key | Field | CDS Fields | Used in Views |
|---|---|---|---|
| KEY | ContractAccount | ContractAccount | 7 |
| KEY | UtilitiesContract | UtilitiesContract | 17 |
| KEY | UtilitiesInstallation | MicrogenInstallation,UtilitiesInstallation | 12 |
| _CADunningProcedure | _CADunningProcedure | 3 | |
| _CompanyCode | _CompanyCode | 10 | |
| _CreatedByUser | _CreatedByUser | 1 | |
| _Division | _Division | 10 | |
| _InvcUtilsContractsJointly | _InvcUtilsContractsJointly | 6 | |
| _LastChangedByUser | _LastChangedByUser | 1 | |
| _UtilitiesContractHistory | _UtilitiesContractHistory | 2 | |
| _UtilitiesInstallation | _UtilitiesInstallation | 7 | |
| _UtilitiesPortion | _UtilitiesPortion | 1 | |
| _UtilitiesServiceProvider | _UtilitiesServiceProvider | 3 | |
| _UtilsAccountDetnCode | _UtilsAccountDetnCode | 9 | |
| _UtilsBillgBlockReason | _UtilsBillgBlockReason | 8 | |
| _UtilsBillgOutsortingGroup | _UtilsBillgOutsortingGroup | 4 | |
| _UtilsBillgUnblockReason | _UtilsBillgUnblockReason | 8 | |
| _UtilsContrProcessingStatus | _UtilsContrProcessingStatus | 3 | |
| _UtilsContrSpcfcBdgtBillgCyc | _UtilsContrSpcfcBdgtBillgCyc | 4 | |
| _UtilsOutsrtgChkGrpBillg | _UtilsOutsrtgChkGrpBillg | 2 | |
| _UtilsPlantOrCompanyCnsmpn | _UtilsPlantOrCompanyCnsmpn | 3 | |
| AlternativeUtilitiesPortion | AlternativeUtilitiesPortion | 4 | |
| AuthorizationGroup | AuthorizationGroup | 14 | |
| CADunningProcedure | CADunningProcedure | 5 | |
| CompanyCode | CompanyCode | 14 | |
| DeletionIndicator | DeletionIndicator | 4 | |
| LastUtilitiesPortion | LastUtilitiesPortion | 2 | |
| UtilitiesAccountDetnCode | UtilitiesAccountDetnCode | 11 | |
| UtilitiesContractCanclnDate | UtilitiesContractCanclnDate | 5 | |
| UtilitiesContractDescription | UtilitiesContractDescription | 3 | |
| UtilitiesContractRenewalDate | UtilitiesContractRenewalDate | 5 | |
| UtilitiesDivision | Division,UtilitiesDivision | 14 | |
| UtilitiesMoveInDate | UtilitiesMoveInDate | 14 | |
| UtilitiesMoveOutDate | UtilitiesMoveOutDate | 14 | |
| UtilitiesServiceProvider | UtilitiesServiceProvider | 5 | |
| UtilsBillgBlockReason | UtilsBillgBlockReason | 11 | |
| UtilsBillgOutsortingReason | UtilsBillgOutsortingReason | 6 | |
| UtilsBillgUnblockReason | UtilsBillgUnblockReason | 10 | |
| UtilsContractCreatedByUser | UtilsContractCreatedByUser | 5 | |
| UtilsContractCreationDate | UtilsContractCreationDate | 5 | |
| UtilsContractLastChangeDate | UtilsContractLastChangeDate | 5 | |
| UtilsContractLastChangedByUser | UtilsContractLastChangedByUser | 4 | |
| UtilsContractProcessingSts | UtilsContractProcessingSts | 5 | |
| UtilsContrIsBilledManually | UtilsContrIsBilledManually | 6 | |
| UtilsContrIsFinallyBilled | UtilsContrIsFinallyBilled | 3 | |
| UtilsContrJointInvcType | UtilsContrJointInvcType | 8 | |
| UtilsContrSpcfcBdgtBillgCycle | UtilsContrSpcfcBdgtBillgCycle | 6 | |
| UtilsOutsrtgCheckGrpForBillg | UtilsOutsrtgCheckGrpForBillg | 4 | |
| UtilsPlantOrCompanyConsumption | UtilsPlantOrCompanyConsumption | 5 |
@EndUserText.label: 'Contract'
@Analytics.dataCategory: #DIMENSION
@VDM.viewType: #BASIC
@AbapCatalog.sqlViewName: 'IEUTILSCONTRACT'
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@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'
@ObjectModel.modelingPattern: #ANALYTICAL_DIMENSION
//Privileged associations specified
@AccessControl.privilegedAssociations: [ '_CreatedByUser', '_LastChangedByUser' ]
@Metadata.allowExtensions: true
define view I_UtilitiesContract
as select from ever
association [0..1] to I_CompanyCode as _CompanyCode on $projection.CompanyCode = _CompanyCode.CompanyCode
association [0..1] to I_Division as _Division on $projection.UtilitiesDivision = _Division.Division
association [0..1] to I_UtilsBillgBlockReason as _UtilsBillgBlockReason on $projection.UtilsBillgBlockReason = _UtilsBillgBlockReason.UtilsBillgBlockReason
association [0..1] to I_UtilsBillgUnblockReason as _UtilsBillgUnblockReason on $projection.UtilsBillgUnblockReason = _UtilsBillgUnblockReason.UtilsBillgUnblockReason
association [0..1] to I_UtilitiesPortion as _UtilitiesPortion on $projection.AlternativeUtilitiesPortion = _UtilitiesPortion.UtilitiesPortion
association [1..1] to I_User as _CreatedByUser on $projection.UtilsContractCreatedByUser = _CreatedByUser.UserID
association [0..1] to I_User as _LastChangedByUser on $projection.UtilsContractLastChangedByUser = _LastChangedByUser.UserID
association [0..1] to I_UtilitiesInstallation as _UtilitiesInstallation on $projection.UtilitiesInstallation = _UtilitiesInstallation.UtilitiesInstallation
association [0..1] to I_UtilsOutsrtgChkGrpBillg as _UtilsOutsrtgChkGrpBillg on $projection.UtilsOutsrtgCheckGrpForBillg = _UtilsOutsrtgChkGrpBillg.UtilsOutsrtgCheckGrpForBillg
association [1..1] to I_UtilsContrSpcfcBdgtBillgCyc as _UtilsContrSpcfcBdgtBillgCyc on $projection.UtilsContrSpcfcBdgtBillgCycle = _UtilsContrSpcfcBdgtBillgCyc.UtilsContrSpcfcBdgtBillgCycle
association [0..1] to I_UtilsAccountDetnCode as _UtilsAccountDetnCode on $projection.UtilitiesAccountDetnCode = _UtilsAccountDetnCode.UtilitiesAccountDetnCode
and $projection.UtilitiesDivision = _UtilsAccountDetnCode.Division
and $projection.CompanyCode = _UtilsAccountDetnCode.CompanyCode
association [0..1] to I_UtilsPlantOrCompanyCnsmpn as _UtilsPlantOrCompanyCnsmpn on $projection.UtilsPlantOrCompanyConsumption = _UtilsPlantOrCompanyCnsmpn.UtilsPlantOrCompanyConsumption
association [0..1] to I_InvcUtilsContractsJointly as _InvcUtilsContractsJointly on $projection.UtilsContrJointInvcType = _InvcUtilsContractsJointly.UtilsContrJointInvcType
association [0..1] to I_UtilsContrProcessingStatus as _UtilsContrProcessingStatus on $projection.UtilsContractProcessingSts = _UtilsContrProcessingStatus.UtilsContractProcessingSts
association [0..1] to I_UtilitiesServiceProvider as _UtilitiesServiceProvider on $projection.UtilitiesServiceProvider = _UtilitiesServiceProvider.UtilitiesServiceProvider
association [0..1] to I_UtilsBillgOutsortingGroup as _UtilsBillgOutsortingGroup on $projection.UtilsBillgOutsortingReason = _UtilsBillgOutsortingGroup.UtilsBillgOutsortingReason
association [0..1] to I_CADunningProcedure as _CADunningProcedure on $projection.CADunningProcedure = _CADunningProcedure.CADunningProcedure
association [1..*] to I_UtilitiesContractHistory as _UtilitiesContractHistory on $projection.UtilitiesContract = _UtilitiesContractHistory.UtilitiesContract
association [0..1] to I_UtilitiesPortion as _LastUtilitiesPortion on $projection.LastUtilitiesPortion = _LastUtilitiesPortion.UtilitiesPortion
{
key ever.vertrag as UtilitiesContract,
@ObjectModel.foreignKey.association: '_CompanyCode'
ever.bukrs as CompanyCode,
@ObjectModel.foreignKey.association: '_Division'
ever.sparte as UtilitiesDivision,
@ObjectModel.foreignKey.association:'_UtilitiesPortion'
ever.portion as AlternativeUtilitiesPortion,
cast(ever.manabr as e_contrisblldmnlly_vdm preserving type ) as UtilsContrIsBilledManually,
@ObjectModel.foreignKey.association: '_UtilsBillgBlockReason'
cast(ever.abrsperr as e_billgblockreason_vdm preserving type ) as UtilsBillgBlockReason,
@ObjectModel.foreignKey.association:'_UtilsBillgUnblockReason'
cast(ever.abrfreig as e_billgunblockreason_vdm preserving type ) as UtilsBillgUnblockReason,
@ObjectModel.foreignKey.association: '_UtilitiesInstallation'
ever.anlage as UtilitiesInstallation,
ever.vkonto as ContractAccount,
cast(ever.einzdat as e_einzdat_vdm preserving type) as UtilitiesMoveInDate,
cast(ever.auszdat as e_ausdat_vdm preserving type) as UtilitiesMoveOutDate,
@Semantics.systemDate.createdAt: true
ever.erdat as UtilsContractCreationDate,
@Semantics.user.createdBy: true
ever.ernam as UtilsContractCreatedByUser,
@Semantics.systemDate.lastChangedAt: true
ever.aedat as UtilsContractLastChangeDate,
@Semantics.user.lastChangedBy: true
ever.aenam as UtilsContractLastChangedByUser,
@Semantics.booleanIndicator
ever.billfinit as UtilsContrIsFinallyBilled,
@ObjectModel.foreignKey.association: '_UtilsPlantOrCompanyCnsmpn'
ever.eigenverbr as UtilsPlantOrCompanyConsumption,
@ObjectModel.foreignKey.association: '_InvcUtilsContractsJointly'
cast(ever.gemfakt as e_gemfakt_vdm preserving type) as UtilsContrJointInvcType,
ever.kuenddat as UtilitiesContractCanclnDate,
ever.vbisdat as UtilitiesContractRenewalDate,
@ObjectModel.foreignKey.association: '_CADunningProcedure'
ever.mahnv as CADunningProcedure,
@ObjectModel.foreignKey.association: '_UtilitiesServiceProvider'
ever.serviceid as UtilitiesServiceProvider,
@ObjectModel.foreignKey.association: '_UtilsContrProcessingStatus'
cast(ever.bstatus as e_bearkz_vdm preserving type ) as UtilsContractProcessingSts,
ever.begru as AuthorizationGroup,
ever.loevm as DeletionIndicator,
@ObjectModel.foreignKey.association: '_UtilsOutsrtgChkGrpBillg'
ever.ausgrup as UtilsOutsrtgCheckGrpForBillg,
ever.vbez as UtilitiesContractDescription,
@ObjectModel.foreignKey.association: '_UtilsAccountDetnCode'
cast(ever.kofiz as e_kofiz_vdm preserving type ) as UtilitiesAccountDetnCode,
@ObjectModel.foreignKey.association: '_UtilsContrSpcfcBdgtBillgCyc'
cast(ever.abszyk as e_abszykv_vdm preserving type ) as UtilsContrSpcfcBdgtBillgCycle,
@ObjectModel.foreignKey.association: '_UtilsBillgOutsortingGroup'
cast(ever.manoutsort as e_manoutsort_vdm preserving type) as UtilsBillgOutsortingReason,
@ObjectModel.foreignKey.association:'_LastUtilitiesPortion'
ever.lastportion as LastUtilitiesPortion,
/* Associations */
_Division,
_CompanyCode,
_UtilsBillgBlockReason,
_UtilsBillgUnblockReason,
_CreatedByUser,
_LastChangedByUser,
_UtilitiesPortion,
_UtilitiesInstallation,
_UtilsOutsrtgChkGrpBillg,
_UtilsContrSpcfcBdgtBillgCyc,
_UtilsAccountDetnCode,
_UtilsPlantOrCompanyCnsmpn,
_InvcUtilsContractsJointly,
_UtilsContrProcessingStatus,
_UtilsBillgOutsortingGroup,
_UtilitiesServiceProvider,
_CADunningProcedure,
_UtilitiesContractHistory,
_LastUtilitiesPortion
};
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"EVER"
],
"ASSOCIATED":
[
"I_CADUNNINGPROCEDURE",
"I_COMPANYCODE",
"I_DIVISION",
"I_INVCUTILSCONTRACTSJOINTLY",
"I_USER",
"I_UTILITIESCONTRACTHISTORY",
"I_UTILITIESINSTALLATION",
"I_UTILITIESPORTION",
"I_UTILITIESSERVICEPROVIDER",
"I_UTILSACCOUNTDETNCODE",
"I_UTILSBILLGBLOCKREASON",
"I_UTILSBILLGOUTSORTINGGROUP",
"I_UTILSBILLGUNBLOCKREASON",
"I_UTILSCONTRPROCESSINGSTATUS",
"I_UTILSCONTRSPCFCBDGTBILLGCYC",
"I_UTILSOUTSRTGCHKGRPBILLG",
"I_UTILSPLANTORCOMPANYCNSMPN"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/