I_UtilitiesBillingOrder
Billing Order
I_UtilitiesBillingOrder (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
Utilities
I_UtilitiesBillingOrder is a Basic CDS View (Dimension) that provides data about "Billing Order" in SAP S/4HANA. It reads from 1 data source (etrg) and exposes 29 fields with key fields UtilitiesInstallation, ScheduledUtilitiesBillingDate, UtilitiesBillingReason. It has 11 associations to related views.
SAP Help Documentation
| Category | Billing |
|---|---|
| Data Category | Dimension |
Purpose
This CDS view retrieves data for a billing order. To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations The following authorization objects are required to use this CDS view: E_INSTLN (Authorization to display IS-U installations)
Structure
Important fields in this view include the following: Field Name Description UtilitiesInstallation Installation ScheduledUtilitiesBillingDate Scheduled Billing Date UtilitiesBillingReason Contract UtilitiesBillingReason Billing Reason UtilitiesPortion Portion MeterReadingUnit Meter Reading Unit
This CDS view retrieves data for a billing order. To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .
Prerequisites
Authorizations The following authorization objects are required to use this CDS view: E_INSTLN (Authorization to display IS-U installations)
Structure
Important fields in this view include the following: Field Name Description UtilitiesInstallation Installation ScheduledUtilitiesBillingDate Scheduled Billing Date UtilitiesBillingReason Contract UtilitiesBillingReason Billing Reason UtilitiesPortion Portion MeterReadingUnit Meter Reading Unit
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Utilities |
| Application Component | IS-U-BI |
| Capabilities | Data Source in SQL Select, Analytical Dimension, Association Target for Defining CDS Entities, Data Source for Defining CDS Entities |
| Package | Utilities for SAP S/4HANA |
| Description | <p>This CDS view retrieves data for a billing order.</p> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p> |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA, onpremise edition — Explore SAP S/4HANA Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| etrg | etrg | from |
Associations (11)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_UtilitiesInstallation | _UtilitiesInstallation | $projection.UtilitiesInstallation = _UtilitiesInstallation.UtilitiesInstallation |
| [1..1] | I_UtilitiesBillingReason | _UtilitiesBillingReason | $projection.UtilitiesBillingReason = _UtilitiesBillingReason.UtilitiesBillingReason |
| [1..1] | I_Division | _Division | $projection.Division = _Division.Division |
| [1..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [1..1] | I_MeterReadingUnit | _MeterReadingUnit | $projection.MeterReadingUnit = _MeterReadingUnit.MeterReadingUnit |
| [1..1] | I_UtilitiesPortion | _UtilitiesPortion | $projection.UtilitiesPortion = _UtilitiesPortion.UtilitiesPortion |
| [1..1] | I_UtilsBillingOrderStatus | _UtilsBillingOrderStatus | $projection.UtilsBillingOrderStatus = _UtilsBillingOrderStatus.UtilsBillingOrderStatus |
| [1..1] | I_User | _CreatedByUser | $projection.UtilsBillgOrderCreatedByUser = _CreatedByUser.UserID |
| [0..1] | I_User | _LastChangedByUser | $projection.UtilsBillgOrdLastChangedByUser = _LastChangedByUser.UserID |
| [1..1] | I_UtilitiesBillingReason | _SuppressedUtilsBillgReason | $projection.SuppressedUtilsBillgReason = _SuppressedUtilsBillgReason.UtilitiesBillingReason |
| [1..1] | I_UtilsBillingOrderIndicator | _UtilsBillingOrderIndicator | $projection.UtilsBillingOrderIndicator = _UtilsBillingOrderIndicator.UtilsBillingOrderIndicator |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Billing Order | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| VDM.viewType | #BASIC | view | |
| AbapCatalog.sqlViewName | IEBILLGORDER | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.representativeKey | ScheduledUtilitiesBillingDate | view | |
| Metadata.allowExtensions | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view |
Fields (29)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | UtilitiesInstallation | etrg | anlage | Installation |
| KEY | ScheduledUtilitiesBillingDate | Scheduled Billing Date | ||
| KEY | UtilitiesBillingReason | Billing Reason | ||
| CompanyCode | etrg | bukrs | Company Code | |
| Division | etrg | sparte | Insurance LOB | |
| UtilsBillingOrderStatus | etrg | trigstat | Status of Billing Order | |
| UtilitiesPortion | etrg | portion | Portion | |
| MeterReadingUnit | Meter Reading Unit | |||
| ScheduledMeterReadingDate | Scheduled Meter Reading Date | |||
| UtilsBillgPeriodAllocationDate | etrg | zuorddat | Allocation date for billing | |
| UtilsBillgOrderCreationDate | etrg | erdat | Record Created On | |
| UtilsBillgOrderCreatedByUser | etrg | ernam | Name of Person Responsible for Creating the Object | |
| UtilsBillgOrderLastChangeDate | etrg | aedat | Last Changed On | |
| UtilsBillgOrdLastChangedByUser | etrg | aenam | Name of Person Who Changed Object | |
| SuppressedUtilsSchedldBillgDte | Scheduled Billing Date for Suppressed Billing Order | |||
| SuppressedSchedldMtrRdngDte | Scheduled Meter Read. Date of Suppressed Meter Reading Order | |||
| SuppressedUtilsBillgReason | Billing Reason for Suppressed Billing Order | |||
| UtilsBillingOrderIndicator | Billing Order Indicator for Errors | |||
| _UtilitiesInstallation | _UtilitiesInstallation | |||
| _UtilitiesBillingReason | _UtilitiesBillingReason | |||
| _Division | _Division | |||
| _CompanyCode | _CompanyCode | |||
| _MeterReadingUnit | _MeterReadingUnit | |||
| _UtilitiesPortion | _UtilitiesPortion | |||
| _UtilsBillingOrderStatus | _UtilsBillingOrderStatus | |||
| _CreatedByUser | _CreatedByUser | |||
| _LastChangedByUser | _LastChangedByUser | |||
| _SuppressedUtilsBillgReason | _SuppressedUtilsBillgReason | |||
| _UtilsBillingOrderIndicator | _UtilsBillingOrderIndicator |
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_UtilitiesBillingOrder.
-- 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: IEBILLGORDER
CREATE VIEW I_UtilitiesBillingOrder AS
SELECT
etrg.anlage AS UtilitiesInstallation,
cast(etrg.abrdats as e_schedld_billg_dte_vdm preserving type) AS ScheduledUtilitiesBillingDate,
cast( etrg.abrvorg as e_abrvorg_vdm preserving type) AS UtilitiesBillingReason,
etrg.bukrs AS CompanyCode,
etrg.sparte AS Division,
etrg.trigstat AS UtilsBillingOrderStatus,
etrg.portion AS UtilitiesPortion,
cast(etrg.ableinh as ableinheit preserving type) AS MeterReadingUnit,
cast(etrg.adatsoll as e_schedld_mtrrdng_dte_vdm preserving type) AS ScheduledMeterReadingDate,
etrg.zuorddat AS UtilsBillgPeriodAllocationDate,
etrg.erdat AS UtilsBillgOrderCreationDate,
etrg.ernam AS UtilsBillgOrderCreatedByUser,
etrg.aedat AS UtilsBillgOrderLastChangeDate,
etrg.aenam AS UtilsBillgOrdLastChangedByUser,
cast( etrg.abrdatsu as e_abrdatsu_vdm preserving type) AS SuppressedUtilsSchedldBillgDte,
cast( etrg.adatsollu as e_adatsollu_vdm preserving type) AS SuppressedSchedldMtrRdngDte,
cast( etrg.abrvorgu as e_abrvorgu_vdm preserving type) AS SuppressedUtilsBillgReason,
cast( etrg.billg_err as e_billgordind_vdm preserving type) AS UtilsBillingOrderIndicator
FROM etrg
LEFT OUTER JOIN I_UtilitiesInstallation AS _UtilitiesInstallation ON UtilitiesInstallation = _UtilitiesInstallation.UtilitiesInstallation -- association [1..1]
LEFT OUTER JOIN I_UtilitiesBillingReason AS _UtilitiesBillingReason ON UtilitiesBillingReason = _UtilitiesBillingReason.UtilitiesBillingReason -- association [1..1]
LEFT OUTER JOIN I_Division AS _Division ON Division = _Division.Division -- association [1..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [1..1]
LEFT OUTER JOIN I_MeterReadingUnit AS _MeterReadingUnit ON MeterReadingUnit = _MeterReadingUnit.MeterReadingUnit -- association [1..1]
LEFT OUTER JOIN I_UtilitiesPortion AS _UtilitiesPortion ON UtilitiesPortion = _UtilitiesPortion.UtilitiesPortion -- association [1..1]
LEFT OUTER JOIN I_UtilsBillingOrderStatus AS _UtilsBillingOrderStatus ON UtilsBillingOrderStatus = _UtilsBillingOrderStatus.UtilsBillingOrderStatus -- association [1..1]
LEFT OUTER JOIN I_User AS _CreatedByUser ON UtilsBillgOrderCreatedByUser = _CreatedByUser.UserID -- association [1..1]
LEFT OUTER JOIN I_User AS _LastChangedByUser ON UtilsBillgOrdLastChangedByUser = _LastChangedByUser.UserID -- association [0..1]
LEFT OUTER JOIN I_UtilitiesBillingReason AS _SuppressedUtilsBillgReason ON SuppressedUtilsBillgReason = _SuppressedUtilsBillgReason.UtilitiesBillingReason -- association [1..1]
LEFT OUTER JOIN I_UtilsBillingOrderIndicator AS _UtilsBillingOrderIndicator ON UtilsBillingOrderIndicator = _UtilsBillingOrderIndicator.UtilsBillingOrderIndicator -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA