I_UtilsContrToBeBlld
Utilities Contract to Be Billed
I_UtilsContrToBeBlld is a Composite CDS View (Cube) that provides data about "Utilities Contract to Be Billed" in SAP S/4HANA. It reads from 5 data sources (I_ContractAccountPartner, P_SuppressedUtilsBillingOrder, I_UtilitiesBillingDocument, I_UtilitiesBillingOrder, I_UtilsContrToBeBlldData) and exposes 42 fields with key fields UtilitiesContract, ScheduledUtilitiesBillingDate, UtilitiesPortion, ScheduledMeterReadingDate. It has 3 associations to related views.
Data Sources (5)
| Source | Alias | Join Type |
|---|---|---|
| I_ContractAccountPartner | ContractAccountPartner | inner |
| P_SuppressedUtilsBillingOrder | SuppressedUtilsBillingOrder | left_outer |
| I_UtilitiesBillingDocument | UtilitiesBillingDocument | left_outer |
| I_UtilitiesBillingOrder | UtilitiesBillingOrder | left_outer |
| I_UtilsContrToBeBlldData | UtilsContrToBeBlldData | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_UtilsInstIntAndExtPtOfDeliv | _UtilsInstIntAndExtPtOfDeliv | $projection.UtilitiesInstallation = _UtilsInstIntAndExtPtOfDeliv.UtilitiesInstallation and _UtilsInstIntAndExtPtOfDeliv.UtilsPoDAllocValidityEndDate = '99991231' and _UtilsInstIntAndExtPtOfDeliv.UtilsPoDAllocValidityEndTime = '235959' |
| [1..1] | I_UtilsContrToBeBlldType | _UtilsContrToBeBlldType | $projection.UtilsContrToBeBlldType = _UtilsContrToBeBlldType.UtilsContrToBeBlldType |
| [1..1] | I_UtilsContrToBeBlldDetsType | _UtilsContrToBeBlldDetsType | $projection.UtilsContrToBeBlldDetsType = _UtilsContrToBeBlldDetsType.UtilsContrToBeBlldDetsType |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Utilities Contract to Be Billed | view | |
| VDM.viewType | #COMPOSITE | view | |
| AbapCatalog.sqlViewName | IECONTRTBBILLED | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| Analytics.dataCategory | #CUBE | view | |
| AccessControl.personalData.blocking | #REQUIRED | 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 (42)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | UtilitiesContract | I_UtilsContrToBeBlldData | UtilitiesContract | PoD service |
| KEY | ScheduledUtilitiesBillingDate | I_UtilsContrToBeBlldData | ScheduledUtilitiesBillingDate | |
| KEY | UtilitiesPortion | I_UtilsContrToBeBlldData | UtilitiesPortion | Portion |
| KEY | ScheduledMeterReadingDate | I_UtilsContrToBeBlldData | ScheduledMeterReadingDate | |
| UtilitiesBillingReason | I_UtilsContrToBeBlldData | UtilitiesBillingReason | ||
| CompanyCode | I_UtilsContrToBeBlldData | CompanyCode | Receiver Company Code | |
| Division | I_UtilsContrToBeBlldData | Division | Internal Division ID | |
| UtilitiesInstallation | I_UtilsContrToBeBlldData | UtilitiesInstallation | Installation | |
| ContractAccount | I_ContractAccountPartner | ContractAccount | Contract Acct | |
| BusinessPartner | I_ContractAccountPartner | BusinessPartner | Issuing Authority | |
| UtilsBillgBlockReason | I_UtilsContrToBeBlldData | UtilsBillgBlockReason | ||
| UtilsBillgUnblockReason | I_UtilsContrToBeBlldData | UtilsBillgUnblockReason | ||
| MeterReadingUnit | I_UtilsContrToBeBlldData | MeterReadingUnit | MR unit | |
| UtilitiesRateCategory | I_UtilsContrToBeBlldData | UtilitiesRateCategory | ||
| UtilitiesBillingClass | I_UtilsContrToBeBlldData | UtilitiesBillingClass | ||
| MeterReadingReason | I_UtilsContrToBeBlldData | MeterReadingReason | ||
| UtilitiesMoveInDate | I_UtilsContrToBeBlldData | UtilitiesMoveInDate | ||
| UtilitiesMoveOutDate | I_UtilsContrToBeBlldData | UtilitiesMoveOutDate | ||
| UtilsContrJointInvcType | I_UtilsContrToBeBlldData | UtilsContrJointInvcType | ||
| UtilitiesAccountDetnCode | I_UtilsContrToBeBlldData | UtilitiesAccountDetnCode | Act Determ. ID | |
| UtilsPortionScheduleRecordDate | I_UtilsContrToBeBlldData | UtilsPortionScheduleRecordDate | EBP frm portion | |
| SchedldUtilsInvcgPrintoutDate | I_UtilsContrToBeBlldData | SchedldUtilsInvcgPrintoutDate | ||
| NmbrOfUtilsContractsToBeBilled | ||||
| AuthorizationGroup | I_UtilsContrToBeBlldData | AuthorizationGroup | AuthorizGroup | |
| _UtilitiesPortion | I_UtilsContrToBeBlldData | _UtilitiesPortion | ||
| _UtilitiesBillingReason | I_UtilsContrToBeBlldData | _UtilitiesBillingReason | ||
| _CompanyCode | I_UtilsContrToBeBlldData | _CompanyCode | ||
| _Division | I_UtilsContrToBeBlldData | _Division | ||
| _UtilitiesInstallation | I_UtilsContrToBeBlldData | _UtilitiesInstallation | ||
| _UtilsBillgBlockReason | I_UtilsContrToBeBlldData | _UtilsBillgBlockReason | ||
| _UtilsBillgUnblockReason | I_UtilsContrToBeBlldData | _UtilsBillgUnblockReason | ||
| _MeterReadingUnit | I_UtilsContrToBeBlldData | _MeterReadingUnit | ||
| _UtilitiesRateCategory | I_UtilsContrToBeBlldData | _UtilitiesRateCategory | ||
| _UtilsBillingClass | I_UtilsContrToBeBlldData | _UtilsBillingClass | ||
| _MeterReadingReason | I_UtilsContrToBeBlldData | _MeterReadingReason | ||
| _InvcUtilsContractsJointly | I_UtilsContrToBeBlldData | _InvcUtilsContractsJointly | ||
| _UtilsAccountDetnCode | I_UtilsContrToBeBlldData | _UtilsAccountDetnCode | ||
| _ContrAcc | I_ContractAccountPartner | _ContrAcc | ||
| _BusinessPartner | I_ContractAccountPartner | _BusinessPartner | ||
| _UtilsInstIntAndExtPtOfDeliv | _UtilsInstIntAndExtPtOfDeliv | |||
| _UtilsContrToBeBlldType | _UtilsContrToBeBlldType | |||
| _UtilsContrToBeBlldDetsType | _UtilsContrToBeBlldDetsType |
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_UtilsContrToBeBlld.
-- 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: IECONTRTBBILLED
CREATE VIEW I_UtilsContrToBeBlld AS
SELECT
UtilsContrToBeBlldData.UtilitiesContract AS UtilitiesContract,
UtilsContrToBeBlldData.ScheduledUtilitiesBillingDate AS ScheduledUtilitiesBillingDate,
UtilsContrToBeBlldData.UtilitiesPortion AS UtilitiesPortion,
UtilsContrToBeBlldData.ScheduledMeterReadingDate AS ScheduledMeterReadingDate,
UtilsContrToBeBlldData.UtilitiesBillingReason AS UtilitiesBillingReason,
UtilsContrToBeBlldData.CompanyCode AS CompanyCode,
UtilsContrToBeBlldData.Division AS Division,
UtilsContrToBeBlldData.UtilitiesInstallation AS UtilitiesInstallation,
ContractAccountPartner.ContractAccount AS ContractAccount,
ContractAccountPartner.BusinessPartner AS BusinessPartner,
UtilsContrToBeBlldData.UtilsBillgBlockReason AS UtilsBillgBlockReason,
UtilsContrToBeBlldData.UtilsBillgUnblockReason AS UtilsBillgUnblockReason,
UtilsContrToBeBlldData.MeterReadingUnit AS MeterReadingUnit,
UtilsContrToBeBlldData.UtilitiesRateCategory AS UtilitiesRateCategory,
UtilsContrToBeBlldData.UtilitiesBillingClass AS UtilitiesBillingClass,
UtilsContrToBeBlldData.MeterReadingReason AS MeterReadingReason,
UtilsContrToBeBlldData.UtilitiesMoveInDate AS UtilitiesMoveInDate,
UtilsContrToBeBlldData.UtilitiesMoveOutDate AS UtilitiesMoveOutDate,
UtilsContrToBeBlldData.UtilsContrJointInvcType AS UtilsContrJointInvcType,
UtilsContrToBeBlldData.UtilitiesAccountDetnCode AS UtilitiesAccountDetnCode,
UtilsContrToBeBlldData.UtilsPortionScheduleRecordDate AS UtilsPortionScheduleRecordDate,
UtilsContrToBeBlldData.SchedldUtilsInvcgPrintoutDate AS SchedldUtilsInvcgPrintoutDate,
cast(1 as e_nrofutilscontr_vdm) AS NmbrOfUtilsContractsToBeBilled,
UtilsContrToBeBlldData.AuthorizationGroup AS AuthorizationGroup,
UtilsContrToBeBlldData._UtilitiesPortion AS _UtilitiesPortion,
UtilsContrToBeBlldData._UtilitiesBillingReason AS _UtilitiesBillingReason,
UtilsContrToBeBlldData._CompanyCode AS _CompanyCode,
UtilsContrToBeBlldData._Division AS _Division,
UtilsContrToBeBlldData._UtilitiesInstallation AS _UtilitiesInstallation,
UtilsContrToBeBlldData._UtilsBillgBlockReason AS _UtilsBillgBlockReason,
UtilsContrToBeBlldData._UtilsBillgUnblockReason AS _UtilsBillgUnblockReason,
UtilsContrToBeBlldData._MeterReadingUnit AS _MeterReadingUnit,
UtilsContrToBeBlldData._UtilitiesRateCategory AS _UtilitiesRateCategory,
UtilsContrToBeBlldData._UtilsBillingClass AS _UtilsBillingClass,
UtilsContrToBeBlldData._MeterReadingReason AS _MeterReadingReason,
UtilsContrToBeBlldData._InvcUtilsContractsJointly AS _InvcUtilsContractsJointly,
UtilsContrToBeBlldData._UtilsAccountDetnCode AS _UtilsAccountDetnCode,
ContractAccountPartner._ContrAcc AS _ContrAcc,
ContractAccountPartner._BusinessPartner AS _BusinessPartner
FROM I_UtilsContrToBeBlldData AS UtilsContrToBeBlldData
LEFT OUTER JOIN I_UtilitiesBillingDocument AS UtilitiesBillingDocument ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_UtilitiesBillingOrder AS UtilitiesBillingOrder ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_SuppressedUtilsBillingOrder AS SuppressedUtilsBillingOrder ON /* join condition not captured in parsed metadata */
INNER JOIN I_ContractAccountPartner AS ContractAccountPartner ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_UtilsInstIntAndExtPtOfDeliv AS _UtilsInstIntAndExtPtOfDeliv ON UtilitiesInstallation = _UtilsInstIntAndExtPtOfDeliv.UtilitiesInstallation AND _UtilsInstIntAndExtPtOfDeliv.UtilsPoDAllocValidityEndDate = '99991231' AND _UtilsInstIntAndExtPtOfDeliv.UtilsPoDAllocValidityEndTime = '235959' -- association [0..*]
LEFT OUTER JOIN I_UtilsContrToBeBlldType AS _UtilsContrToBeBlldType ON UtilsContrToBeBlldType = _UtilsContrToBeBlldType.UtilsContrToBeBlldType -- association [1..1]
LEFT OUTER JOIN I_UtilsContrToBeBlldDetsType AS _UtilsContrToBeBlldDetsType ON UtilsContrToBeBlldDetsType = _UtilsContrToBeBlldDetsType.UtilsContrToBeBlldDetsType -- 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