CUAN_LPG_VH

DDL: CUAN_LPG_VH Type: view_entity

Landing Page Search

CUAN_LPG_VH is a CDS View that provides data about "Landing Page Search" in SAP S/4HANA. It reads from 1 data source (cuand_mc_content) and exposes 28 fields with key field CP_KEY. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
cuand_mc_content cuand_mc_content from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_User _CreationUser _CreationUser.UserID = cuand_mc_content.createdbyuser
[0..1] I_User _ChangeUser _ChangeUser.UserID = cuand_mc_content.lastchangedbyuser
[0..*] I_AuthorizedCommunicationArea _AuthCommArea $projection.COMM_AREA_ID = _AuthCommArea.CommunicationArea and $projection.REF_ORG_STRUC = _AuthCommArea.ReferencedOrgStructure

Annotations (6)

NameValueLevelField
EndUserText.label Landing Page Search view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
Search.searchable true view

Fields (28)

KeyFieldSource TableSource FieldDescription
KEY CP_KEY cuand_mc_content marketingcontentuuid
ID cuand_mc_content marketingcontent
NAME cuand_mc_content marketingcontentname
TYPE cuand_mc_content marketingcontenttype
TYPE_T _MKT_Type ddtext Short text
STATUS_INT cuand_mc_content marketingcontentstatus
marketingcontentstatusendasSTATUS
ddtextendasSTATUS_T
CREA_DATE_TIME cuand_mc_content creationdatetime Timestamp
CREA_UNAME cuand_mc_content createdbyuser User Name
CREA_UNAME_TEXT
CREA_UNAME_TEXT
LCHG_DATE_TIME cuand_mc_content lastchangedatetime Timestamp
LCHG_UNAME cuand_mc_content lastchangedbyuser User Name
LCHG_UNAME_TEXT
LCHG_UNAME_TEXT
COMM_AREA_ID cuand_mc_content comm_area_id
REF_ORG_STRUC cuand_mc_content ref_org_struc
COMM_AREA_ID_T _CommArea comm_area_desc
LANGUAGE_DEFAULT cuand_mc_content mktgcntntdefaultlanguage
LANGUAGE_DEFAULT_T _T002T_LANG sptxt Name
DEPLOYED_URL _MKT_MC_Depl marketingcontentdeployedurl
DEPL_CREA_TIME _MKT_MC_Depl creationdatetime Timestamp
SOURCE cuand_mc_content marketingcontentsource
SOURCE_T _MKT_Source ddtext Short text
STYLESHEET_URL
_Extension
_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 CUAN_LPG_VH.
-- 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_LPG_VH AS
SELECT
  cuand_mc_content.marketingcontentuuid AS CP_KEY,
  cuand_mc_content.marketingcontent AS ID,
  cuand_mc_content.marketingcontentname AS NAME,
  cuand_mc_content.marketingcontenttype AS TYPE,
  _MKT_Type.ddtext AS TYPE_T,
  cuand_mc_content.marketingcontentstatus AS STATUS_INT,
  case when cuand_mc_content.marketingcontentstatus = '15' and _MKT_MC_Depl.createdbyuser > '' then '70' else cuand_mc_content.marketingcontentstatus end as STATUS AS marketingcontentstatusendasSTATUS,
  case when cuand_mc_content.marketingcontentstatus = '15' and _MKT_MC_Depl.createdbyuser > '' then _MKT_StatDepl.ddtext else _MKT_Status.ddtext end as STATUS_T AS ddtextendasSTATUS_T,
  cuand_mc_content.creationdatetime AS CREA_DATE_TIME,
  cuand_mc_content.createdbyuser AS CREA_UNAME,
  _CreationUser._UserAddress._PersonName.PersonFullName AS CREA_UNAME_TEXT,
  cuand_mc_content.lastchangedatetime AS LCHG_DATE_TIME,
  cuand_mc_content.lastchangedbyuser AS LCHG_UNAME,
  _ChangeUser._UserAddress._PersonName.PersonFullName AS LCHG_UNAME_TEXT,
  cuand_mc_content.comm_area_id AS COMM_AREA_ID,
  cuand_mc_content.ref_org_struc AS REF_ORG_STRUC,
  _CommArea.comm_area_desc AS COMM_AREA_ID_T,
  cuand_mc_content.mktgcntntdefaultlanguage AS LANGUAGE_DEFAULT,
  _T002T_LANG.sptxt AS LANGUAGE_DEFAULT_T,
  _MKT_MC_Depl.marketingcontentdeployedurl AS DEPLOYED_URL,
  _MKT_MC_Depl.creationdatetime AS DEPL_CREA_TIME,
  cuand_mc_content.marketingcontentsource AS SOURCE,
  _MKT_Source.ddtext AS SOURCE_T,
  '' AS STYLESHEET_URL
FROM cuand_mc_content
LEFT OUTER JOIN I_User AS _CreationUser ON _CreationUser.UserID = cuand_mc_content.createdbyuser  -- association [0..1]
LEFT OUTER JOIN I_User AS _ChangeUser ON _ChangeUser.UserID = cuand_mc_content.lastchangedbyuser  -- association [0..1]
LEFT OUTER JOIN I_AuthorizedCommunicationArea AS _AuthCommArea ON COMM_AREA_ID = _AuthCommArea.CommunicationArea AND REF_ORG_STRUC = _AuthCommArea.ReferencedOrgStructure  -- association [0..*]
;