C_UtilsInvcgDocBillingData

DDL: C_UTILSINVCGDOCBILLINGDATA SQL: CEOUTINVDOCBLLGD Type: view CONSUMPTION

Billing Data for Invoicing Document

C_UtilsInvcgDocBillingData is a Consumption CDS View that provides data about "Billing Data for Invoicing Document" in SAP S/4HANA. It reads from 1 data source (I_UtilsInvcgDocBillingData) and exposes 53 fields with key fields UtilitiesInvoicingDocument, UtilitiesBillingDocument. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_UtilsInvcgDocBillingData UtilsInvcgDocBillingData from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_ContractAccountHeader _ContractAccountHeader $projection.ContractAccount = _ContractAccountHeader.ContractAccount
[0..1] I_OutsrtdInvcgDocBillgNetAmt _OutsrtdInvcgDocBillgNetAmt $projection.UtilitiesInvoicingDocument = _OutsrtdInvcgDocBillgNetAmt.UtilitiesInvoicingDocument and $projection.UtilitiesBillingDocument = _OutsrtdInvcgDocBillgNetAmt.UtilitiesBillingDocument
[0..*] C_UtilsBillgDocMeteringData _UtilsBillgDocMeteringData $projection.UtilitiesBillingDocument = _UtilsBillgDocMeteringData.UtilitiesBillingDocument

Annotations (13)

NameValueLevelField
EndUserText.label Billing Data for Invoicing Document view
VDM.viewType #CONSUMPTION view
AbapCatalog.sqlViewName CEOUTINVDOCBLLGD 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
UI.headerInfo.typeName {@i18n>@BILLING_DOCUMENT} view
UI.headerInfo.typeNamePlural {@i18n>@BILLING_DOCUMENTS} view
UI.headerInfo.title.label {@i18n>@BILLING_DOCUMENT} view
UI.headerInfo.title.type #STANDARD view
UI.headerInfo.title.value UtilitiesBillingDocument view

Fields (53)

KeyFieldSource TableSource FieldDescription
KEY UtilitiesInvoicingDocument I_UtilsInvcgDocBillingData UtilitiesInvoicingDocument
KEY UtilitiesBillingDocument I_UtilsInvcgDocBillingData UtilitiesBillingDocument
UtilsBillgDocTotalNetAmt _OutsrtdInvcgDocBillgNetAmt UtilsBillgDocTotalNetAmt
UtilsBillgDocTransactionCrcy _OutsrtdInvcgDocBillgNetAmt UtilsBillgDocTransactionCrcy
BusinessPartner I_UtilsInvcgDocBillingData BusinessPartner Issuing Authority
ContractAccount I_UtilsInvcgDocBillingData ContractAccount Contract Acct
ContractAccountName _ContractAccountHeader ContractAccountName Cont. acct name
UtilitiesContract I_UtilsInvcgDocBillingData UtilitiesContract
CompanyCode I_UtilsInvcgDocBillingData CompanyCode Receiver Company Code
Division I_UtilsInvcgDocBillingData Division Internal Division ID
UtilitiesInstallation I_UtilsInvcgDocBillingData UtilitiesInstallation
UtilitiesMoveInDate I_UtilsInvcgDocBillingData UtilitiesMoveInDate
UtilitiesMoveOutDate I_UtilsInvcgDocBillingData UtilitiesMoveOutDate
UtilitiesAccountDetnCode I_UtilsInvcgDocBillingData UtilitiesAccountDetnCode
UtilsBillgOutsortingReason I_UtilsInvcgDocBillingData UtilsBillgOutsortingReason
UtilitiesBillingReason I_UtilsInvcgDocBillingData UtilitiesBillingReason
UtilsBillgPeriodStartDate I_UtilsInvcgDocBillingData UtilsBillgPeriodStartDate
UtilsBillgPeriodEndDate I_UtilsInvcgDocBillingData UtilsBillgPeriodEndDate
UtilitiesPortion I_UtilsInvcgDocBillingData UtilitiesPortion
ScheduledUtilitiesBillingDate I_UtilsInvcgDocBillingData ScheduledUtilitiesBillingDate
SchedldUtilsInvcgPrintoutDate
MeterReadingUnit I_UtilsInvcgDocBillingData MeterReadingUnit
ScheduledMeterReadingDate I_UtilsInvcgDocBillingData ScheduledMeterReadingDate
UtilsBillgDocCreationDate I_UtilsInvcgDocBillingData UtilsBillgDocCreationDate
UtilitiesAccountClass I_UtilsInvcgDocBillingData UtilitiesAccountClass
UtilsContrSpcfcBdgtBillgCycle I_UtilsInvcgDocBillingData UtilsContrSpcfcBdgtBillgCycle
UtilsDefaultBdgtBillgCycle I_UtilsInvcgDocBillingData UtilsDefaultBdgtBillgCycle
UtilitiesRateCategory I_UtilsInvcgDocBillingData UtilitiesRateCategory
UtilitiesBillingClass I_UtilsInvcgDocBillingData UtilitiesBillingClass
UtilsExternalPointOfDelivery
AddressID
UtilsPostalAddressFormatted
AuthorizationGroup I_UtilsInvcgDocBillingData AuthorizationGroup AuthorizGroup
UtilitiesPremise
_UtilitiesBillingDocument I_UtilsInvcgDocBillingData _UtilitiesBillingDocument
_BusinessPartner I_UtilsInvcgDocBillingData _BusinessPartner
_UtilitiesContract I_UtilsInvcgDocBillingData _UtilitiesContract
_CompanyCode I_UtilsInvcgDocBillingData _CompanyCode
_Division I_UtilsInvcgDocBillingData _Division
_UtilitiesInstallation I_UtilsInvcgDocBillingData _UtilitiesInstallation
_UtilsAccountDetnCode I_UtilsInvcgDocBillingData _UtilsAccountDetnCode
_UtilsBillgOutsortingGroup I_UtilsInvcgDocBillingData _UtilsBillgOutsortingGroup
_UtilitiesBillingReason I_UtilsInvcgDocBillingData _UtilitiesBillingReason
_UtilitiesPortion I_UtilsInvcgDocBillingData _UtilitiesPortion
_MeterReadingUnit I_UtilsInvcgDocBillingData _MeterReadingUnit
_UtilsAccountClass I_UtilsInvcgDocBillingData _UtilsAccountClass
_UtilsContrSpcfcBdgtBillgCyc I_UtilsInvcgDocBillingData _UtilsContrSpcfcBdgtBillgCyc
_UtilitiesBdgtBillgCyc I_UtilsInvcgDocBillingData _UtilitiesBdgtBillgCyc
_UtilitiesRateCategory I_UtilsInvcgDocBillingData _UtilitiesRateCategory
_UtilsBillingClass I_UtilsInvcgDocBillingData _UtilsBillingClass
_ContractAccountHeader _ContractAccountHeader
_OutsrtdInvcgDocBillgNetAmt _OutsrtdInvcgDocBillgNetAmt
_UtilsBillgDocMeteringData _UtilsBillgDocMeteringData

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_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: CEOUTINVDOCBLLGD

