I_PRAMktgTypeVH

DDL: I_PRAMKTGTYPEVH Type: view_entity BASIC

Marketing type

I_PRAMktgTypeVH is a Basic CDS View that provides data about "Marketing type" in SAP S/4HANA. It reads from 1 data source (oiu_cm_mkt) and exposes 6 fields with key fields PRAMarketingTypeUsageCode, MajorProduct, MarketingType. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
oiu_cm_mkt oiu_cm_mkt from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_MajorProduct _MajorProduct _MajorProduct.MajorProduct = $projection.MajorProduct
[1..1] I_PRAMktgTypeUsageCodeVH _PRAMktgTypeUsageCodeVH _PRAMktgTypeUsageCodeVH.PRAMarketingTypeUsageCode = $projection.PRAMarketingTypeUsageCode

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Marketing type view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #CUSTOMIZING view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.representativeKey PRAMarketingTypeUsageCode view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY PRAMarketingTypeUsageCode mkt_use_cd MKT_USE_CD
KEY MajorProduct majpd_cd Major Product
KEY MarketingType mkt_type_cd Mrktg Type Code
PRAReserveWordCode rvwd_cd Val. Res. Word
_PRAMktgTypeUsageCodeVH _PRAMktgTypeUsageCodeVH
_MajorProduct _MajorProduct

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_PRAMktgTypeVH.
-- 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.

CREATE VIEW I_PRAMktgTypeVH AS
SELECT
  mkt_use_cd AS PRAMarketingTypeUsageCode,
  majpd_cd AS MajorProduct,
  mkt_type_cd AS MarketingType,
  rvwd_cd AS PRAReserveWordCode
FROM oiu_cm_mkt
LEFT OUTER JOIN I_MajorProduct AS _MajorProduct ON _MajorProduct.MajorProduct = MajorProduct  -- association [1..1]
LEFT OUTER JOIN I_PRAMktgTypeUsageCodeVH AS _PRAMktgTypeUsageCodeVH ON _PRAMktgTypeUsageCodeVH.PRAMarketingTypeUsageCode = PRAMarketingTypeUsageCode  -- association [1..1]
;