I_ReversedUtilsBillingDocument

DDL: I_REVERSEDUTILSBILLINGDOCUMENT SQL: IERVSDBILLGDOC Type: view COMPOSITE

Reversed Billing Document

I_ReversedUtilsBillingDocument (Composite)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Utilities

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.

SAP API Hub

StateC1
Line of BusinessUtilities
Application ComponentIS-U-BI
CapabilitiesData Provider for Analytical Queries, Data Source in SQL Select, Data Source for Defining CDS Entities
PackageUtilities for SAP S/4HANA
Description <p>This cube provides the prerequisites for answering the following business question:</p> <ul><li><p>How many billing documents were reversed?</p></li> </ul>

Documentation

Data Sources (1)

SourceAliasJoin Type
I_UtilitiesBillingDocument _UtilitiesBillingDocument from

Annotations (11)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
KEY UtilitiesBillingDocument UtilitiesBillingDocument Number of Billing Document
CompanyCode CompanyCode Receiver Company Code
BusinessPartner BusinessPartner Business Partner Number
ContractAccount ContractAccount Contract Account Number
UtilitiesContract UtilitiesContract PoD service
UtilsBusTransactionType UtilsBusTransactionType Main Transaction for Line Item
UtilitiesBillingReason UtilitiesBillingReason Billing Reason
UtilsBillgPeriodStartDate UtilsBillgPeriodStartDate Billing Period Start
UtilsBillgPeriodEndDate UtilsBillgPeriodEndDate Billing Period End
Division Division Internal Division ID
UtilsBillgSimulationReason UtilsBillgSimulationReason Billing Simulation Reason
UtilsBillgDocIsNotReleased UtilsBillgDocIsNotReleased Indicator: document not released yet
UtilsBillgDocReversalDate UtilsBillgDocReversalDate Reversal date
UtilsBillgDocReversalRsn UtilsBillgDocReversalRsn Reason for Reversal
UtilsBillgPeriodAllocationDate UtilsBillgPeriodAllocationDate Allocation date for billing
UtilitiesPortion UtilitiesPortion Portion
ScheduledUtilitiesBillingDate ScheduledUtilitiesBillingDate Scheduled Billing Date
MeterReadingUnit MeterReadingUnit Meter Reading Unit
ScheduledMeterReadingDate ScheduledMeterReadingDate Scheduled Meter Reading Date
ManualUtilsBillgDocCrtnRsn ManualUtilsBillgDocCrtnRsn Reason for credit memo/backbilling
MnlUtilsBillgDocIsReldForInvcg MnlUtilsBillgDocIsReldForInvcg Manual Document Released for Invoicing
UtilitiesBillingRun UtilitiesBillingRun Number of Billing Run
UtilsBillgDocCreationDate UtilsBillgDocCreationDate Document Date
UtilsBillgDocCreatedByUser UtilsBillgDocCreatedByUser Name of Person Responsible for Creating the Object
UtilsBillgDocLastChangeDate UtilsBillgDocLastChangeDate Last Changed On
UtilsBillgDocLastChangedByUser UtilsBillgDocLastChangedByUser Name of Person Who Changed Object
AuthorizationGroup AuthorizationGroup Authorization Group
NmbrOfReversedUtilsBillgDocs Number of Reversed Billing Documents
_UtilitiesBillingReason _UtilitiesBillingReason
_UtilsBillgDocSimulationRsn _UtilsBillgDocSimulationRsn
_ManualUtilsBillgDocCrtnRsn _ManualUtilsBillgDocCrtnRsn
_Division _Division
_CompanyCode _CompanyCode
_UtilsBillingDocReversalRsn _UtilsBillingDocReversalRsn
_UtilitiesPortion _UtilitiesPortion
_MeterReadingUnit _MeterReadingUnit
_BusinessPartner _BusinessPartner
_UtilitiesContract _UtilitiesContract
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view I_ReversedUtilsBillingDocument.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: IERVSDBILLGDOC

CREATE VIEW I_ReversedUtilsBillingDocument AS
SELECT
  UtilitiesBillingDocument,
  CompanyCode,
  BusinessPartner,
  ContractAccount,
  UtilitiesContract,
  UtilsBusTransactionType,
  UtilitiesBillingReason,
  UtilsBillgPeriodStartDate,
  UtilsBillgPeriodEndDate,
  Division,
  UtilsBillgSimulationReason,
  UtilsBillgDocIsNotReleased,
  UtilsBillgDocReversalDate,
  UtilsBillgDocReversalRsn,
  UtilsBillgPeriodAllocationDate,
  UtilitiesPortion,
  ScheduledUtilitiesBillingDate,
  MeterReadingUnit,
  ScheduledMeterReadingDate,
  ManualUtilsBillgDocCrtnRsn,
  MnlUtilsBillgDocIsReldForInvcg,
  UtilitiesBillingRun,
  UtilsBillgDocCreationDate,
  UtilsBillgDocCreatedByUser,
  UtilsBillgDocLastChangeDate,
  UtilsBillgDocLastChangedByUser,
  AuthorizationGroup,
  cast(1 as e_reversedbillgdoc_vdm) AS NmbrOfReversedUtilsBillgDocs
FROM I_UtilitiesBillingDocument AS _UtilitiesBillingDocument
;