I_OwnerAttributeGroup
Owner Attribute Group
I_OwnerAttributeGroup is a Basic CDS View (Dimension) that provides data about "Owner Attribute Group" in SAP S/4HANA. It reads from 1 data source (oiu_do_oag) and exposes 24 fields with key fields OwnerAttributeGroup, OwnrAttribGrpEffctvToDte. It has 7 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| oiu_do_oag | oiu_do_oag | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_MarketingFreeGroup | _MarketingFreeGroupOil | $projection.MarketingFreeGroupOil = _MarketingFreeGroupOil.MarketingFreeGroup |
| [0..1] | I_MarketingFreeGroup | _MarketingFreeGroupGas | $projection.MarketingFreeGroupGas = _MarketingFreeGroupGas.MarketingFreeGroup |
| [0..1] | I_MarketingFreeGroup | _MarketingFreeGroupCondensate | $projection.MarketingFreeGroupCondensate = _MarketingFreeGroupCondensate.MarketingFreeGroup |
| [0..1] | I_MarketingFreeGroup | _MktgFreeGrpNaturalGasLiquids | $projection.MktgFreeGrpNaturalGasLiquids = _MktgFreeGrpNaturalGasLiquids.MarketingFreeGroup |
| [0..1] | I_MarketingFreeGroup | _MarketingFreeGroupWater | $projection.MarketingFreeGroupWater = _MarketingFreeGroupWater.MarketingFreeGroup |
| [0..1] | I_MarketingFreeGroup | _MarketingFreeGroupSulfur | $projection.MarketingFreeGroupSulfur = _MarketingFreeGroupSulfur.MarketingFreeGroup |
| [0..1] | I_MarketingFreeGroup | _MarketingFreeGroupInjection | $projection.MarketingFreeGroupInjection = _MarketingFreeGroupInjection.MarketingFreeGroup |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Owner Attribute Group | view | |
| VDM.viewType | #BASIC | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.internalName | #LOCAL | view | |
| ObjectModel.representativeKey | OwnerAttributeGroup | 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 (24)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | OwnerAttributeGroup | oiu_do_oag | oag_id | Attribute Group |
| KEY | OwnrAttribGrpEffctvToDte | oiu_do_oag | eff_to_dt | Effective To Date |
| OwnrAttribGrpEffctvFrmDte | oiu_do_oag | eff_from_dt | Effective From Date | |
| OwnerAttributeGroupDesc | oiu_do_oag | oag_desc | Attribute Group Desc | |
| MarketingFreeGroupIsUsed | oiu_do_oag | mfg_is_used | Use MFG for Owners | |
| MktgFreeGrpIsOilForCondensate | oiu_do_oag | con_as_oil_fl | Use Oil MFG for Cond | |
| MktgFreeGrpIsGasForLiquids | oiu_do_oag | ngl_as_gas_fl | Use Gas MFG for NGLs | |
| MktgFreeGrpIsOtherUsed | oiu_do_oag | maint_wtr_sul_inj_fl | Maint Misc Pd MFGs | |
| MarketingFreeGroupOil | oiu_do_oag | mfg_majpd_oil | Oil Mkt Free Preset | |
| MarketingFreeGroupGas | oiu_do_oag | mfg_majpd_gas | Gas Mkt Free Preset | |
| MarketingFreeGroupCondensate | oiu_do_oag | mfg_majpd_con | Cond Mkt Free Preset | |
| MktgFreeGrpNaturalGasLiquids | oiu_do_oag | mfg_majpd_ngl | NGL Mkt Free Preset | |
| MarketingFreeGroupWater | oiu_do_oag | mfg_majpd_wtr | Water Mkt Fr Preset | |
| MarketingFreeGroupSulfur | oiu_do_oag | mfg_majpd_sul | Sulfur Mkt Fr Preset | |
| MarketingFreeGroupInjection | oiu_do_oag | mfg_majpd_inj | Inj Mkt Free Preset | |
| PRA_CreationUser | oiu_do_oag | last_user | User ID | |
| PRA_CreationDateTime | oiu_do_oag | last_timestamp | Time Stamp | |
| _MarketingFreeGroupOil | _MarketingFreeGroupOil | |||
| _MarketingFreeGroupGas | _MarketingFreeGroupGas | |||
| _MarketingFreeGroupCondensate | _MarketingFreeGroupCondensate | |||
| _MktgFreeGrpNaturalGasLiquids | _MktgFreeGrpNaturalGasLiquids | |||
| _MarketingFreeGroupWater | _MarketingFreeGroupWater | |||
| _MarketingFreeGroupSulfur | _MarketingFreeGroupSulfur | |||
| _MarketingFreeGroupInjection | _MarketingFreeGroupInjection |
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_OwnerAttributeGroup.
-- 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_OwnerAttributeGroup AS
SELECT
oiu_do_oag.oag_id AS OwnerAttributeGroup,
oiu_do_oag.eff_to_dt AS OwnrAttribGrpEffctvToDte,
oiu_do_oag.eff_from_dt AS OwnrAttribGrpEffctvFrmDte,
oiu_do_oag.oag_desc AS OwnerAttributeGroupDesc,
oiu_do_oag.mfg_is_used AS MarketingFreeGroupIsUsed,
oiu_do_oag.con_as_oil_fl AS MktgFreeGrpIsOilForCondensate,
oiu_do_oag.ngl_as_gas_fl AS MktgFreeGrpIsGasForLiquids,
oiu_do_oag.maint_wtr_sul_inj_fl AS MktgFreeGrpIsOtherUsed,
oiu_do_oag.mfg_majpd_oil AS MarketingFreeGroupOil,
oiu_do_oag.mfg_majpd_gas AS MarketingFreeGroupGas,
oiu_do_oag.mfg_majpd_con AS MarketingFreeGroupCondensate,
oiu_do_oag.mfg_majpd_ngl AS MktgFreeGrpNaturalGasLiquids,
oiu_do_oag.mfg_majpd_wtr AS MarketingFreeGroupWater,
oiu_do_oag.mfg_majpd_sul AS MarketingFreeGroupSulfur,
oiu_do_oag.mfg_majpd_inj AS MarketingFreeGroupInjection,
oiu_do_oag.last_user AS PRA_CreationUser,
oiu_do_oag.last_timestamp AS PRA_CreationDateTime
FROM oiu_do_oag
LEFT OUTER JOIN I_MarketingFreeGroup AS _MarketingFreeGroupOil ON MarketingFreeGroupOil = _MarketingFreeGroupOil.MarketingFreeGroup -- association [0..1]
LEFT OUTER JOIN I_MarketingFreeGroup AS _MarketingFreeGroupGas ON MarketingFreeGroupGas = _MarketingFreeGroupGas.MarketingFreeGroup -- association [0..1]
LEFT OUTER JOIN I_MarketingFreeGroup AS _MarketingFreeGroupCondensate ON MarketingFreeGroupCondensate = _MarketingFreeGroupCondensate.MarketingFreeGroup -- association [0..1]
LEFT OUTER JOIN I_MarketingFreeGroup AS _MktgFreeGrpNaturalGasLiquids ON MktgFreeGrpNaturalGasLiquids = _MktgFreeGrpNaturalGasLiquids.MarketingFreeGroup -- association [0..1]
LEFT OUTER JOIN I_MarketingFreeGroup AS _MarketingFreeGroupWater ON MarketingFreeGroupWater = _MarketingFreeGroupWater.MarketingFreeGroup -- association [0..1]
LEFT OUTER JOIN I_MarketingFreeGroup AS _MarketingFreeGroupSulfur ON MarketingFreeGroupSulfur = _MarketingFreeGroupSulfur.MarketingFreeGroup -- association [0..1]
LEFT OUTER JOIN I_MarketingFreeGroup AS _MarketingFreeGroupInjection ON MarketingFreeGroupInjection = _MarketingFreeGroupInjection.MarketingFreeGroup -- association [0..1]
;
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