I_UtilsInvcgDocBillingData
Billing Data for Invoicing Document
I_UtilsInvcgDocBillingData is a Composite CDS View that provides data about "Billing Data for Invoicing Document" in SAP S/4HANA. It reads from 9 data sources and exposes 55 fields. It has 3 associations to related views.
Data Sources (9)
| Source | Alias | Join Type |
|---|---|---|
| I_ActvUtilsCAInvcgLockRsn | ActvUtilsCAInvcgLockRsn | left_outer |
| I_ActvUtilsContrInvcgLockRsn | ActvUtilsContrInvcgLockRsn | left_outer |
| I_ContractAccountPartner | ContractAccountPartner | inner |
| I_UtilitiesBillingDocument | UtilitiesBillingDocument | inner |
| I_UtilitiesContract | UtilitiesContract | inner |
| I_UtilitiesInstallationHist | UtilitiesInstallationHist | inner |
| I_UtilitiesInvoicingDocument | UtilitiesInvoicingDocument | from |
| I_UtilsBillgDocInvcgHistory | UtilsBillgDocInvcgHistory | inner |
| I_UtilsInvcgDocOutsrtgDataCntr | UtilsInvcgDocOutsrtgDataCntr | left_outer |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_UtilitiesPortionScheduleRecd | _UtilitiesPortionScheduleRecd | $projection.UtilitiesPortion = _UtilitiesPortionScheduleRecd.UtilitiesPortion and $projection.UtilsPortionScheduleRecordDate = _UtilitiesPortionScheduleRecd.UtilsPortionScheduleRecordDate |
| [0..1] | I_UtilsBillgDocIntAndExtPoD | _UtilsBillgDocIntAndExtPoD | $projection.UtilitiesBillingDocument = _UtilsBillgDocIntAndExtPoD.UtilitiesBillingDocument |
| [0..1] | I_CAInvcgLockReason | _CAInvcgLockReason | $projection.CABusinessLockReason = _CAInvcgLockReason.CAInvcgLockReason |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Billing Data for Invoicing Document | view | |
| VDM.viewType | #COMPOSITE | view | |
| AbapCatalog.sqlViewName | IEINVDOCBILLDATA | 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 |
Fields (55)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| UtilitiesInvoicingDocument | I_UtilitiesInvoicingDocument | UtilitiesInvoicingDocument | Reopen | |
| UtilitiesBillingDocument | I_UtilsBillgDocInvcgHistory | UtilitiesBillingDocument | ||
| BusinessPartner | I_UtilitiesInvoicingDocument | BusinessPartner | Issuing Authority | |
| ContractAccount | I_UtilitiesInvoicingDocument | ContractAccount | Contract Acct | |
| UtilitiesContract | I_UtilitiesBillingDocument | UtilitiesContract | PoD service | |
| CompanyCode | I_UtilitiesContract | CompanyCode | Receiver Company Code | |
| Division | I_UtilitiesContract | UtilitiesDivision | Insurance LOB | |
| UtilitiesInstallation | I_UtilitiesContract | UtilitiesInstallation | Installation | |
| UtilitiesMoveInDate | I_UtilitiesContract | UtilitiesMoveInDate | ||
| UtilitiesMoveOutDate | I_UtilitiesContract | UtilitiesMoveOutDate | ||
| UtilitiesAccountDetnCode | I_UtilitiesContract | UtilitiesAccountDetnCode | Act Determ. ID | |
| UtilsContrJointInvcType | I_UtilitiesContract | UtilsContrJointInvcType | ||
| UtilsBillgOutsortingReason | I_UtilitiesContract | UtilsBillgOutsortingReason | ||
| UtilitiesBillingReason | I_UtilitiesBillingDocument | UtilitiesBillingReason | Billing Trans. | |
| UtilsBillgPeriodStartDate | I_UtilitiesBillingDocument | UtilsBillgPeriodStartDate | ||
| UtilsBillgPeriodEndDate | I_UtilitiesBillingDocument | UtilsBillgPeriodEndDate | ||
| UtilitiesPortion | I_UtilitiesBillingDocument | UtilitiesPortion | Portion | |
| ScheduledUtilitiesBillingDate | I_UtilitiesBillingDocument | ScheduledUtilitiesBillingDate | ||
| UtilsPortionScheduleRecordDate | I_UtilitiesBillingDocument | UtilsPortionScheduleRecordDate | EBP frm portion | |
| MeterReadingUnit | I_UtilitiesBillingDocument | MeterReadingUnit | MR unit | |
| ScheduledMeterReadingDate | I_UtilitiesBillingDocument | ScheduledMeterReadingDate | ||
| UtilsBillgDocCreationDate | I_UtilitiesBillingDocument | UtilsBillgDocCreationDate | ||
| UtilitiesAccountClass | I_UtilitiesBillingDocument | UtilitiesAccountClass | Account Class | |
| UtilsContrSpcfcBdgtBillgCycle | I_UtilitiesContract | UtilsContrSpcfcBdgtBillgCycle | ||
| UtilsDefaultBdgtBillgCycle | ||||
| UtilitiesRateCategory | I_UtilitiesInstallationHist | UtilitiesRateCategory | Rate category | |
| UtilitiesBillingClass | I_UtilitiesInstallationHist | UtilitiesBillingClass | Billing Class | |
| AltvContractAcctForCollvBills | ||||
| UtilsInvcgDocIsNotReleased | I_UtilitiesInvoicingDocument | UtilsInvcgDocIsNotReleased | Not released | |
| UtilsInvcgDocIsSimulated | I_UtilitiesInvoicingDocument | UtilsInvcgDocIsSimulated | Simulation Doc. | |
| UtilsInvcgDocIsReversed | I_UtilitiesInvoicingDocument | UtilsInvcgDocIsReversed | Reversed | |
| AuthorizationGroup | I_UtilitiesInvoicingDocument | AuthorizationGroup | AuthorizGroup | |
| NmbrOfUtilsInvoicingDocuments | ||||
| NumberOfUtilitiesContracts | ||||
| _UtilitiesBillingDocument | I_UtilsBillgDocInvcgHistory | _UtilitiesBillingDocument | ||
| _BusinessPartner | I_UtilitiesInvoicingDocument | _BusinessPartner | ||
| _UtilitiesContract | I_UtilitiesBillingDocument | _UtilitiesContract | ||
| _CompanyCode | I_UtilitiesContract | _CompanyCode | ||
| _Division | I_UtilitiesContract | _Division | ||
| _UtilitiesInstallation | I_UtilitiesContract | _UtilitiesInstallation | ||
| _UtilsAccountDetnCode | I_UtilitiesContract | _UtilsAccountDetnCode | ||
| _InvcUtilsContractsJointly | I_UtilitiesContract | _InvcUtilsContractsJointly | ||
| _UtilsBillgOutsortingGroup | I_UtilitiesContract | _UtilsBillgOutsortingGroup | ||
| _UtilitiesBillingReason | I_UtilitiesBillingDocument | _UtilitiesBillingReason | ||
| _UtilitiesPortion | I_UtilitiesBillingDocument | _UtilitiesPortion | ||
| _MeterReadingUnit | I_UtilitiesBillingDocument | _MeterReadingUnit | ||
| _UtilsAccountClass | I_UtilitiesBillingDocument | _UtilsAccountClass | ||
| _UtilsContrSpcfcBdgtBillgCyc | I_UtilitiesContract | _UtilsContrSpcfcBdgtBillgCyc | ||
| _UtilitiesBdgtBillgCyc | ||||
| _UtilitiesRateCategory | I_UtilitiesInstallationHist | _UtilitiesRateCategory | ||
| _UtilsBillingClass | I_UtilitiesInstallationHist | _UtilsBillingClass | ||
| _AltvContrAcc | I_ContractAccountPartner | _AltvContrAcc | ||
| _UtilitiesPortionScheduleRecd | _UtilitiesPortionScheduleRecd | |||
| _UtilsBillgDocIntAndExtPoD | _UtilsBillgDocIntAndExtPoD | |||
| _CAInvcgLockReason | _CAInvcgLockReason |
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_UtilsInvcgDocBillingData.
-- 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: IEINVDOCBILLDATA
CREATE VIEW I_UtilsInvcgDocBillingData AS
SELECT
UtilitiesInvoicingDocument.UtilitiesInvoicingDocument AS UtilitiesInvoicingDocument,
UtilsBillgDocInvcgHistory.UtilitiesBillingDocument AS UtilitiesBillingDocument,
UtilitiesInvoicingDocument.BusinessPartner AS BusinessPartner,
UtilitiesInvoicingDocument.ContractAccount AS ContractAccount,
UtilitiesBillingDocument.UtilitiesContract AS UtilitiesContract,
UtilitiesContract.CompanyCode AS CompanyCode,
UtilitiesContract.UtilitiesDivision AS Division,
UtilitiesContract.UtilitiesInstallation AS UtilitiesInstallation,
UtilitiesContract.UtilitiesMoveInDate AS UtilitiesMoveInDate,
UtilitiesContract.UtilitiesMoveOutDate AS UtilitiesMoveOutDate,
UtilitiesContract.UtilitiesAccountDetnCode AS UtilitiesAccountDetnCode,
UtilitiesContract.UtilsContrJointInvcType AS UtilsContrJointInvcType,
UtilitiesContract.UtilsBillgOutsortingReason AS UtilsBillgOutsortingReason,
UtilitiesBillingDocument.UtilitiesBillingReason AS UtilitiesBillingReason,
UtilitiesBillingDocument.UtilsBillgPeriodStartDate AS UtilsBillgPeriodStartDate,
UtilitiesBillingDocument.UtilsBillgPeriodEndDate AS UtilsBillgPeriodEndDate,
UtilitiesBillingDocument.UtilitiesPortion AS UtilitiesPortion,
UtilitiesBillingDocument.ScheduledUtilitiesBillingDate AS ScheduledUtilitiesBillingDate,
UtilitiesBillingDocument.UtilsPortionScheduleRecordDate AS UtilsPortionScheduleRecordDate,
UtilitiesBillingDocument.MeterReadingUnit AS MeterReadingUnit,
UtilitiesBillingDocument.ScheduledMeterReadingDate AS ScheduledMeterReadingDate,
UtilitiesBillingDocument.UtilsBillgDocCreationDate AS UtilsBillgDocCreationDate,
UtilitiesBillingDocument.UtilitiesAccountClass AS UtilitiesAccountClass,
UtilitiesContract.UtilsContrSpcfcBdgtBillgCycle AS UtilsContrSpcfcBdgtBillgCycle,
UtilitiesBillingDocument._UtilitiesPortion.UtilsDefaultBdgtBillgCycle AS UtilsDefaultBdgtBillgCycle,
UtilitiesInstallationHist.UtilitiesRateCategory AS UtilitiesRateCategory,
UtilitiesInstallationHist.UtilitiesBillingClass AS UtilitiesBillingClass,
cast(ContractAccountPartner.AltvContractAcctForCollvBills as e_collvbillacct_vdm preserving type) AS AltvContractAcctForCollvBills,
UtilitiesInvoicingDocument.UtilsInvcgDocIsNotReleased AS UtilsInvcgDocIsNotReleased,
UtilitiesInvoicingDocument.UtilsInvcgDocIsSimulated AS UtilsInvcgDocIsSimulated,
UtilitiesInvoicingDocument.UtilsInvcgDocIsReversed AS UtilsInvcgDocIsReversed,
UtilitiesInvoicingDocument.AuthorizationGroup AS AuthorizationGroup,
cast(1 as e_invoicingdoc_vdm) AS NmbrOfUtilsInvoicingDocuments,
cast(1 as e_nrofutilscontr_vdm) AS NumberOfUtilitiesContracts,
UtilsBillgDocInvcgHistory._UtilitiesBillingDocument AS _UtilitiesBillingDocument,
UtilitiesInvoicingDocument._BusinessPartner AS _BusinessPartner,
UtilitiesBillingDocument._UtilitiesContract AS _UtilitiesContract,
UtilitiesContract._CompanyCode AS _CompanyCode,
UtilitiesContract._Division AS _Division,
UtilitiesContract._UtilitiesInstallation AS _UtilitiesInstallation,
UtilitiesContract._UtilsAccountDetnCode AS _UtilsAccountDetnCode,
UtilitiesContract._InvcUtilsContractsJointly AS _InvcUtilsContractsJointly,
UtilitiesContract._UtilsBillgOutsortingGroup AS _UtilsBillgOutsortingGroup,
UtilitiesBillingDocument._UtilitiesBillingReason AS _UtilitiesBillingReason,
UtilitiesBillingDocument._UtilitiesPortion AS _UtilitiesPortion,
UtilitiesBillingDocument._MeterReadingUnit AS _MeterReadingUnit,
UtilitiesBillingDocument._UtilsAccountClass AS _UtilsAccountClass,
UtilitiesContract._UtilsContrSpcfcBdgtBillgCyc AS _UtilsContrSpcfcBdgtBillgCyc,
UtilitiesBillingDocument._UtilitiesPortion._UtilitiesBdgtBillgCyc AS _UtilitiesBdgtBillgCyc,
UtilitiesInstallationHist._UtilitiesRateCategory AS _UtilitiesRateCategory,
UtilitiesInstallationHist._UtilsBillingClass AS _UtilsBillingClass,
ContractAccountPartner._AltvContrAcc AS _AltvContrAcc
FROM I_UtilitiesInvoicingDocument AS UtilitiesInvoicingDocument
INNER JOIN I_UtilsBillgDocInvcgHistory AS UtilsBillgDocInvcgHistory ON /* join condition not captured in parsed metadata */
INNER JOIN I_UtilitiesBillingDocument AS UtilitiesBillingDocument ON /* join condition not captured in parsed metadata */
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 */
INNER JOIN I_ContractAccountPartner AS ContractAccountPartner 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_UtilsInvcgDocOutsrtgDataCntr AS UtilsInvcgDocOutsrtgDataCntr ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_UtilitiesPortionScheduleRecd AS _UtilitiesPortionScheduleRecd ON UtilitiesPortion = _UtilitiesPortionScheduleRecd.UtilitiesPortion AND UtilsPortionScheduleRecordDate = _UtilitiesPortionScheduleRecd.UtilsPortionScheduleRecordDate -- association [0..1]
LEFT OUTER JOIN I_UtilsBillgDocIntAndExtPoD AS _UtilsBillgDocIntAndExtPoD ON UtilitiesBillingDocument = _UtilsBillgDocIntAndExtPoD.UtilitiesBillingDocument -- association [0..1]
LEFT OUTER JOIN I_CAInvcgLockReason AS _CAInvcgLockReason ON CABusinessLockReason = _CAInvcgLockReason.CAInvcgLockReason -- association [0..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