C_LockedUtilsContrToBeInvcdOvw
Locked Contract to Be Invoiced
C_LockedUtilsContrToBeInvcdOvw is a Consumption CDS View that provides data about "Locked Contract to Be Invoiced" in SAP S/4HANA. It reads from 1 data source (I_LockedUtilsContrToBeInvcd) and exposes 28 fields with key fields UtilitiesContract, ScheduledUtilitiesBillingDate, UtilitiesPortion, ScheduledMeterReadingDate. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_LockedUtilsContrToBeInvcd | LockedUtilsContrToBeInvcd | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_ContractAccountPartner | _ContractAccountPartner | $projection.ContractAccount = _ContractAccountPartner.ContractAccount and $projection.BusinessPartner = _ContractAccountPartner.BusinessPartner |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Locked Contract to Be Invoiced | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AbapCatalog.sqlViewName | CELCONTRTBINVCDO | 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 (28)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | UtilitiesContract | I_LockedUtilsContrToBeInvcd | UtilitiesContract | |
| KEY | ScheduledUtilitiesBillingDate | I_LockedUtilsContrToBeInvcd | ScheduledUtilitiesBillingDate | |
| KEY | UtilitiesPortion | I_LockedUtilsContrToBeInvcd | UtilitiesPortion | |
| KEY | ScheduledMeterReadingDate | I_LockedUtilsContrToBeInvcd | ScheduledMeterReadingDate | |
| BusinessPartner | I_LockedUtilsContrToBeInvcd | BusinessPartner | Issuing Authority | |
| ContractAccount | I_LockedUtilsContrToBeInvcd | ContractAccount | Contract Acct | |
| CompanyCode | I_LockedUtilsContrToBeInvcd | CompanyCode | Receiver Company Code | |
| Division | I_LockedUtilsContrToBeInvcd | Division | Internal Division ID | |
| UtilitiesInstallation | I_LockedUtilsContrToBeInvcd | UtilitiesInstallation | ||
| UtilitiesAccountDetnCode | I_LockedUtilsContrToBeInvcd | UtilitiesAccountDetnCode | ||
| UtilitiesRateCategory | I_LockedUtilsContrToBeInvcd | UtilitiesRateCategory | ||
| UtilitiesBillingClass | I_LockedUtilsContrToBeInvcd | UtilitiesBillingClass | ||
| AltvContractAcctForCollvBills | I_LockedUtilsContrToBeInvcd | AltvContractAcctForCollvBills | Coll. Bill Acct | |
| CABusinessLockReason | I_LockedUtilsContrToBeInvcd | CABusinessLockReason | Lock Reason | |
| CAInvcgLockReasonName | ||||
| AuthorizationGroup | I_LockedUtilsContrToBeInvcd | AuthorizationGroup | AuthorizGroup | |
| NmbrOfUtilsContrLockedForInvcg | I_LockedUtilsContrToBeInvcd | NmbrOfUtilsContrLockedForInvcg | ||
| _UtilitiesPortion | I_LockedUtilsContrToBeInvcd | _UtilitiesPortion | ||
| _BusinessPartner | I_LockedUtilsContrToBeInvcd | _BusinessPartner | ||
| _CompanyCode | I_LockedUtilsContrToBeInvcd | _CompanyCode | ||
| _Division | I_LockedUtilsContrToBeInvcd | _Division | ||
| _UtilitiesInstallation | I_LockedUtilsContrToBeInvcd | _UtilitiesInstallation | ||
| _UtilsAccountDetnCode | I_LockedUtilsContrToBeInvcd | _UtilsAccountDetnCode | ||
| _UtilitiesRateCategory | I_LockedUtilsContrToBeInvcd | _UtilitiesRateCategory | ||
| _UtilsBillingClass | I_LockedUtilsContrToBeInvcd | _UtilsBillingClass | ||
| _AltvContrAcc | I_LockedUtilsContrToBeInvcd | _AltvContrAcc | ||
| _CAInvcgLockReason | I_LockedUtilsContrToBeInvcd | _CAInvcgLockReason | ||
| _ContractAccountPartner | _ContractAccountPartner |
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_LockedUtilsContrToBeInvcdOvw.
-- 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: CELCONTRTBINVCDO
CREATE VIEW C_LockedUtilsContrToBeInvcdOvw AS
SELECT
LockedUtilsContrToBeInvcd.UtilitiesContract AS UtilitiesContract,
LockedUtilsContrToBeInvcd.ScheduledUtilitiesBillingDate AS ScheduledUtilitiesBillingDate,
LockedUtilsContrToBeInvcd.UtilitiesPortion AS UtilitiesPortion,
LockedUtilsContrToBeInvcd.ScheduledMeterReadingDate AS ScheduledMeterReadingDate,
LockedUtilsContrToBeInvcd.BusinessPartner AS BusinessPartner,
LockedUtilsContrToBeInvcd.ContractAccount AS ContractAccount,
LockedUtilsContrToBeInvcd.CompanyCode AS CompanyCode,
LockedUtilsContrToBeInvcd.Division AS Division,
LockedUtilsContrToBeInvcd.UtilitiesInstallation AS UtilitiesInstallation,
LockedUtilsContrToBeInvcd.UtilitiesAccountDetnCode AS UtilitiesAccountDetnCode,
LockedUtilsContrToBeInvcd.UtilitiesRateCategory AS UtilitiesRateCategory,
LockedUtilsContrToBeInvcd.UtilitiesBillingClass AS UtilitiesBillingClass,
LockedUtilsContrToBeInvcd.AltvContractAcctForCollvBills AS AltvContractAcctForCollvBills,
LockedUtilsContrToBeInvcd.CABusinessLockReason AS CABusinessLockReason,
LockedUtilsContrToBeInvcd._CAInvcgLockReason._CAInvcgLockReasonText[1: Language = $session.system_language].CAInvcgLockReasonName AS CAInvcgLockReasonName,
LockedUtilsContrToBeInvcd.AuthorizationGroup AS AuthorizationGroup,
LockedUtilsContrToBeInvcd.NmbrOfUtilsContrLockedForInvcg AS NmbrOfUtilsContrLockedForInvcg,
LockedUtilsContrToBeInvcd._UtilitiesPortion AS _UtilitiesPortion,
LockedUtilsContrToBeInvcd._BusinessPartner AS _BusinessPartner,
LockedUtilsContrToBeInvcd._CompanyCode AS _CompanyCode,
LockedUtilsContrToBeInvcd._Division AS _Division,
LockedUtilsContrToBeInvcd._UtilitiesInstallation AS _UtilitiesInstallation,
LockedUtilsContrToBeInvcd._UtilsAccountDetnCode AS _UtilsAccountDetnCode,
LockedUtilsContrToBeInvcd._UtilitiesRateCategory AS _UtilitiesRateCategory,
LockedUtilsContrToBeInvcd._UtilsBillingClass AS _UtilsBillingClass,
LockedUtilsContrToBeInvcd._AltvContrAcc AS _AltvContrAcc,
LockedUtilsContrToBeInvcd._CAInvcgLockReason AS _CAInvcgLockReason
FROM I_LockedUtilsContrToBeInvcd AS LockedUtilsContrToBeInvcd
LEFT OUTER JOIN I_ContractAccountPartner AS _ContractAccountPartner ON ContractAccount = _ContractAccountPartner.ContractAccount AND BusinessPartner = _ContractAccountPartner.BusinessPartner -- 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