I_UtilsContrToBeBlldInvcdAnlys
Analysis of Contract to Be Billed and Invoiced
I_UtilsContrToBeBlldInvcdAnlys is a Composite CDS View (Cube) that provides data about "Analysis of Contract to Be Billed and Invoiced" in SAP S/4HANA. It reads from 11 data sources and exposes 41 fields with key fields UtilitiesContract, ScheduledUtilitiesBillingDate, UtilitiesPortion, ScheduledMeterReadingDate. It has 7 associations to related views.
Data Sources (11)
| Source | Alias | Join Type |
|---|---|---|
| I_ActvUtilsCAInvcgLockRsn | ActvUtilsCAInvcgLockRsn | left_outer |
| I_ActvUtilsContrInvcgLockRsn | ActvUtilsContrInvcgLockRsn | left_outer |
| I_ContractAccountPartner | ContractAccountPartner | inner |
| P_SuppressedUtilsBillingOrder | SuppressedUtilsBillingOrder | left_outer |
| I_UtilitiesBillingDocument | UtilitiesBillingDocument | left_outer |
| I_UtilitiesBillingOrder | UtilitiesBillingOrder | left_outer |
| I_UtilitiesInvoicingDocument | UtilitiesInvoicingDocument | left_outer |
| I_UtilitiesInvoicingOrder | UtilitiesInvoicingOrder | left_outer |
| I_UtilsBillgDocInvcgHistory | UtilsBillgDocInvcgHistory | left_outer |
| I_UtilsContrAcctBlkdByJntInvcg | UtilsContrAcctBlkdByJntInvcg | left_outer |
| I_UtilsContrToBeBlldData | UtilsContrToBeBlldData | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_ContractAccountHeader | _ContractAccountHeader | $projection.ContractAccount = _ContractAccountHeader.ContractAccount |
| [1..1] | I_UtilsContrToBeBlldType | _UtilsContrToBeBlldType | $projection.UtilsContrToBeBlldType = _UtilsContrToBeBlldType.UtilsContrToBeBlldType |
| [1..1] | I_UtilsContrToBeBlldDetsType | _UtilsContrToBeBlldDetsType | $projection.UtilsContrToBeBlldDetsType = _UtilsContrToBeBlldDetsType.UtilsContrToBeBlldDetsType |
| [1..1] | I_UtilsContrToBeInvcdPrgrs | _UtilsContrToBeInvcdPrgrs | $projection.UtilsContrToBeInvcdPrgrs = _UtilsContrToBeInvcdPrgrs.UtilsContrToBeInvcdPrgrs |
| [1..1] | I_UtilsContrToBeInvcdPrgrsSts | _UtilsContrToBeInvcdPrgrsSts | $projection.UtilsContrToBeInvcdPrgrsSts = _UtilsContrToBeInvcdPrgrsSts.UtilsContrToBeInvcdPrgrsSts |
| [0..1] | I_CAInvcgLockReason | _CAInvcgLockReason | $projection.CABusinessLockReason = _CAInvcgLockReason.CAInvcgLockReason |
| [0..*] | I_UtilsInstIntAndExtPtOfDeliv | _UtilsInstIntAndExtPtOfDeliv | $projection.UtilitiesInstallation = _UtilsInstIntAndExtPtOfDeliv.UtilitiesInstallation and _UtilsInstIntAndExtPtOfDeliv.UtilsPoDAllocValidityEndDate = '99991231' and _UtilsInstIntAndExtPtOfDeliv.UtilsPoDAllocValidityEndTime = '235959' |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Analysis of Contract to Be Billed and Invoiced | view | |
| VDM.viewType | #COMPOSITE | view | |
| Analytics.dataCategory | #CUBE | view | |
| AbapCatalog.sqlViewName | IECONTRTBBILINV | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.allowExtensions | true | view |
Fields (41)
| 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 | |
| BusinessPartner | I_ContractAccountPartner | BusinessPartner | Issuing Authority | |
| ContractAccount | I_UtilsContrToBeBlldData | ContractAccount | Contract Acct | |
| UtilsBillgBlockReason | I_UtilsContrToBeBlldData | UtilsBillgBlockReason | ||
| UtilsBillgUnblockReason | I_UtilsContrToBeBlldData | UtilsBillgUnblockReason | ||
| CompanyCode | I_UtilsContrToBeBlldData | CompanyCode | Receiver Company Code | |
| Division | I_UtilsContrToBeBlldData | Division | Internal Division ID | |
| UtilitiesInstallation | I_UtilsContrToBeBlldData | UtilitiesInstallation | Installation | |
| CAAccountDeterminationCode | ||||
| UtilitiesAccountDetnCode | I_UtilsContrToBeBlldData | UtilitiesAccountDetnCode | Act Determ. ID | |
| MeterReadingUnit | I_UtilsContrToBeBlldData | MeterReadingUnit | MR unit | |
| UtilitiesMoveInDate | I_UtilsContrToBeBlldData | UtilitiesMoveInDate | ||
| UtilitiesMoveOutDate | I_UtilsContrToBeBlldData | UtilitiesMoveOutDate | ||
| UtilitiesRateCategory | I_UtilsContrToBeBlldData | UtilitiesRateCategory | ||
| UtilitiesBillingClass | I_UtilsContrToBeBlldData | UtilitiesBillingClass | ||
| AltvContractAcctForCollvBills | ||||
| AuthorizationGroup | I_UtilsContrToBeBlldData | AuthorizationGroup | AuthorizGroup | |
| NmbrOfUtilsContrToBeInvoiced | ||||
| _UtilitiesPortion | I_UtilsContrToBeBlldData | _UtilitiesPortion | ||
| _BusinessPartner | I_ContractAccountPartner | _BusinessPartner | ||
| _UtilsBillgBlockReason | I_UtilsContrToBeBlldData | _UtilsBillgBlockReason | ||
| _UtilsBillgUnblockReason | I_UtilsContrToBeBlldData | _UtilsBillgUnblockReason | ||
| _CompanyCode | I_UtilsContrToBeBlldData | _CompanyCode | ||
| _Division | I_UtilsContrToBeBlldData | _Division | ||
| _UtilitiesInstallation | I_UtilsContrToBeBlldData | _UtilitiesInstallation | ||
| _UtilsAccountDetnCode | I_UtilsContrToBeBlldData | _UtilsAccountDetnCode | ||
| _AcctDetnCode | I_ContractAccountPartner | _AcctDetnCode | ||
| _MeterReadingUnit | I_UtilsContrToBeBlldData | _MeterReadingUnit | ||
| _UtilitiesRateCategory | I_UtilsContrToBeBlldData | _UtilitiesRateCategory | ||
| _UtilsBillingClass | I_UtilsContrToBeBlldData | _UtilsBillingClass | ||
| _AltvContrAcc | I_ContractAccountPartner | _AltvContrAcc | ||
| _ContractAccountHeader | _ContractAccountHeader | |||
| _UtilsContrToBeBlldType | _UtilsContrToBeBlldType | |||
| _UtilsContrToBeBlldDetsType | _UtilsContrToBeBlldDetsType | |||
| _UtilsContrToBeInvcdPrgrs | _UtilsContrToBeInvcdPrgrs | |||
| _UtilsContrToBeInvcdPrgrsSts | _UtilsContrToBeInvcdPrgrsSts | |||
| _CAInvcgLockReason | _CAInvcgLockReason | |||
| _UtilsInstIntAndExtPtOfDeliv | _UtilsInstIntAndExtPtOfDeliv |
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_UtilsContrToBeBlldInvcdAnlys.
-- 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: IECONTRTBBILINV
CREATE VIEW I_UtilsContrToBeBlldInvcdAnlys AS
SELECT
UtilsContrToBeBlldData.UtilitiesContract AS UtilitiesContract,
UtilsContrToBeBlldData.ScheduledUtilitiesBillingDate AS ScheduledUtilitiesBillingDate,
UtilsContrToBeBlldData.UtilitiesPortion AS UtilitiesPortion,
UtilsContrToBeBlldData.ScheduledMeterReadingDate AS ScheduledMeterReadingDate,
ContractAccountPartner.BusinessPartner AS BusinessPartner,
UtilsContrToBeBlldData.ContractAccount AS ContractAccount,
UtilsContrToBeBlldData.UtilsBillgBlockReason AS UtilsBillgBlockReason,
UtilsContrToBeBlldData.UtilsBillgUnblockReason AS UtilsBillgUnblockReason,
UtilsContrToBeBlldData.CompanyCode AS CompanyCode,
UtilsContrToBeBlldData.Division AS Division,
UtilsContrToBeBlldData.UtilitiesInstallation AS UtilitiesInstallation,
cast(ContractAccountPartner.CAAccountDeterminationCode as e_kofiz_ca_vdm preserving type) AS CAAccountDeterminationCode,
UtilsContrToBeBlldData.UtilitiesAccountDetnCode AS UtilitiesAccountDetnCode,
UtilsContrToBeBlldData.MeterReadingUnit AS MeterReadingUnit,
UtilsContrToBeBlldData.UtilitiesMoveInDate AS UtilitiesMoveInDate,
UtilsContrToBeBlldData.UtilitiesMoveOutDate AS UtilitiesMoveOutDate,
UtilsContrToBeBlldData.UtilitiesRateCategory AS UtilitiesRateCategory,
UtilsContrToBeBlldData.UtilitiesBillingClass AS UtilitiesBillingClass,
cast(ContractAccountPartner.AltvContractAcctForCollvBills as e_collvbillacct_vdm preserving type) AS AltvContractAcctForCollvBills,
UtilsContrToBeBlldData.AuthorizationGroup AS AuthorizationGroup,
cast(1 as e_nrofutilscontr_vdm) AS NmbrOfUtilsContrToBeInvoiced,
UtilsContrToBeBlldData._UtilitiesPortion AS _UtilitiesPortion,
ContractAccountPartner._BusinessPartner AS _BusinessPartner,
UtilsContrToBeBlldData._UtilsBillgBlockReason AS _UtilsBillgBlockReason,
UtilsContrToBeBlldData._UtilsBillgUnblockReason AS _UtilsBillgUnblockReason,
UtilsContrToBeBlldData._CompanyCode AS _CompanyCode,
UtilsContrToBeBlldData._Division AS _Division,
UtilsContrToBeBlldData._UtilitiesInstallation AS _UtilitiesInstallation,
UtilsContrToBeBlldData._UtilsAccountDetnCode AS _UtilsAccountDetnCode,
ContractAccountPartner._AcctDetnCode AS _AcctDetnCode,
UtilsContrToBeBlldData._MeterReadingUnit AS _MeterReadingUnit,
UtilsContrToBeBlldData._UtilitiesRateCategory AS _UtilitiesRateCategory,
UtilsContrToBeBlldData._UtilsBillingClass AS _UtilsBillingClass,
ContractAccountPartner._AltvContrAcc AS _AltvContrAcc
FROM I_UtilsContrToBeBlldData AS UtilsContrToBeBlldData
INNER JOIN I_ContractAccountPartner AS ContractAccountPartner 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 */
LEFT OUTER JOIN I_UtilitiesBillingDocument AS UtilitiesBillingDocument ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_UtilsBillgDocInvcgHistory AS UtilsBillgDocInvcgHistory ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_UtilitiesInvoicingDocument AS UtilitiesInvoicingDocument ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_UtilitiesInvoicingOrder AS UtilitiesInvoicingOrder ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_UtilsContrAcctBlkdByJntInvcg AS UtilsContrAcctBlkdByJntInvcg ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ActvUtilsCAInvcgLockRsn AS ActvUtilsCAInvcgLockRsn ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ActvUtilsContrInvcgLockRsn AS ActvUtilsContrInvcgLockRsn ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ContractAccountHeader AS _ContractAccountHeader ON ContractAccount = _ContractAccountHeader.ContractAccount -- association [1..1]
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]
LEFT OUTER JOIN I_UtilsContrToBeInvcdPrgrs AS _UtilsContrToBeInvcdPrgrs ON UtilsContrToBeInvcdPrgrs = _UtilsContrToBeInvcdPrgrs.UtilsContrToBeInvcdPrgrs -- association [1..1]
LEFT OUTER JOIN I_UtilsContrToBeInvcdPrgrsSts AS _UtilsContrToBeInvcdPrgrsSts ON UtilsContrToBeInvcdPrgrsSts = _UtilsContrToBeInvcdPrgrsSts.UtilsContrToBeInvcdPrgrsSts -- association [1..1]
LEFT OUTER JOIN I_CAInvcgLockReason AS _CAInvcgLockReason ON CABusinessLockReason = _CAInvcgLockReason.CAInvcgLockReason -- association [0..1]
LEFT OUTER JOIN I_UtilsInstIntAndExtPtOfDeliv AS _UtilsInstIntAndExtPtOfDeliv ON UtilitiesInstallation = _UtilsInstIntAndExtPtOfDeliv.UtilitiesInstallation AND _UtilsInstIntAndExtPtOfDeliv.UtilsPoDAllocValidityEndDate = '99991231' AND _UtilsInstIntAndExtPtOfDeliv.UtilsPoDAllocValidityEndTime = '235959' -- association [0..*]
;
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