I_MKT_LocationOccupancyTypeT

DDL: I_MKT_LOCATIONOCCUPANCYTYPET SQL: IMKTLOCOCCTYPET Type: view BASIC Package: CUAN_CDS_LOC

Mktg: Marketing Loc Occupcy Type - Text

I_MKT_LocationOccupancyTypeT is a Basic CDS View that provides data about "Mktg: Marketing Loc Occupcy Type - Text" in SAP S/4HANA. It reads from 1 data source (dd07t) and exposes 4 fields with key fields MarketingLocationOccupancyType, Language. It has 1 association to related views. Part of development package CUAN_CDS_LOC.

Data Sources (1)

SourceAliasJoin Type
dd07t dd07t from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_Language _Language $projection.Language = _Language.Language

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IMKTLOCOCCTYPET view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Mktg: Marketing Loc Occupcy Type - Text view
ObjectModel.dataCategory #TEXT view
ObjectModel.representativeKey MarketingLocationOccupancyType view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #A view
Analytics.dataExtraction.enabled true view
VDM.viewType #BASIC view
Metadata.ignorePropagatedAnnotations true view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY MarketingLocationOccupancyType
KEY Language Lang.
MktgLocationOccupancyTypeName ddtext Short text
_Language _Language

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_MKT_LocationOccupancyTypeT.
-- 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: IMKTLOCOCCTYPET

CREATE VIEW I_MKT_LocationOccupancyTypeT AS
SELECT
  cast ( substring( domvalue_l, 1, 2 ) as cuan_loc_occupancy_type preserving type ) AS MarketingLocationOccupancyType,
  cast( ddlanguage as spras preserving type ) AS Language,
  ddtext AS MktgLocationOccupancyTypeName
FROM dd07t
LEFT OUTER JOIN I_Language AS _Language ON Language = _Language.Language  -- association [0..1]
;