C_UtilsPremiseKeyDateAnalysisQ
Key Date-Based Premise Analysis - Query
C_UtilsPremiseKeyDateAnalysisQ (Consumption)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
Utilities
C_UtilsPremiseKeyDateAnalysisQ is a Consumption CDS View that provides data about "Key Date-Based Premise Analysis - Query" in SAP S/4HANA. It reads from 1 data source (I_UtilsPremiseKeyDateAnalysis) and exposes 27 fields with key field UtilitiesPremise.
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Utilities |
| Application Component | IS-U-MD |
| Capabilities | Analytical Query |
| Package | Utilities for SAP S/4HANA |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA, onpremise edition — Explore SAP S/4HANA Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_UtilsPremiseKeyDateAnalysis | I_UtilsPremiseKeyDateAnalysis | from |
Parameters (2)
| Name | Type | Default |
|---|---|---|
| P_Language | syst_langu | |
| P_KeyDate | sydate |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Key Date-Based Premise Analysis - Query | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AbapCatalog.sqlViewName | CEPREMISEANLYSQ | view | |
| AccessControl.authorizationCheck | #PRIVILEGED_ONLY | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Analytics.query | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_QUERY | view |
Fields (27)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | UtilitiesPremise | UtilitiesPremise | Premise | |
| AuthorizationGroup | AuthorizationGroup | Authorization Group | ||
| FunctionalLocation | FunctionalLocation | Functional location | ||
| NumberOfPersons | NumberOfPersons | Number of persons | ||
| UtilitiesConnectionObject | UtilitiesConnectionObject | Connection Object | ||
| UtilitiesOwner | UtilitiesOwner | Owner | ||
| UtilitiesPremiseType | UtilitiesPremiseType | Type of premise | ||
| UtilitiesPremiseTypeName | Text for premise type | |||
| UtilsPremiseIsMainResidence | UtilsPremiseIsMainResidence | Main residence | ||
| DeletionIndicator | DeletionIndicator | Deletion Indicator | ||
| LocationSupplement | LocationSupplement | Additional Information on Location | ||
| AddressID | AddressID | Ship-to address | ||
| Country | Country | Country/Region Key | ||
| Region | Region | Region (State, Province, County) | ||
| CityName | CityName | Name | ||
| StreetName | StreetName | Street | ||
| HouseNumber | HouseNumber | House Number | ||
| HouseNumberSupplementText | HouseNumberSupplementText | House number supplement | ||
| PostalCode | PostalCode | City postal code | ||
| Floor | Floor | Floor in building | ||
| RoomNumber | RoomNumber | Room or Apartment Number | ||
| StreetSupplement1 | StreetSupplement1 | Street 3 | ||
| StreetSupplement2 | StreetSupplement2 | Street 5 | ||
| NumberOfUtilitiesPremises | NumberOfUtilitiesPremises | Number of Premises | ||
| UtilitiesAnalysisKeyDate | UtilitiesAnalysisKeyDate | Premise Analysis Key Date | ||
| _UtilitiesPremiseType | _UtilitiesPremiseType | |||
| _UtilsPremiseIsMainResidence | _UtilsPremiseIsMainResidence |
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_UtilsPremiseKeyDateAnalysisQ.
-- 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: CEPREMISEANLYSQ
-- Parameters: P_Language : syst_langu, P_KeyDate : sydate
CREATE VIEW C_UtilsPremiseKeyDateAnalysisQ AS
SELECT
UtilitiesPremise,
AuthorizationGroup,
FunctionalLocation,
NumberOfPersons,
UtilitiesConnectionObject,
UtilitiesOwner,
UtilitiesPremiseType,
_UtilitiesPremiseType._Text[1: Language=$parameters.P_Language].UtilitiesPremiseTypeName AS UtilitiesPremiseTypeName,
UtilsPremiseIsMainResidence,
DeletionIndicator,
LocationSupplement,
AddressID,
Country,
Region,
CityName,
StreetName,
HouseNumber,
HouseNumberSupplementText,
PostalCode,
Floor,
RoomNumber,
StreetSupplement1,
StreetSupplement2,
NumberOfUtilitiesPremises,
UtilitiesAnalysisKeyDate
FROM I_UtilsPremiseKeyDateAnalysis
;
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