I_MarketingFreeGroup
Marketing Free Group
I_MarketingFreeGroup is a Basic CDS View (Dimension) that provides data about "Marketing Free Group" in SAP S/4HANA. It reads from 1 data source (oiu_mkt_fg_h) and exposes 13 fields with key fields MarketingFreeGroup, MktgFreeGrpEffctvToDte. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| oiu_mkt_fg_h | oiu_mkt_fg_h | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_MajorProduct | _MajorProduct | $projection.MajorProduct = _MajorProduct.MajorProduct |
| [0..*] | I_MarketingFreeGroupItem | _MarketingFreeGroupItem | |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Marketing Free Group | view | |
| VDM.viewType | #BASIC | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.internalName | #LOCAL | view | |
| ObjectModel.representativeKey | MarketingFreeGroup | view | |
| ObjectModel.modelingPattern | #ANALYTICAL_DIMENSION | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MarketingFreeGroup | oiu_mkt_fg_h | mkt_fg_id | Mkt Free Preset |
| KEY | MktgFreeGrpEffctvToDte | oiu_mkt_fg_d | eff_to_dt | Effective To Date |
| MktgFreeGrpEffctvFrmDte | oiu_mkt_fg_d | eff_from_dt | Effective From Date | |
| MarketingFreeGroupDescription | oiu_mkt_fg_h | mkt_fg_desc | Mkt Free Preset Desc | |
| MajorProduct | oiu_mkt_fg_h | majpd_cd | Major Product | |
| ExemptExternalDeductDesc | oiu_mkt_fg_d | exempt_mt_str_exd | ||
| ExemptInternalDeductDesc | oiu_mkt_fg_d | exempt_mt_str_ind | ||
| ExemptReimbursementDesc | oiu_mkt_fg_d | exempt_mt_str_rmb | ||
| PRA_LastChangeUser | oiu_mkt_fg_d | change_user | User Name | |
| PRA_LastChangeDate | oiu_mkt_fg_d | change_date | Time Stamp | |
| PRA_LastChangeTime | oiu_mkt_fg_d | change_time | Time Stamp | |
| _MajorProduct | _MajorProduct | |||
| _MarketingFreeGroupItem | _MarketingFreeGroupItem |
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_MarketingFreeGroup.
-- 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_MarketingFreeGroup AS
SELECT
oiu_mkt_fg_h.mkt_fg_id AS MarketingFreeGroup,
oiu_mkt_fg_d.eff_to_dt AS MktgFreeGrpEffctvToDte,
oiu_mkt_fg_d.eff_from_dt AS MktgFreeGrpEffctvFrmDte,
oiu_mkt_fg_h.mkt_fg_desc AS MarketingFreeGroupDescription,
oiu_mkt_fg_h.majpd_cd AS MajorProduct,
oiu_mkt_fg_d.exempt_mt_str_exd AS ExemptExternalDeductDesc,
oiu_mkt_fg_d.exempt_mt_str_ind AS ExemptInternalDeductDesc,
oiu_mkt_fg_d.exempt_mt_str_rmb AS ExemptReimbursementDesc,
oiu_mkt_fg_d.change_user AS PRA_LastChangeUser,
oiu_mkt_fg_d.change_date AS PRA_LastChangeDate,
oiu_mkt_fg_d.change_time AS PRA_LastChangeTime
FROM oiu_mkt_fg_h
LEFT OUTER JOIN I_MajorProduct AS _MajorProduct ON MajorProduct = _MajorProduct.MajorProduct -- association [0..1]
LEFT OUTER JOIN I_MarketingFreeGroupItem AS _MarketingFreeGroupItem ON /* condition not available in parsed metadata */ -- association [0..*]
;
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