CREATE VIEW C_UtilsInvcgDocBillingData AS
SELECT
  UtilsInvcgDocBillingData.UtilitiesInvoicingDocument AS UtilitiesInvoicingDocument,
  UtilsInvcgDocBillingData.UtilitiesBillingDocument AS UtilitiesBillingDocument,
  _OutsrtdInvcgDocBillgNetAmt.UtilsBillgDocTotalNetAmt AS UtilsBillgDocTotalNetAmt,
  _OutsrtdInvcgDocBillgNetAmt.UtilsBillgDocTransactionCrcy AS UtilsBillgDocTransactionCrcy,
  UtilsInvcgDocBillingData.BusinessPartner AS BusinessPartner,
  UtilsInvcgDocBillingData.ContractAccount AS ContractAccount,
  _ContractAccountHeader.ContractAccountName AS ContractAccountName,
  UtilsInvcgDocBillingData.UtilitiesContract AS UtilitiesContract,
  UtilsInvcgDocBillingData.CompanyCode AS CompanyCode,
  UtilsInvcgDocBillingData.Division AS Division,
  UtilsInvcgDocBillingData.UtilitiesInstallation AS UtilitiesInstallation,
  UtilsInvcgDocBillingData.UtilitiesMoveInDate AS UtilitiesMoveInDate,
  UtilsInvcgDocBillingData.UtilitiesMoveOutDate AS UtilitiesMoveOutDate,
  UtilsInvcgDocBillingData.UtilitiesAccountDetnCode AS UtilitiesAccountDetnCode,
  UtilsInvcgDocBillingData.UtilsBillgOutsortingReason AS UtilsBillgOutsortingReason,
  UtilsInvcgDocBillingData.UtilitiesBillingReason AS UtilitiesBillingReason,
  UtilsInvcgDocBillingData.UtilsBillgPeriodStartDate AS UtilsBillgPeriodStartDate,
  UtilsInvcgDocBillingData.UtilsBillgPeriodEndDate AS UtilsBillgPeriodEndDate,
  UtilsInvcgDocBillingData.UtilitiesPortion AS UtilitiesPortion,
  UtilsInvcgDocBillingData.ScheduledUtilitiesBillingDate AS ScheduledUtilitiesBillingDate,
  UtilsInvcgDocBillingData._UtilitiesPortionScheduleRecd.SchedldUtilsInvcgPrintoutDate AS SchedldUtilsInvcgPrintoutDate,
  UtilsInvcgDocBillingData.MeterReadingUnit AS MeterReadingUnit,
  UtilsInvcgDocBillingData.ScheduledMeterReadingDate AS ScheduledMeterReadingDate,
  UtilsInvcgDocBillingData.UtilsBillgDocCreationDate AS UtilsBillgDocCreationDate,
  UtilsInvcgDocBillingData.UtilitiesAccountClass AS UtilitiesAccountClass,
  UtilsInvcgDocBillingData.UtilsContrSpcfcBdgtBillgCycle AS UtilsContrSpcfcBdgtBillgCycle,
  UtilsInvcgDocBillingData.UtilsDefaultBdgtBillgCycle AS UtilsDefaultBdgtBillgCycle,
  UtilsInvcgDocBillingData.UtilitiesRateCategory AS UtilitiesRateCategory,
  UtilsInvcgDocBillingData.UtilitiesBillingClass AS UtilitiesBillingClass,
  UtilsInvcgDocBillingData._UtilsBillgDocIntAndExtPoD.UtilsExternalPointOfDelivery AS UtilsExternalPointOfDelivery,
  UtilsInvcgDocBillingData._UtilitiesInstallation._UtilitiesPremise._UtilsTechObjLocationAddr.AddressID AS AddressID,
  cast('' as abap.sstring( 256 )) AS UtilsPostalAddressFormatted,
  UtilsInvcgDocBillingData.AuthorizationGroup AS AuthorizationGroup,
  _UtilitiesInstallation._UtilitiesPremise.UtilitiesPremise AS UtilitiesPremise,
  UtilsInvcgDocBillingData._UtilitiesBillingDocument AS _UtilitiesBillingDocument,
  UtilsInvcgDocBillingData._BusinessPartner AS _BusinessPartner,
  UtilsInvcgDocBillingData._UtilitiesContract AS _UtilitiesContract,
  UtilsInvcgDocBillingData._CompanyCode AS _CompanyCode,
  UtilsInvcgDocBillingData._Division AS _Division,
  UtilsInvcgDocBillingData._UtilitiesInstallation AS _UtilitiesInstallation,
  UtilsInvcgDocBillingData._UtilsAccountDetnCode AS _UtilsAccountDetnCode,
  UtilsInvcgDocBillingData._UtilsBillgOutsortingGroup AS _UtilsBillgOutsortingGroup,
  UtilsInvcgDocBillingData._UtilitiesBillingReason AS _UtilitiesBillingReason,
  UtilsInvcgDocBillingData._UtilitiesPortion AS _UtilitiesPortion,
  UtilsInvcgDocBillingData._MeterReadingUnit AS _MeterReadingUnit,
  UtilsInvcgDocBillingData._UtilsAccountClass AS _UtilsAccountClass,
  UtilsInvcgDocBillingData._UtilsContrSpcfcBdgtBillgCyc AS _UtilsContrSpcfcBdgtBillgCyc,
  UtilsInvcgDocBillingData._UtilitiesBdgtBillgCyc AS _UtilitiesBdgtBillgCyc,
  UtilsInvcgDocBillingData._UtilitiesRateCategory AS _UtilitiesRateCategory,
  UtilsInvcgDocBillingData._UtilsBillingClass AS _UtilsBillingClass
FROM I_UtilsInvcgDocBillingData AS UtilsInvcgDocBillingData
LEFT OUTER JOIN I_ContractAccountHeader AS _ContractAccountHeader ON ContractAccount = _ContractAccountHeader.ContractAccount  -- association [1..1]
LEFT OUTER JOIN I_OutsrtdInvcgDocBillgNetAmt AS _OutsrtdInvcgDocBillgNetAmt ON UtilitiesInvoicingDocument = _OutsrtdInvcgDocBillgNetAmt.UtilitiesInvoicingDocument AND UtilitiesBillingDocument = _OutsrtdInvcgDocBillgNetAmt.UtilitiesBillingDocument  -- association [0..1]
LEFT OUTER JOIN C_UtilsBillgDocMeteringData AS _UtilsBillgDocMeteringData ON UtilitiesBillingDocument = _UtilsBillgDocMeteringData.UtilitiesBillingDocument  -- association [0..*]
;