C_UtilsBillgOrdRdyBillgWthDets
Billing Order Ready for Billing with Details
C_UtilsBillgOrdRdyBillgWthDets is a Consumption CDS View that provides data about "Billing Order Ready for Billing with Details" in SAP S/4HANA. It reads from 1 data source (I_UtilsBillingOrder) and exposes 59 fields with key fields UtilitiesContract, UtilitiesInstallation, ScheduledUtilitiesBillingDate, UtilitiesBillingReason, UtilsInstHistValidityEndDate. It has 5 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_UtilsBillingOrder | UtilsBillingOrder | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | C_UtilitiesBillingOrderHistory | _UtilitiesBillingOrderHistory | $projection.UtilitiesContract = _UtilitiesBillingOrderHistory.UtilitiesContract |
| [0..*] | C_UtilsBillingDocumentHistory | _UtilsBillingDocumentHistory | $projection.UtilitiesContract = _UtilsBillingDocumentHistory.UtilitiesContract |
| [0..*] | C_MeterReadingHistoryDetails | _MeterReadingHistoryDetails | $projection.UtilitiesInstallation = _MeterReadingHistoryDetails.UtilitiesInstallation |
| [1..1] | I_CalendarDate | _CalendarDate | $projection.ScheduledUtilitiesBillingDate = _CalendarDate.CalendarDate |
| [1..1] | I_ContractAccountPartner | _ContractAccountPartner | $projection.ContractAccount = _ContractAccountPartner.ContractAccount and $projection.BusinessPartner = _ContractAccountPartner.BusinessPartner |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Billing Order Ready for Billing with Details | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AbapCatalog.sqlViewName | CEBLLGORDRDYDET | 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 | |
| UI.headerInfo.typeName | {@i18n>@BILLING_ORDER} | view | |
| UI.headerInfo.typeNamePlural | {@i18n>@BILLING_ORDERS} | view | |
| UI.headerInfo.title.type | #STANDARD | view | |
| UI.headerInfo.title.value | UtilitiesContract | view |
Fields (59)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | UtilitiesContract | I_UtilsBillingOrder | UtilitiesContract | |
| KEY | UtilitiesInstallation | I_UtilsBillingOrder | UtilitiesInstallation | |
| KEY | ScheduledUtilitiesBillingDate | I_UtilsBillingOrder | ScheduledUtilitiesBillingDate | |
| KEY | UtilitiesBillingReason | I_UtilsBillingOrder | UtilitiesBillingReason | |
| KEY | UtilsInstHistValidityEndDate | I_UtilsBillingOrder | UtilsInstHistValidityEndDate | |
| UtilitiesPortion | I_UtilsBillingOrder | UtilitiesPortion | ||
| CompanyCode | I_UtilsBillingOrder | CompanyCode | Receiver Company Code | |
| Division | I_UtilsBillingOrder | Division | Internal Division ID | |
| ContractAccount | I_UtilsBillingOrder | ContractAccount | Contract Acct | |
| BusinessPartner | I_UtilsBillingOrder | BusinessPartner | Issuing Authority | |
| ScheduledMeterReadingDate | I_UtilsBillingOrder | ScheduledMeterReadingDate | ||
| UtilsBillgBlockReason | I_UtilsBillingOrder | UtilsBillgBlockReason | ||
| UtilsBillgUnblockReason | I_UtilsBillingOrder | UtilsBillgUnblockReason | ||
| MeterReadingUnit | I_UtilsBillingOrder | MeterReadingUnit | ||
| UtilitiesRateCategory | I_UtilsBillingOrder | UtilitiesRateCategory | ||
| UtilitiesBillingClass | I_UtilsBillingOrder | UtilitiesBillingClass | ||
| UtilitiesMoveInDate | I_UtilsBillingOrder | UtilitiesMoveInDate | ||
| UtilitiesMoveOutDate | I_UtilsBillingOrder | UtilitiesMoveOutDate | ||
| UtilsDefaultBdgtBillgCycle | ||||
| UtilsContrSpcfcBdgtBillgCycle | I_UtilsBillingOrder | UtilsContrSpcfcBdgtBillgCycle | ||
| UtilitiesAccountDetnCode | I_UtilsBillingOrder | UtilitiesAccountDetnCode | ||
| UtilsBillgOutsortingReason | I_UtilsBillingOrder | UtilsBillgOutsortingReason | ||
| UtilsExternalPointOfDelivery | I_UtilsBillingOrder | UtilsExternalPointOfDelivery | ||
| UtilsBillgOrdChkBfrBilling | I_UtilsBillingOrder | UtilsBillgOrdChkBfrBilling | ||
| StatusCriticality | ||||
| UtilsPostalAddressFormatted | ||||
| AddressID | ||||
| _Address2 | ||||
| UtilitiesPremise | ||||
| CalendarMonth | ||||
| CalendarMonthName | ||||
| CalendarYear | ||||
| UtilsContrIsBilledManually | I_UtilsBillingOrder | UtilsContrIsBilledManually | ||
| AuthorizationGroup | I_UtilsBillingOrder | AuthorizationGroup | AuthorizGroup | |
| _UtilitiesInstallation | I_UtilsBillingOrder | _UtilitiesInstallation | ||
| _UtilitiesBillingReason | I_UtilsBillingOrder | _UtilitiesBillingReason | ||
| _UtilitiesPortion | I_UtilsBillingOrder | _UtilitiesPortion | ||
| _CompanyCode | I_UtilsBillingOrder | _CompanyCode | ||
| _Division | I_UtilsBillingOrder | _Division | ||
| _ContrAcc | I_UtilsBillingOrder | _ContrAcc | ||
| _BusinessPartner | I_UtilsBillingOrder | _BusinessPartner | ||
| _UtilsBillgBlockReason | I_UtilsBillingOrder | _UtilsBillgBlockReason | ||
| _UtilsBillgUnblockReason | I_UtilsBillingOrder | _UtilsBillgUnblockReason | ||
| _MeterReadingUnit | I_UtilsBillingOrder | _MeterReadingUnit | ||
| _UtilitiesRateCategory | I_UtilsBillingOrder | _UtilitiesRateCategory | ||
| _UtilsBillingClass | I_UtilsBillingOrder | _UtilsBillingClass | ||
| _UtilitiesBdgtBillgCyc | ||||
| _UtilsContrSpcfcBdgtBillgCyc | I_UtilsBillingOrder | _UtilsContrSpcfcBdgtBillgCyc | ||
| _UtilsAccountDetnCode | I_UtilsBillingOrder | _UtilsAccountDetnCode | ||
| _UtilsBillgOutsortingGroup | I_UtilsBillingOrder | _UtilsBillgOutsortingGroup | ||
| _UtilsBillgOrdChkBfrBilling | I_UtilsBillingOrder | _UtilsBillgOrdChkBfrBilling | ||
| _UtilitiesPremise | ||||
| _UtilitiesBillingOrderHistory | _UtilitiesBillingOrderHistory | |||
| _UtilsBillingDocumentHistory | _UtilsBillingDocumentHistory | |||
| _MeterReadingHistoryDetails | _MeterReadingHistoryDetails | |||
| _CalendarDate | _CalendarDate | |||
| _CalendarMonth | _CalendarDate | _CalendarMonth | ||
| _CalendarYear | _CalendarDate | _CalendarYear | ||
| _ContractAccountPartner | _ContractAccountPartner |
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 C_UtilsBillgOrdRdyBillgWthDets.
-- 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: CEBLLGORDRDYDET
CREATE VIEW C_UtilsBillgOrdRdyBillgWthDets AS
SELECT
UtilsBillingOrder.UtilitiesContract AS UtilitiesContract,
UtilsBillingOrder.UtilitiesInstallation AS UtilitiesInstallation,
UtilsBillingOrder.ScheduledUtilitiesBillingDate AS ScheduledUtilitiesBillingDate,
UtilsBillingOrder.UtilitiesBillingReason AS UtilitiesBillingReason,
UtilsBillingOrder.UtilsInstHistValidityEndDate AS UtilsInstHistValidityEndDate,
UtilsBillingOrder.UtilitiesPortion AS UtilitiesPortion,
UtilsBillingOrder.CompanyCode AS CompanyCode,
UtilsBillingOrder.Division AS Division,
UtilsBillingOrder.ContractAccount AS ContractAccount,
UtilsBillingOrder.BusinessPartner AS BusinessPartner,
UtilsBillingOrder.ScheduledMeterReadingDate AS ScheduledMeterReadingDate,
UtilsBillingOrder.UtilsBillgBlockReason AS UtilsBillgBlockReason,
UtilsBillingOrder.UtilsBillgUnblockReason AS UtilsBillgUnblockReason,
UtilsBillingOrder.MeterReadingUnit AS MeterReadingUnit,
UtilsBillingOrder.UtilitiesRateCategory AS UtilitiesRateCategory,
UtilsBillingOrder.UtilitiesBillingClass AS UtilitiesBillingClass,
UtilsBillingOrder.UtilitiesMoveInDate AS UtilitiesMoveInDate,
UtilsBillingOrder.UtilitiesMoveOutDate AS UtilitiesMoveOutDate,
UtilsBillingOrder._UtilitiesPortion.UtilsDefaultBdgtBillgCycle AS UtilsDefaultBdgtBillgCycle,
UtilsBillingOrder.UtilsContrSpcfcBdgtBillgCycle AS UtilsContrSpcfcBdgtBillgCycle,
UtilsBillingOrder.UtilitiesAccountDetnCode AS UtilitiesAccountDetnCode,
UtilsBillingOrder.UtilsBillgOutsortingReason AS UtilsBillgOutsortingReason,
UtilsBillingOrder.UtilsExternalPointOfDelivery AS UtilsExternalPointOfDelivery,
UtilsBillingOrder.UtilsBillgOrdChkBfrBilling AS UtilsBillgOrdChkBfrBilling,
case when UtilsBillingOrder.UtilsBillgOrdChkBfrBilling is not null then 1 end AS StatusCriticality,
cast('' as abap.sstring( 256 )) AS UtilsPostalAddressFormatted,
UtilsBillingOrder._UtilitiesInstallation._UtilitiesPremise._UtilsTechObjLocationAddr.AddressID AS AddressID,
UtilsBillingOrder._UtilitiesInstallation._UtilitiesPremise._UtilsTechObjLocationAddr._Address2 AS _Address2,
UtilsBillingOrder._UtilitiesInstallation.UtilitiesPremise AS UtilitiesPremise,
cast(_CalendarDate.CalendarMonth as e_schdldmnth_vdm preserving type ) AS CalendarMonth,
_CalendarDate._CalendarMonth._Text[1: Language = $session.system_language].CalendarMonthName AS CalendarMonthName,
cast(_CalendarDate.CalendarYear as e_schdldyr_vdm preserving type ) AS CalendarYear,
UtilsBillingOrder.UtilsContrIsBilledManually AS UtilsContrIsBilledManually,
UtilsBillingOrder.AuthorizationGroup AS AuthorizationGroup,
UtilsBillingOrder._UtilitiesInstallation AS _UtilitiesInstallation,
UtilsBillingOrder._UtilitiesBillingReason AS _UtilitiesBillingReason,
UtilsBillingOrder._UtilitiesPortion AS _UtilitiesPortion,
UtilsBillingOrder._CompanyCode AS _CompanyCode,
UtilsBillingOrder._Division AS _Division,
UtilsBillingOrder._ContrAcc AS _ContrAcc,
UtilsBillingOrder._BusinessPartner AS _BusinessPartner,
UtilsBillingOrder._UtilsBillgBlockReason AS _UtilsBillgBlockReason,
UtilsBillingOrder._UtilsBillgUnblockReason AS _UtilsBillgUnblockReason,
UtilsBillingOrder._MeterReadingUnit AS _MeterReadingUnit,
UtilsBillingOrder._UtilitiesRateCategory AS _UtilitiesRateCategory,
UtilsBillingOrder._UtilsBillingClass AS _UtilsBillingClass,
UtilsBillingOrder._UtilitiesPortion._UtilitiesBdgtBillgCyc AS _UtilitiesBdgtBillgCyc,
UtilsBillingOrder._UtilsContrSpcfcBdgtBillgCyc AS _UtilsContrSpcfcBdgtBillgCyc,
UtilsBillingOrder._UtilsAccountDetnCode AS _UtilsAccountDetnCode,
UtilsBillingOrder._UtilsBillgOutsortingGroup AS _UtilsBillgOutsortingGroup,
UtilsBillingOrder._UtilsBillgOrdChkBfrBilling AS _UtilsBillgOrdChkBfrBilling,
UtilsBillingOrder._UtilitiesInstallation._UtilitiesPremise AS _UtilitiesPremise,
_CalendarDate._CalendarMonth AS _CalendarMonth,
_CalendarDate._CalendarYear AS _CalendarYear
FROM I_UtilsBillingOrder AS UtilsBillingOrder
LEFT OUTER JOIN C_UtilitiesBillingOrderHistory AS _UtilitiesBillingOrderHistory ON UtilitiesContract = _UtilitiesBillingOrderHistory.UtilitiesContract -- association [0..*]
LEFT OUTER JOIN C_UtilsBillingDocumentHistory AS _UtilsBillingDocumentHistory ON UtilitiesContract = _UtilsBillingDocumentHistory.UtilitiesContract -- association [0..*]
LEFT OUTER JOIN C_MeterReadingHistoryDetails AS _MeterReadingHistoryDetails ON UtilitiesInstallation = _MeterReadingHistoryDetails.UtilitiesInstallation -- association [0..*]
LEFT OUTER JOIN I_CalendarDate AS _CalendarDate ON ScheduledUtilitiesBillingDate = _CalendarDate.CalendarDate -- association [1..1]
LEFT OUTER JOIN I_ContractAccountPartner AS _ContractAccountPartner ON ContractAccount = _ContractAccountPartner.ContractAccount AND BusinessPartner = _ContractAccountPartner.BusinessPartner -- 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