I_SchedldUtilsContrNotInvcd

DDL: I_SCHEDLDUTILSCONTRNOTINVCD SQL: IESCHCONTRNTINV Type: view COMPOSITE

Scheduled Contract Has not Been Invoiced

I_SchedldUtilsContrNotInvcd is a Composite CDS View (Cube) that provides data about "Scheduled Contract Has not Been Invoiced" in SAP S/4HANA. It reads from 10 data sources and exposes 28 fields with key fields UtilitiesContract, ScheduledUtilitiesBillingDate, UtilitiesPortion, ScheduledMeterReadingDate. It has 2 associations to related views.

Data Sources (10)

SourceAliasJoin 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_UtilitiesInvoicingDocument UtilitiesInvoicingDocument left_outer
I_UtilitiesInvoicingOrder UtilitiesInvoicingOrder left_outer
I_UtilsBillgDocInvcgHistory UtilsBillgDocInvcgHistory left_outer
I_UtilsContrAcctBlkdByJntInvcg UtilsContrAcctBlkdByJntInvcg left_outer
I_UtilsContrToBeBlldData UtilsContrToBeBlldData from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_UtilsContrToBeInvcdPrgrsSts _UtilsContrToBeInvcdPrgrsSts $projection.UtilsContrToBeInvcdPrgrsSts = _UtilsContrToBeInvcdPrgrsSts.UtilsContrToBeInvcdPrgrsSts
[0..1] I_CAInvcgLockReason _CAInvcgLockReason $projection.CABusinessLockReason = _CAInvcgLockReason.CAInvcgLockReason

Annotations (10)

NameValueLevelField
EndUserText.label Scheduled Contract Has not Been Invoiced view
VDM.viewType #COMPOSITE view
Analytics.dataCategory #CUBE view
AbapCatalog.sqlViewName IESCHCONTRNTINV 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 (28)

KeyFieldSource TableSource FieldDescription
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
CompanyCode I_UtilsContrToBeBlldData CompanyCode Receiver Company Code
Division I_UtilsContrToBeBlldData Division Internal Division ID
UtilitiesInstallation I_UtilsContrToBeBlldData UtilitiesInstallation
UtilitiesAccountDetnCode I_UtilsContrToBeBlldData UtilitiesAccountDetnCode Act Determ. ID
CAAccountDeterminationCode
UtilitiesRateCategory I_UtilsContrToBeBlldData UtilitiesRateCategory
UtilitiesBillingClass I_UtilsContrToBeBlldData UtilitiesBillingClass
AltvContractAcctForCollvBills
AuthorizationGroup I_UtilsContrToBeBlldData AuthorizationGroup AuthorizGroup
NmbrOfUtilsContrToBeInvoiced
_UtilitiesPortion I_UtilsContrToBeBlldData _UtilitiesPortion
_BusinessPartner I_ContractAccountPartner _BusinessPartner
_CompanyCode I_UtilsContrToBeBlldData _CompanyCode
_Division I_UtilsContrToBeBlldData _Division
_UtilitiesInstallation I_UtilsContrToBeBlldData _UtilitiesInstallation
_UtilsAccountDetnCode I_UtilsContrToBeBlldData _UtilsAccountDetnCode
_AcctDetnCode I_ContractAccountPartner _AcctDetnCode
_UtilitiesRateCategory I_UtilsContrToBeBlldData _UtilitiesRateCategory
_UtilsBillingClass I_UtilsContrToBeBlldData _UtilsBillingClass
_AltvContrAcc I_ContractAccountPartner _AltvContrAcc
_UtilsContrToBeInvcdPrgrsSts _UtilsContrToBeInvcdPrgrsSts
_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_SchedldUtilsContrNotInvcd.
-- 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: IESCHCONTRNTINV

CREATE VIEW I_SchedldUtilsContrNotInvcd 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.CompanyCode AS CompanyCode,
  UtilsContrToBeBlldData.Division AS Division,
  UtilsContrToBeBlldData.UtilitiesInstallation AS UtilitiesInstallation,
  UtilsContrToBeBlldData.UtilitiesAccountDetnCode AS UtilitiesAccountDetnCode,
  cast(ContractAccountPartner.CAAccountDeterminationCode as e_kofiz_ca_vdm preserving type) AS CAAccountDeterminationCode,
  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._CompanyCode AS _CompanyCode,
  UtilsContrToBeBlldData._Division AS _Division,
  UtilsContrToBeBlldData._UtilitiesInstallation AS _UtilitiesInstallation,
  UtilsContrToBeBlldData._UtilsAccountDetnCode AS _UtilsAccountDetnCode,
  ContractAccountPartner._AcctDetnCode AS _AcctDetnCode,
  UtilsContrToBeBlldData._UtilitiesRateCategory AS _UtilitiesRateCategory,
  UtilsContrToBeBlldData._UtilsBillingClass AS _UtilsBillingClass,
  ContractAccountPartner._AltvContrAcc AS _AltvContrAcc
FROM I_UtilsContrToBeBlldData AS UtilsContrToBeBlldData
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 */
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_UtilsContrToBeInvcdPrgrsSts AS _UtilsContrToBeInvcdPrgrsSts ON UtilsContrToBeInvcdPrgrsSts = _UtilsContrToBeInvcdPrgrsSts.UtilsContrToBeInvcdPrgrsSts  -- association [0..1]
LEFT OUTER JOIN I_CAInvcgLockReason AS _CAInvcgLockReason ON CABusinessLockReason = _CAInvcgLockReason.CAInvcgLockReason  -- association [0..1]
;