I_MKT_TargetGroup
Communication: Recipient List
I_MKT_TargetGroup is a Basic CDS View (Dimension) that provides data about "Communication: Recipient List" in SAP S/4HANA. It reads from 1 data source (cuan_d_tg_root) and exposes 36 fields with key field TargetGroupUUID. It has 9 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| cuan_d_tg_root | Persistence | from |
Associations (9)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_MKT_TargetGroupCategoryText | _MKT_TargetGroupCategoryText | Persistence.dynamic = _MKT_TargetGroupCategoryText.DomainValue and _MKT_TargetGroupCategoryText.LanguageCode = $session.system_language -- |
| [0..1] | I_MKT_TargetGroupControlGroup | _Mkt_ControlGroup | Persistence.control_group = _Mkt_ControlGroup.TargetGroupUUID |
| [0..1] | I_MKT_SegmentationObjectText | _MKT_Segmentation_Object_Text | Persistence.ot_id = _MKT_Segmentation_Object_Text.SegmentationObject and Persistence.appl_id = _MKT_Segmentation_Object_Text.SegmentationApplication and _MKT_Segmentation_Object_Text.LanguageCode = $session.system_language |
| [0..1] | I_MKT_TargetGroupOriginText | _MKT_OriginText | Persistence.origin = _MKT_OriginText.TargetGroupOrigin and _MKT_OriginText.LanguageCode = $session.system_language |
| [0..1] | I_MKT_TgtGrpIntactnCntctCount | _MKT_IC_Member_Count | Persistence.db_key = _MKT_IC_Member_Count.TargetGroupUUID |
| [0..1] | I_MKT_LiveTgtGrpMemberCount | _MKT_LIVETARGETGROUPCOUNT | Persistence.gres_ref = _MKT_LIVETARGETGROUPCOUNT.ResultSetReferenceUUID |
| [0..1] | I_ReferencedOrgStructure | _ReferencedOrgStructure | $projection.ReferencedOrgStructure = _ReferencedOrgStructure.ReferencedOrgStructure |
| [0..1] | I_CommunicationArea | _CommunicationArea | $projection.CommunicationArea = _CommunicationArea.CommunicationArea and $projection.ReferencedOrgStructure = _CommunicationArea.ReferencedOrgStructure |
| [0..*] | I_AuthorizedCommunicationArea | _AuthCommArea | $projection.CommunicationArea = _AuthCommArea.CommunicationArea and $projection.ReferencedOrgStructure = _AuthCommArea.ReferencedOrgStructure |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Communication: Recipient List | view | |
| ObjectModel.representativeKey | TargetGroupUUID | view | |
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.technicalName | IMKTTARGETGROUP | view | |
| Metadata.allowExtensions | true | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (36)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | TargetGroupUUID | cuan_d_tg_root | db_key | UUID |
| TargetGroup | ||||
| TargetGroupName | cuan_d_tg_root | target_group_name | ||
| TargetGroupDescription | cuan_d_tg_root | description | Well Code Des. | |
| TargetGroupLifecycleStatus | cuan_d_tg_root | life_cycle_status | Life Cycle | |
| ResultSetReferenceUUID | cuan_d_tg_root | gres_ref | NodeID | |
| ChangedOnDateTime | cuan_d_tg_root | lchg_date_time | Time Stamp | |
| LastChangedByUser | cuan_d_tg_root | lchg_uname | User Name | |
| CreationDateTime | cuan_d_tg_root | crea_date_time | Time Stamp | |
| CreatedByUser | cuan_d_tg_root | crea_uname | User Name | |
| TargetGroupMainResponsible | cuan_d_tg_root | responsible | User Name | |
| TargetGroupOrigin | cuan_d_tg_root | origin | Task Origin | |
| TargetGroupOriginName | _MKT_OriginText | TargetGroupOriginName | ||
| IsTargetGroupVersioningActive | ||||
| TargetGroupVersion | cuan_d_tg_root | version | XML Vers. | |
| TargetGroupLastRebuildDateTime | cuan_d_tg_root | last_rebuild | ||
| TargetGroupCategory | cuan_d_tg_root | dynamic | Dynamic | |
| TargetGroupCategoryName | _MKT_TargetGroupCategoryText | TargetGroupCategoryName | ||
| TargetGroupControlGroupUUID | ||||
| CommunicationArea | cuan_d_tg_root | comm_area_id | ||
| ReferencedOrgStructure | cuan_d_tg_root | ref_org_struc | ||
| SegmentationApplication | cuan_d_tg_root | appl_id | Policy Key | |
| SegmentationObject | cuan_d_tg_root | ot_id | ||
| SegmentationObjectName | _MKT_Segmentation_Object_Text | SegmentationObjectName | ||
| TargetGroupType | ||||
| TargetGroupTypeName | ||||
| _MKT_IC_Member_Count | _MKT_IC_Member_Count | |||
| _MKT_OriginText | _MKT_OriginText | |||
| _MKT_Segmentation_Object_Text | _MKT_Segmentation_Object_Text | |||
| _Mkt_ControlGroup | ||||
| _MKT_TargetGroupTypeText | ||||
| _MKT_LIVETARGETGROUPCOUNT | _MKT_LIVETARGETGROUPCOUNT | |||
| _MKT_TargetGroupCategoryText | _MKT_TargetGroupCategoryText | |||
| _ReferencedOrgStructure | _ReferencedOrgStructure | |||
| _CommunicationArea | _CommunicationArea | |||
| _AuthCommArea | _AuthCommArea |
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_TargetGroup.
-- 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_MKT_TargetGroup AS
SELECT
Persistence.db_key AS TargetGroupUUID,
cast(ltrim(Persistence.id, '0') as cuan_tg_id preserving type) AS TargetGroup,
Persistence.target_group_name AS TargetGroupName,
Persistence.description AS TargetGroupDescription,
Persistence.life_cycle_status AS TargetGroupLifecycleStatus,
Persistence.gres_ref AS ResultSetReferenceUUID,
Persistence.lchg_date_time AS ChangedOnDateTime,
Persistence.lchg_uname AS LastChangedByUser,
Persistence.crea_date_time AS CreationDateTime,
Persistence.crea_uname AS CreatedByUser,
Persistence.responsible AS TargetGroupMainResponsible,
Persistence.origin AS TargetGroupOrigin,
_MKT_OriginText.TargetGroupOriginName AS TargetGroupOriginName,
cast ( Persistence.versioning as cuan_tg_versioning preserving type ) AS IsTargetGroupVersioningActive,
Persistence.version AS TargetGroupVersion,
Persistence.last_rebuild AS TargetGroupLastRebuildDateTime,
Persistence.dynamic AS TargetGroupCategory,
_MKT_TargetGroupCategoryText.TargetGroupCategoryName AS TargetGroupCategoryName,
Persistence.comm_area_id AS CommunicationArea,
Persistence.ref_org_struc AS ReferencedOrgStructure,
Persistence.appl_id AS SegmentationApplication,
Persistence.ot_id AS SegmentationObject,
_MKT_Segmentation_Object_Text.SegmentationObjectName AS SegmentationObjectName
FROM cuan_d_tg_root AS Persistence
LEFT OUTER JOIN I_MKT_TargetGroupCategoryText AS _MKT_TargetGroupCategoryText ON Persistence.dynamic = _MKT_TargetGroupCategoryText.DomainValue AND _MKT_TargetGroupCategoryText.LanguageCode = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_MKT_TargetGroupControlGroup AS _Mkt_ControlGroup ON Persistence.control_group = _Mkt_ControlGroup.TargetGroupUUID -- association [0..1]
LEFT OUTER JOIN I_MKT_SegmentationObjectText AS _MKT_Segmentation_Object_Text ON Persistence.ot_id = _MKT_Segmentation_Object_Text.SegmentationObject AND Persistence.appl_id = _MKT_Segmentation_Object_Text.SegmentationApplication AND _MKT_Segmentation_Object_Text.LanguageCode = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_MKT_TargetGroupOriginText AS _MKT_OriginText ON Persistence.origin = _MKT_OriginText.TargetGroupOrigin AND _MKT_OriginText.LanguageCode = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_MKT_TgtGrpIntactnCntctCount AS _MKT_IC_Member_Count ON Persistence.db_key = _MKT_IC_Member_Count.TargetGroupUUID -- association [0..1]
LEFT OUTER JOIN I_MKT_LiveTgtGrpMemberCount AS _MKT_LIVETARGETGROUPCOUNT ON Persistence.gres_ref = _MKT_LIVETARGETGROUPCOUNT.ResultSetReferenceUUID -- association [0..1]
LEFT OUTER JOIN I_ReferencedOrgStructure AS _ReferencedOrgStructure ON ReferencedOrgStructure = _ReferencedOrgStructure.ReferencedOrgStructure -- association [0..1]
LEFT OUTER JOIN I_CommunicationArea AS _CommunicationArea ON CommunicationArea = _CommunicationArea.CommunicationArea AND ReferencedOrgStructure = _CommunicationArea.ReferencedOrgStructure -- association [0..1]
LEFT OUTER JOIN I_AuthorizedCommunicationArea AS _AuthCommArea ON CommunicationArea = _AuthCommArea.CommunicationArea AND ReferencedOrgStructure = _AuthCommArea.ReferencedOrgStructure -- 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