I_OpenUtilsBillgDocAndOrdData
Open Utilities Billing Document and Order Data
I_OpenUtilsBillgDocAndOrdData is a Composite CDS View (Cube) that provides data about "Open Utilities Billing Document and Order Data" in SAP S/4HANA. It reads from 4 data sources (I_UtilitiesBillingDocumentTP, I_UtilsBillingOrder, I_UtilitiesContract, I_UtilitiesInstallationHist) and exposes 66 fields with key fields UtilitiesContract, UtilitiesInstallation, ScheduledUtilitiesBillingDate, UtilitiesBillingReason, UtilsInstHistValidityEndDate. It has 5 associations to related views.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| I_UtilitiesBillingDocumentTP | UtilitiesBillingDocumentTP | union_all |
| I_UtilsBillingOrder | UtilitiesBillingOrder | from |
| I_UtilitiesContract | UtilitiesContract | inner |
| I_UtilitiesInstallationHist | UtilitiesInstallationHist | inner |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_UtilitiesBillingReason | _UtilitiesBillingReason | $projection.UtilitiesBillingReason = _UtilitiesBillingReason.UtilitiesBillingReason |
| [1..1] | I_OpnUtilsBillgDocAndOrdType | _OpnUtilsBillgDocAndOrdType | $projection.OpnUtilsBillgDocAndOrdType = _OpnUtilsBillgDocAndOrdType.OpnUtilsBillgDocAndOrdType |
| [1..1] | I_UtilitiesInstallation | _UtilitiesInstallation | $projection.UtilitiesInstallation = _UtilitiesInstallation.UtilitiesInstallation |
| [1..1] | I_MeterReadingUnit | _MeterReadingUnit | $projection.MeterReadingUnit = _MeterReadingUnit.MeterReadingUnit |
| [1..1] | I_UtilitiesPortion | _UtilitiesPortion | $projection.UtilitiesPortion = _UtilitiesPortion.UtilitiesPortion |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Open Utilities Billing Document and Order Data | view | |
| VDM.viewType | #COMPOSITE | view | |
| Analytics.dataCategory | #CUBE | view | |
| AbapCatalog.sqlViewName | IEOPENBILLGSU | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.allowExtensions | true | view |
Fields (66)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | UtilitiesContract | I_UtilsBillingOrder | UtilitiesContract | PoD service |
| KEY | UtilitiesInstallation | I_UtilsBillingOrder | UtilitiesInstallation | Installation |
| KEY | ScheduledUtilitiesBillingDate | I_UtilsBillingOrder | ScheduledUtilitiesBillingDate | |
| KEY | UtilitiesBillingReason | I_UtilsBillingOrder | UtilitiesBillingReason | |
| KEY | UtilsInstHistValidityEndDate | I_UtilsBillingOrder | UtilsInstHistValidityEndDate | |
| KEY | ContractAccount | I_UtilsBillingOrder | ContractAccount | Contract Acct |
| UtilitiesPortion | I_UtilsBillingOrder | UtilitiesPortion | ||
| ScheduledMeterReadingDate | I_UtilsBillingOrder | ScheduledMeterReadingDate | ||
| CompanyCode | I_UtilsBillingOrder | CompanyCode | Receiver Company Code | |
| Division | I_UtilsBillingOrder | Division | Insurance LOB | |
| UtilsBillgBlockReason | I_UtilsBillingOrder | UtilsBillgBlockReason | ||
| UtilsBillgUnblockReason | I_UtilsBillingOrder | UtilsBillgUnblockReason | ||
| MeterReadingUnit | I_UtilsBillingOrder | MeterReadingUnit | MR unit | |
| UtilitiesRateCategory | I_UtilsBillingOrder | UtilitiesRateCategory | Rate category | |
| UtilitiesBillingClass | I_UtilsBillingOrder | UtilitiesBillingClass | Billing Class | |
| UtilsPortionScheduleRecordDate | I_UtilsBillingOrder | UtilsPortionScheduleRecordDate | ||
| UtilitiesMoveInDate | I_UtilsBillingOrder | UtilitiesMoveInDate | ||
| UtilitiesMoveOutDate | I_UtilsBillingOrder | UtilitiesMoveOutDate | ||
| UtilitiesAccountDetnCode | I_UtilsBillingOrder | UtilitiesAccountDetnCode | ||
| UtilitiesContractIsActive | I_UtilsBillingOrder | UtilitiesContractIsActive | ||
| UtilsInstTimeSliceIsValid | I_UtilsBillingOrder | UtilsInstTimeSliceIsValid | ||
| AuthorizationGroup | I_UtilsBillingOrder | AuthorizationGroup | AuthorizGroup | |
| _UtilitiesInstallation | I_UtilsBillingOrder | _UtilitiesInstallation | ||
| _UtilitiesBillingReason | _UtilitiesBillingReason | |||
| _UtilitiesPortion | I_UtilsBillingOrder | _UtilitiesPortion | ||
| _CompanyCode | I_UtilsBillingOrder | _CompanyCode | ||
| _Division | I_UtilsBillingOrder | _Division | ||
| _UtilsBillgBlockReason | I_UtilsBillingOrder | _UtilsBillgBlockReason | ||
| _UtilsBillgUnblockReason | I_UtilsBillingOrder | _UtilsBillgUnblockReason | ||
| _MeterReadingUnit | I_UtilsBillingOrder | _MeterReadingUnit | ||
| _UtilitiesRateCategory | I_UtilsBillingOrder | _UtilitiesRateCategory | ||
| _UtilsBillingClass | I_UtilsBillingOrder | _UtilsBillingClass | ||
| _UtilsAccountDetnCode | I_UtilsBillingOrder | _UtilsAccountDetnCode | ||
| UtilitiesContract | PoD service | |||
| KEY | UtilitiesInstallation | I_UtilitiesBillingDocumentTP | UtilitiesInstallation | Installation |
| KEY | ScheduledUtilitiesBillingDate | I_UtilitiesBillingDocumentTP | ScheduledUtilitiesBillingDate | |
| KEY | UtilitiesBillingReason | I_UtilitiesBillingDocumentTP | UtilitiesBillingReason | |
| KEY | UtilsInstHistValidityEndDate | I_UtilitiesInstallationHist | UtilsInstHistValidityEndDate | |
| KEY | ContractAccount | I_UtilitiesContract | ContractAccount | Contract Acct |
| UtilitiesPortion | I_UtilitiesBillingDocumentTP | UtilitiesPortion | ||
| ScheduledMeterReadingDate | I_UtilitiesBillingDocumentTP | ScheduledMeterReadingDate | ||
| CompanyCode | I_UtilitiesContract | CompanyCode | Receiver Company Code | |
| Division | I_UtilitiesContract | UtilitiesDivision | Insurance LOB | |
| UtilsBillgBlockReason | I_UtilitiesContract | UtilsBillgBlockReason | ||
| UtilsBillgUnblockReason | I_UtilitiesContract | UtilsBillgUnblockReason | ||
| MeterReadingUnit | I_UtilitiesBillingDocumentTP | MeterReadingUnit | MR unit | |
| UtilitiesRateCategory | I_UtilitiesInstallationHist | UtilitiesRateCategory | Rate category | |
| UtilitiesBillingClass | I_UtilitiesInstallationHist | UtilitiesBillingClass | Billing Class | |
| UtilsPortionScheduleRecordDate | I_UtilitiesBillingDocumentTP | UtilsBillgPeriodEndDate | ||
| UtilitiesMoveInDate | I_UtilitiesContract | UtilitiesMoveInDate | ||
| UtilitiesMoveOutDate | I_UtilitiesContract | UtilitiesMoveOutDate | ||
| UtilitiesAccountDetnCode | I_UtilitiesContract | UtilitiesAccountDetnCode | ||
| OpnUtilsBillgDocAndOrdType | ||||
| AuthorizationGroup | I_UtilitiesContract | AuthorizationGroup | AuthorizGroup | |
| _UtilitiesInstallation | _UtilitiesInstallation | |||
| _UtilitiesBillingReason | I_UtilitiesBillingDocumentTP | _UtilitiesBillingReason | ||
| _UtilitiesPortion | _UtilitiesPortion | |||
| _CompanyCode | I_UtilitiesContract | _CompanyCode | ||
| _Division | I_UtilitiesContract | _Division | ||
| _UtilsBillgBlockReason | I_UtilitiesContract | _UtilsBillgBlockReason | ||
| _UtilsBillgUnblockReason | I_UtilitiesContract | _UtilsBillgUnblockReason | ||
| _MeterReadingUnit | _MeterReadingUnit | |||
| _UtilitiesRateCategory | I_UtilitiesInstallationHist | _UtilitiesRateCategory | ||
| _UtilsBillingClass | I_UtilitiesInstallationHist | _UtilsBillingClass | ||
| _UtilsAccountDetnCode | I_UtilitiesContract | _UtilsAccountDetnCode | ||
| _OpnUtilsBillgDocAndOrdType | _OpnUtilsBillgDocAndOrdType |
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_OpenUtilsBillgDocAndOrdData.
-- 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: IEOPENBILLGSU
CREATE VIEW I_OpenUtilsBillgDocAndOrdData AS
SELECT
UtilitiesBillingOrder.UtilitiesContract AS UtilitiesContract,
UtilitiesBillingOrder.UtilitiesInstallation AS UtilitiesInstallation,
UtilitiesBillingOrder.ScheduledUtilitiesBillingDate AS ScheduledUtilitiesBillingDate,
UtilitiesBillingOrder.UtilitiesBillingReason AS UtilitiesBillingReason,
UtilitiesBillingOrder.UtilsInstHistValidityEndDate AS UtilsInstHistValidityEndDate,
UtilitiesBillingOrder.ContractAccount AS ContractAccount,
UtilitiesBillingOrder.UtilitiesPortion AS UtilitiesPortion,
UtilitiesBillingOrder.ScheduledMeterReadingDate AS ScheduledMeterReadingDate,
UtilitiesBillingOrder.CompanyCode AS CompanyCode,
UtilitiesBillingOrder.Division AS Division,
UtilitiesBillingOrder.UtilsBillgBlockReason AS UtilsBillgBlockReason,
UtilitiesBillingOrder.UtilsBillgUnblockReason AS UtilsBillgUnblockReason,
UtilitiesBillingOrder.MeterReadingUnit AS MeterReadingUnit,
UtilitiesBillingOrder.UtilitiesRateCategory AS UtilitiesRateCategory,
UtilitiesBillingOrder.UtilitiesBillingClass AS UtilitiesBillingClass,
UtilitiesBillingOrder.UtilsPortionScheduleRecordDate AS UtilsPortionScheduleRecordDate,
UtilitiesBillingOrder.UtilitiesMoveInDate AS UtilitiesMoveInDate,
UtilitiesBillingOrder.UtilitiesMoveOutDate AS UtilitiesMoveOutDate,
UtilitiesBillingOrder.UtilitiesAccountDetnCode AS UtilitiesAccountDetnCode,
UtilitiesBillingOrder.UtilitiesContractIsActive AS UtilitiesContractIsActive,
UtilitiesBillingOrder.UtilsInstTimeSliceIsValid AS UtilsInstTimeSliceIsValid,
UtilitiesBillingOrder.AuthorizationGroup AS AuthorizationGroup,
UtilitiesBillingOrder._UtilitiesInstallation AS _UtilitiesInstallation,
UtilitiesBillingOrder._UtilitiesPortion AS _UtilitiesPortion,
UtilitiesBillingOrder._CompanyCode AS _CompanyCode,
UtilitiesBillingOrder._Division AS _Division,
UtilitiesBillingOrder._UtilsBillgBlockReason AS _UtilsBillgBlockReason,
UtilitiesBillingOrder._UtilsBillgUnblockReason AS _UtilsBillgUnblockReason,
UtilitiesBillingOrder._MeterReadingUnit AS _MeterReadingUnit,
UtilitiesBillingOrder._UtilitiesRateCategory AS _UtilitiesRateCategory,
UtilitiesBillingOrder._UtilsBillingClass AS _UtilsBillingClass,
UtilitiesBillingOrder._UtilsAccountDetnCode AS _UtilsAccountDetnCode,
'04' AS OpnUtilsBillgDocAndOrdType,
UtilitiesBillingDocumentTP._UtilitiesBillingReason AS _UtilitiesBillingReason
FROM I_UtilsBillingOrder AS UtilitiesBillingOrder
INNER JOIN I_UtilitiesContract AS UtilitiesContract ON /* join condition not captured in parsed metadata */
INNER JOIN I_UtilitiesInstallationHist AS UtilitiesInstallationHist ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_UtilitiesBillingReason AS _UtilitiesBillingReason ON UtilitiesBillingReason = _UtilitiesBillingReason.UtilitiesBillingReason -- association [1..1]
LEFT OUTER JOIN I_OpnUtilsBillgDocAndOrdType AS _OpnUtilsBillgDocAndOrdType ON OpnUtilsBillgDocAndOrdType = _OpnUtilsBillgDocAndOrdType.OpnUtilsBillgDocAndOrdType -- association [1..1]
LEFT OUTER JOIN I_UtilitiesInstallation AS _UtilitiesInstallation ON UtilitiesInstallation = _UtilitiesInstallation.UtilitiesInstallation -- 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]
-- UNION ALL with additional select branch(es): I_UtilitiesBillingDocumentTP
;
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