I_MarketingType

DDL: I_MARKETINGTYPE SQL: IPVMKTGTYPE Type: view BASIC

Marketing Type

I_MarketingType (Basic)

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

Production Revenue Accounting Marketing Type · Cross Applications

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

SAP API Hub

StateC1
Line of BusinessCross Applications
Application ComponentIS-OIL-PRA
CapabilitiesData Source in SQL Select, Analytical Dimension, Association Target for Defining CDS Entities, Data Source for Defining CDS Entities
PackageCross Applications for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
oiu_cm_mkct oiu_cm_mkct from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_MajorProduct _MajorProduct $projection.MajorProduct = _MajorProduct.MajorProduct
[0..*] I_MarketingTypeText _Text $projection.MajorProduct = _Text.MajorProduct and $projection.MarketingType = _Text.MarketingType

Annotations (13)

NameValueLevelField
EndUserText.label Marketing Type view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IPVMKTGTYPE view
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey MarketingType view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #CUSTOMIZING view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY MajorProduct majpd_cd Major product code
KEY MarketingType mk_type_cd Marketing type code
_MajorProduct _MajorProduct
_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_MarketingType.
-- 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: IPVMKTGTYPE

CREATE VIEW I_MarketingType AS
SELECT
  majpd_cd AS MajorProduct,
  mk_type_cd AS MarketingType
FROM oiu_cm_mkct
LEFT OUTER JOIN I_MajorProduct AS _MajorProduct ON MajorProduct = _MajorProduct.MajorProduct  -- association [0..1]
LEFT OUTER JOIN I_MarketingTypeText AS _Text ON MajorProduct = _Text.MajorProduct AND MarketingType = _Text.MarketingType  -- association [0..*]
;