I_ReversedUtilsBillingDocument
Reversed Billing Document
I_ReversedUtilsBillingDocument is a Composite CDS View (Cube) that provides data about "Reversed Billing Document" in SAP S/4HANA. It reads from 1 data source (I_UtilitiesBillingDocument) and exposes 40 fields with key field UtilitiesBillingDocument.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_UtilitiesBillingDocument | _UtilitiesBillingDocument | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Reversed Billing Document | view | |
| Analytics.dataCategory | #CUBE | view | |
| VDM.viewType | #COMPOSITE | view | |
| AbapCatalog.sqlViewName | IERVSDBILLGDOC | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.representativeKey | UtilitiesBillingDocument | view | |
| Metadata.allowExtensions | true | view |
Fields (40)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | UtilitiesBillingDocument | UtilitiesBillingDocument | ||
| CompanyCode | CompanyCode | |||
| BusinessPartner | BusinessPartner | |||
| ContractAccount | ContractAccount | |||
| UtilitiesContract | UtilitiesContract | |||
| UtilsBusTransactionType | UtilsBusTransactionType | |||
| UtilitiesBillingReason | UtilitiesBillingReason | |||
| UtilsBillgPeriodStartDate | UtilsBillgPeriodStartDate | |||
| UtilsBillgPeriodEndDate | UtilsBillgPeriodEndDate | |||
| Division | Division | |||
| UtilsBillgSimulationReason | UtilsBillgSimulationReason | |||
| UtilsBillgDocIsNotReleased | UtilsBillgDocIsNotReleased | |||
| UtilsBillgDocReversalDate | UtilsBillgDocReversalDate | |||
| UtilsBillgDocReversalRsn | UtilsBillgDocReversalRsn | |||
| UtilsBillgPeriodAllocationDate | UtilsBillgPeriodAllocationDate | |||
| UtilitiesPortion | UtilitiesPortion | |||
| ScheduledUtilitiesBillingDate | ScheduledUtilitiesBillingDate | |||
| MeterReadingUnit | MeterReadingUnit | |||
| ScheduledMeterReadingDate | ScheduledMeterReadingDate | |||
| ManualUtilsBillgDocCrtnRsn | ManualUtilsBillgDocCrtnRsn | |||
| MnlUtilsBillgDocIsReldForInvcg | MnlUtilsBillgDocIsReldForInvcg | |||
| UtilitiesBillingRun | UtilitiesBillingRun | |||
| UtilsBillgDocCreationDate | UtilsBillgDocCreationDate | |||
| UtilsBillgDocCreatedByUser | UtilsBillgDocCreatedByUser | |||
| UtilsBillgDocLastChangeDate | UtilsBillgDocLastChangeDate | |||
| UtilsBillgDocLastChangedByUser | UtilsBillgDocLastChangedByUser | |||
| AuthorizationGroup | AuthorizationGroup | |||
| NmbrOfReversedUtilsBillgDocs | ||||
| _UtilitiesBillingReason | _UtilitiesBillingReason | |||
| _UtilsBillgDocSimulationRsn | _UtilsBillgDocSimulationRsn | |||
| _ManualUtilsBillgDocCrtnRsn | _ManualUtilsBillgDocCrtnRsn | |||
| _Division | _Division | |||
| _CompanyCode | _CompanyCode | |||
| _UtilsBillingDocReversalRsn | _UtilsBillingDocReversalRsn | |||
| _UtilitiesPortion | _UtilitiesPortion | |||
| _MeterReadingUnit | _MeterReadingUnit | |||
| _BusinessPartner | _BusinessPartner | |||
| _UtilitiesContract | _UtilitiesContract | |||
| _CreatedByUser | _CreatedByUser | |||
| _LastChangedByUser | _LastChangedByUser |
@EndUserText.label: 'Reversed Billing Document'
@Analytics.dataCategory: #CUBE
@VDM.viewType: #COMPOSITE
@AbapCatalog.sqlViewName: 'IERVSDBILLGDOC'
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #('TRANSACTIONAL_DATA')
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #XXL
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.representativeKey: 'UtilitiesBillingDocument'
@AccessControl.privilegedAssociations: [ '_CreatedByUser', '_LastChangedByUser' ]
@Metadata.allowExtensions: true
define view I_ReversedUtilsBillingDocument
as select from I_UtilitiesBillingDocument as _UtilitiesBillingDocument
{
key UtilitiesBillingDocument,
@ObjectModel.foreignKey.association: '_CompanyCode'
CompanyCode,
BusinessPartner,
//@ObjectModel.foreignKey.association: '_ContractAccount'
ContractAccount,
@ObjectModel.foreignKey.association: '_UtilitiesContract'
UtilitiesContract,
//@ObjectModel.foreignKey.association: '_UtilsBusinessTransactionTT'
UtilsBusTransactionType,
@ObjectModel.foreignKey.association: '_UtilitiesBillingReason'
UtilitiesBillingReason,
UtilsBillgPeriodStartDate,
UtilsBillgPeriodEndDate,
@ObjectModel.foreignKey.association: '_Division'
Division,
@ObjectModel.foreignKey.association: '_UtilsBillgDocSimulationRsn'
UtilsBillgSimulationReason,
UtilsBillgDocIsNotReleased,
UtilsBillgDocReversalDate,
@ObjectModel.foreignKey.association: '_UtilsBillingDocReversalRsn'
UtilsBillgDocReversalRsn,
UtilsBillgPeriodAllocationDate,
@ObjectModel.foreignKey.association: '_UtilitiesPortion'
UtilitiesPortion,
ScheduledUtilitiesBillingDate,
@ObjectModel.foreignKey.association: '_MeterReadingUnit'
MeterReadingUnit,
ScheduledMeterReadingDate,
@ObjectModel.foreignKey.association: '_ManualUtilsBillgDocCrtnRsn'
ManualUtilsBillgDocCrtnRsn,
MnlUtilsBillgDocIsReldForInvcg,
UtilitiesBillingRun,
UtilsBillgDocCreationDate,
UtilsBillgDocCreatedByUser,
UtilsBillgDocLastChangeDate,
UtilsBillgDocLastChangedByUser,
AuthorizationGroup,
@DefaultAggregation: #SUM
cast(1 as e_reversedbillgdoc_vdm) as NmbrOfReversedUtilsBillgDocs,
_UtilitiesBillingReason,
@ObjectModel.association.boundFields.dataMatchesSourceAndTargetTypes: true
_UtilsBillgDocSimulationRsn,
_ManualUtilsBillgDocCrtnRsn,
_Division,
_CompanyCode,
_UtilsBillingDocReversalRsn,
//_UtilsBusinessTransactionTT,
_UtilitiesPortion,
_MeterReadingUnit,
_BusinessPartner,
//_ContractAccount,
_UtilitiesContract,
_CreatedByUser,
_LastChangedByUser
}
where
_UtilitiesBillingDocument.UtilsBillgDocReversalDate != '00000000'
and //No date
_UtilitiesBillingDocument.UtilitiesBillingReason != '06'; //Manual Credit Memo/Backbilling
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_UTILITIESBILLINGDOCUMENT"
],
"ASSOCIATED":
[
"I_BUSINESSPARTNER",
"I_COMPANYCODE",
"I_DIVISION",
"I_MANUALUTILSBILLGDOCCRTNRSN",
"I_METERREADINGUNIT",
"I_USER",
"I_UTILITIESBILLINGREASON",
"I_UTILITIESCONTRACT",
"I_UTILITIESPORTION",
"I_UTILSBILLGDOCSIMULATIONRSN",
"I_UTILSBILLINGDOCREVERSALRSN"
],
"BASE":
[
"I_UTILITIESBILLINGDOCUMENT"
],
"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