I_IBCMessageReuseBlockUsedIn
Communication Messsage Content Used In
I_IBCMessageReuseBlockUsedIn is a Basic CDS View that provides data about "Communication Messsage Content Used In" in SAP S/4HANA. It reads from 7 data sources and exposes 26 fields with key fields CommunicationMessageReuseBlock, CommunicationMessage, CommunicationMessageLanguage, statusendasCommunicationMessageStatus. It has 2 associations to related views.
Data Sources (7)
| Source | Alias | Join Type |
|---|---|---|
| cuand_me_valid | block_valid | left_outer |
| I_IBCCommunicationMediumText | CommMediumText | left_outer |
| cuand_me_header | header | left_outer |
| cuand_me_valid | header_valid | left_outer |
| cuand_me_me_root | rub_root | from |
| dd07t | status_20_text | left_outer |
| dd07t | status_text | left_outer |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_IBCMessageContentCommArea | _MessageContentCommArea | $projection.CommunicationMessageUUID = _MessageContentCommArea.CampaignContentUUID |
| [0..*] | I_AuthorizedCommunicationArea | _MessageContentRootCommArea | $projection.CommunicationArea = _MessageContentRootCommArea.CommunicationArea and $projection.ReferencedOrgStructure = _MessageContentRootCommArea.ReferencedOrgStructure |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| Analytics.technicalName | IMKTCPGCNTREUI | view | |
| EndUserText.label | Communication Messsage Content Used In | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.resultSet.sizeCategory | #XS | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| Search.searchable | true | view | |
| VDM.viewType | #BASIC | view |
Fields (26)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CommunicationMessageReuseBlock | cuand_me_me_root | id | WorklistID |
| KEY | CommunicationMessage | using_root | id | WorklistID |
| KEY | CommunicationMessageLanguage | using_block | langu | Primary lang. |
| KEY | statusendasCommunicationMessageStatus | |||
| nameendasCommunicationMessageName | ||||
| typeendasCommMsgExternalContentType | ||||
| CommMessageIsMessageTemplate | using_root | is_template | Template | |
| CommMessageContentType | using_root | type | Worklist Type | |
| CommunicationMessageCategory | using_root | category | Violation Category | |
| textendasCommMsgCntntTypeName | ||||
| CommunicationArea | using_root | comm_area_id | ||
| ReferencedOrgStructure | using_root | ref_org_struc | ||
| SegmentationProfile | using_root | segmentation_profile | ||
| CommMsgLastChangedDateTime | using_root | lchg_date_time | Time Stamp | |
| CommMessageDefaultLanguage | using_root | language | Report Text Language | |
| CommMessageIsLanguageDependent | reusable | is_language_dependent | ||
| CommunicationMedium | using_root | comm_medium | ||
| CommunicationMediumName | I_IBCCommunicationMediumText | CommunicationMediumName | ||
| CommunicationMessageUUID | using_root | db_key | UUID | |
| CommMessageReuseBlockUUID | cuand_me_me_root | db_key | UUID | |
| CommunicationMessageJSONString | using_root | email_for_send | ||
| CommMessageJSONVersionString | using_root | email_for_send_version | ||
| CommMessageRevisionJSONString | cuand_me_header | email_for_send | ||
| CommMsgRevsnJSONVersionString | cuand_me_header | email_for_send_version | ||
| _MessageContentCommArea | _MessageContentCommArea | |||
| _MessageContentRootCommArea | _MessageContentRootCommArea |
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_IBCMessageReuseBlockUsedIn.
-- 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_IBCMessageReuseBlockUsedIn AS
SELECT
rub_root.id AS CommunicationMessageReuseBlock,
using_root.id AS CommunicationMessage,
using_block.langu AS CommunicationMessageLanguage,
case when using_root.status = '15' and block_valid.valid_from < 99991231000000 then '20' else using_root.status end as CommunicationMessageStatus AS statusendasCommunicationMessageStatus,
case when using_root.status = '15' and block_valid.valid_from = 99991231000000 then header.name else using_root.name end as CommunicationMessageName AS nameendasCommunicationMessageName,
case when using_root.is_template = 'X' then concat(using_root.type, '-TMP') else using_root.type end as CommMsgExternalContentType AS typeendasCommMsgExternalContentType,
using_root.is_template AS CommMessageIsMessageTemplate,
using_root.type AS CommMessageContentType,
using_root.category AS CommunicationMessageCategory,
case when using_root.is_template = 'X' then ContentTypeText.template_text else ContentTypeText.text end as CommMsgCntntTypeName AS textendasCommMsgCntntTypeName,
using_root.comm_area_id AS CommunicationArea,
using_root.ref_org_struc AS ReferencedOrgStructure,
using_root.segmentation_profile AS SegmentationProfile,
using_root.lchg_date_time AS CommMsgLastChangedDateTime,
using_root.language AS CommMessageDefaultLanguage,
reusable.is_language_dependent AS CommMessageIsLanguageDependent,
using_root.comm_medium AS CommunicationMedium,
CommMediumText.CommunicationMediumName AS CommunicationMediumName,
using_root.db_key AS CommunicationMessageUUID,
rub_root.db_key AS CommMessageReuseBlockUUID,
using_root.email_for_send AS CommunicationMessageJSONString,
using_root.email_for_send_version AS CommMessageJSONVersionString,
header.email_for_send AS CommMessageRevisionJSONString,
header.email_for_send_version AS CommMsgRevsnJSONVersionString
FROM cuand_me_me_root AS rub_root
LEFT OUTER JOIN cuand_me_header AS header ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN cuand_me_valid AS header_valid ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN cuand_me_valid AS block_valid ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN dd07t AS status_text ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN dd07t AS status_20_text ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_IBCCommunicationMediumText AS CommMediumText ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_IBCMessageContentCommArea AS _MessageContentCommArea ON CommunicationMessageUUID = _MessageContentCommArea.CampaignContentUUID -- association [0..*]
LEFT OUTER JOIN I_AuthorizedCommunicationArea AS _MessageContentRootCommArea ON CommunicationArea = _MessageContentRootCommArea.CommunicationArea AND ReferencedOrgStructure = _MessageContentRootCommArea.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