I_UtilsPremiseIsMainResidence

DDL: I_UTILSPREMISEISMAINRESIDENCE SQL: IEPREMMAINRES Type: view BASIC

Utilities Premise Is Main Residence

I_UtilsPremiseIsMainResidence (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Utilities Premise Main Residence Classification · Utilities

I_UtilsPremiseIsMainResidence is a Basic CDS View (Dimension) that provides data about "Utilities Premise Is Main Residence" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 2 fields with key field UtilsPremiseIsMainResidence. It has 1 association to related views.

SAP Help Documentation

CategoryPremise
Data CategoryDimension
StatusC1
Purpose
This CDS retrieves the content for the flag UtilsPremiseIsMainResidence in the CDS view I_UtilitiesPremise . The following values are possible: ( ) - Field not active (X) - Field is active

Prerequisites
Authorizations Not applicable.

Structure
Important fields in this view include the following: Field Name Description UtilsPremiseIsMainResidence Main Residence

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessUtilities
Application ComponentIS-U-MD
CapabilitiesData Source in SQL Select, Analytical Dimension, Association Target for Defining CDS Entities, Data Source for Defining CDS Entities, Data Source for Data Extraction
PackageUtilities for SAP S/4HANA
Description <p>This CDS retrieves the content for the flag UtilsPremiseIsMainResidence in the CDS view I_UtilitiesPremise. The following values are possible:</p> <p>( ) - Field not active</p> <p>(X) - Field is active</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_UtilsPremiseIsMainResidenceT _Text $projection.UtilsPremiseIsMainResidence = _Text.UtilsPremiseIsMainResidence

Annotations (15)

NameValueLevelField
EndUserText.label Utilities Premise Is Main Residence view
Analytics.dataCategory #DIMENSION view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IEPREMMAINRES view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.compiler.compareFilter true view
Metadata.ignorePropagatedAnnotations true view
Analytics.dataExtraction.enabled true view
ObjectModel.representativeKey UtilsPremiseIsMainResidence view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.sapObjectNodeType.name UtilsPremsMainResidenceClsfctn view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY UtilsPremiseIsMainResidence Main residence
_Text _Text

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_UtilsPremiseIsMainResidence.
-- 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: IEPREMMAINRES

CREATE VIEW I_UtilsPremiseIsMainResidence AS
SELECT
  cast(substring(dd07l.domvalue_l, 1, 1) as mainresi preserving type) AS UtilsPremiseIsMainResidence
FROM dd07l
LEFT OUTER JOIN I_UtilsPremiseIsMainResidenceT AS _Text ON UtilsPremiseIsMainResidence = _Text.UtilsPremiseIsMainResidence  -- association [0..*]
;