CUAN_ME_QR_ENG_WITH_NAMES

DDL: CUAN_ME_QR_ENG_WITH_NAMES Type: view_entity

Communication: Message Query View

CUAN_ME_QR_ENG_WITH_NAMES is a CDS View that provides data about "Communication: Message Query View" in SAP S/4HANA. It reads from 1 data source (CUAN_ME_QR_ENG_WITH_NAMES_BASE) and exposes 39 fields. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
CUAN_ME_QR_ENG_WITH_NAMES_BASE qr_eng_with_name_base from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_IBCMessageContentCommArea _MessageContentCommArea $projection.db_key = _MessageContentCommArea.CampaignContentUUID
[0..*] I_AuthorizedCommunicationArea _MessageContentRootCommArea $projection.comm_area_id = _MessageContentRootCommArea.CommunicationArea and $projection.ref_org_struc = _MessageContentRootCommArea.ReferencedOrgStructure

Annotations (5)

NameValueLevelField
EndUserText.label Communication: Message Query View view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view

Fields (39)

KeyFieldSource TableSource FieldDescription
db_key CUAN_ME_QR_ENG_WITH_NAMES_BASE db_key UUID
id CUAN_ME_QR_ENG_WITH_NAMES_BASE id WorklistID
name CUAN_ME_QR_ENG_WITH_NAMES_BASE name Zone name
description CUAN_ME_QR_ENG_WITH_NAMES_BASE description Well Code Des.
CREATED_AT CUAN_ME_QR_ENG_WITH_NAMES_BASE CREATED_AT Uploaded On
CREATED_BY CUAN_ME_QR_ENG_WITH_NAMES_BASE CREATED_BY Version Created By
CREATED_BY_NAME CUAN_ME_QR_ENG_WITH_NAMES_BASE CREATED_BY_NAME Full Name
CHANGED_AT CUAN_ME_QR_ENG_WITH_NAMES_BASE CHANGED_AT Timestamp
CHANGED_BY CUAN_ME_QR_ENG_WITH_NAMES_BASE CHANGED_BY User Name
CHANGED_BY_NAME CUAN_ME_QR_ENG_WITH_NAMES_BASE CHANGED_BY_NAME Full Name
EXPORT_DEFINITION_NAME CUAN_ME_QR_ENG_WITH_NAMES_BASE EXPORT_DEFINITION_NAME Zone name
initiative CUAN_ME_QR_ENG_WITH_NAMES_BASE initiative
INITIATIVE_NAME CUAN_ME_QR_ENG_WITH_NAMES_BASE INITIATIVE_NAME Zone name
SENDING_PROFILE_NAME CUAN_ME_QR_ENG_WITH_NAMES_BASE SENDING_PROFILE_NAME Name
language CUAN_ME_QR_ENG_WITH_NAMES_BASE language Report Text Language
LANGUAGE_NAME CUAN_ME_QR_ENG_WITH_NAMES_BASE LANGUAGE_NAME Name
sender_name CUAN_ME_QR_ENG_WITH_NAMES_BASE sender_name Sender Name
sender_email CUAN_ME_QR_ENG_WITH_NAMES_BASE sender_email
STATUS CUAN_ME_QR_ENG_WITH_NAMES_BASE STATUS Workflow Status
TECHNICAL_STATUS CUAN_ME_QR_ENG_WITH_NAMES_BASE TECHNICAL_STATUS Workflow Status
STATUS_INT_TEXT CUAN_ME_QR_ENG_WITH_NAMES_BASE STATUS_INT_TEXT Short text
STATUS_TEXT_60 CUAN_ME_QR_ENG_WITH_NAMES_BASE STATUS_TEXT_60 Short text
comm_area_id CUAN_ME_QR_ENG_WITH_NAMES_BASE comm_area_id
COMM_AREA_DESC CUAN_ME_QR_ENG_WITH_NAMES_BASE COMM_AREA_DESC
comm_medium CUAN_ME_QR_ENG_WITH_NAMES_BASE comm_medium
OVERWRITE_SEND_INFO CUAN_ME_QR_ENG_WITH_NAMES_BASE OVERWRITE_SEND_INFO
category CUAN_ME_QR_ENG_WITH_NAMES_BASE category Violation Category
SEGMENTATION_OBJECT_NAME CUAN_ME_QR_ENG_WITH_NAMES_BASE SEGMENTATION_OBJECT_NAME
SEGMENTATION_PROFILE_NAME CUAN_ME_QR_ENG_WITH_NAMES_BASE SEGMENTATION_PROFILE_NAME
is_template CUAN_ME_QR_ENG_WITH_NAMES_BASE is_template Template
TYPE_EXTendasTYPE_EXT
TYPEendasTYPE
TYPE_EXT_DESC CUAN_ME_QR_ENG_WITH_NAMES_BASE TYPE_EXT_DESC
CONF_MSG_TYPE CUAN_ME_QR_ENG_WITH_NAMES_BASE CONF_MSG_TYPE
CONF_MSG_TYPE_DESC CUAN_ME_QR_ENG_WITH_NAMES_BASE CONF_MSG_TYPE_DESC
CREA_UNAME_TECH CUAN_ME_QR_ENG_WITH_NAMES_BASE CREA_UNAME_TECH Full Name
LCHG_UNAME_TECH CUAN_ME_QR_ENG_WITH_NAMES_BASE LCHG_UNAME_TECH Full Name
_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 CUAN_ME_QR_ENG_WITH_NAMES.
-- 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 CUAN_ME_QR_ENG_WITH_NAMES AS
SELECT
  qr_eng_with_name_base.db_key AS db_key,
  qr_eng_with_name_base.id AS id,
  qr_eng_with_name_base.name AS name,
  qr_eng_with_name_base.description AS description,
  qr_eng_with_name_base.CREATED_AT AS CREATED_AT,
  qr_eng_with_name_base.CREATED_BY AS CREATED_BY,
  qr_eng_with_name_base.CREATED_BY_NAME AS CREATED_BY_NAME,
  qr_eng_with_name_base.CHANGED_AT AS CHANGED_AT,
  qr_eng_with_name_base.CHANGED_BY AS CHANGED_BY,
  qr_eng_with_name_base.CHANGED_BY_NAME AS CHANGED_BY_NAME,
  qr_eng_with_name_base.EXPORT_DEFINITION_NAME AS EXPORT_DEFINITION_NAME,
  qr_eng_with_name_base.initiative AS initiative,
  qr_eng_with_name_base.INITIATIVE_NAME AS INITIATIVE_NAME,
  qr_eng_with_name_base.SENDING_PROFILE_NAME AS SENDING_PROFILE_NAME,
  qr_eng_with_name_base.language AS language,
  qr_eng_with_name_base.LANGUAGE_NAME AS LANGUAGE_NAME,
  qr_eng_with_name_base.sender_name AS sender_name,
  qr_eng_with_name_base.sender_email AS sender_email,
  qr_eng_with_name_base.STATUS AS STATUS,
  qr_eng_with_name_base.TECHNICAL_STATUS AS TECHNICAL_STATUS,
  qr_eng_with_name_base.STATUS_INT_TEXT AS STATUS_INT_TEXT,
  qr_eng_with_name_base.STATUS_TEXT_60 AS STATUS_TEXT_60,
  qr_eng_with_name_base.comm_area_id AS comm_area_id,
  qr_eng_with_name_base.COMM_AREA_DESC AS COMM_AREA_DESC,
  qr_eng_with_name_base.comm_medium AS comm_medium,
  qr_eng_with_name_base.OVERWRITE_SEND_INFO AS OVERWRITE_SEND_INFO,
  qr_eng_with_name_base.category AS category,
  qr_eng_with_name_base.SEGMENTATION_OBJECT_NAME AS SEGMENTATION_OBJECT_NAME,
  qr_eng_with_name_base.SEGMENTATION_PROFILE_NAME AS SEGMENTATION_PROFILE_NAME,
  qr_eng_with_name_base.is_template AS is_template,
  case when category = 'REUSEBLOCK' and qr_eng_with_name_base.TYPE = 'EMD' then 'EMD-RUB' when category = 'REUSEBLOCK' and qr_eng_with_name_base.TYPE = 'EM' then '-RUB' when category = 'EMAIL' and qr_eng_with_name_base.TYPE = ' ' then 'EM' else qr_eng_with_name_base.TYPE_EXT end as TYPE_EXT AS TYPE_EXTendasTYPE_EXT,
  case when category = 'EMAIL' and qr_eng_with_name_base.TYPE = ' ' then 'EM' else qr_eng_with_name_base.TYPE end as TYPE AS TYPEendasTYPE,
  qr_eng_with_name_base.TYPE_EXT_DESC AS TYPE_EXT_DESC,
  qr_eng_with_name_base.CONF_MSG_TYPE AS CONF_MSG_TYPE,
  qr_eng_with_name_base.CONF_MSG_TYPE_DESC AS CONF_MSG_TYPE_DESC,
  qr_eng_with_name_base.CREA_UNAME_TECH AS CREA_UNAME_TECH,
  qr_eng_with_name_base.LCHG_UNAME_TECH AS LCHG_UNAME_TECH
FROM CUAN_ME_QR_ENG_WITH_NAMES_BASE AS qr_eng_with_name_base
LEFT OUTER JOIN I_IBCMessageContentCommArea AS _MessageContentCommArea ON db_key = _MessageContentCommArea.CampaignContentUUID  -- association [0..*]
LEFT OUTER JOIN I_AuthorizedCommunicationArea AS _MessageContentRootCommArea ON comm_area_id = _MessageContentRootCommArea.CommunicationArea AND ref_org_struc = _MessageContentRootCommArea.ReferencedOrgStructure  -- association [0..*]
;