日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 >

使用CDS view开发SAP Marketing contact的facet追溯工具

發布時間:2023/12/20 46 豆豆
生活随笔 收集整理的這篇文章主要介紹了 使用CDS view开发SAP Marketing contact的facet追溯工具 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

這篇SAP社區博客里,我的一位同事介紹了SAP Marketing里contact facet數據模型的存儲表:
https://blogs.sap.com/2016/07/01/how-does-sap-hybris-marketing-build-the-golden-record-of-an-interaction-contact/

主要是這兩張表:

CUAND_CE_IC_ROOT

CUAND_CE_IC_FCET

現在我的需求是:對系統里Contact的Origin Data數據來源渠道個數從高到低的順序進行排序:

解決方案:開發兩個CDS view

  • zcontact_origin
  • @AbapCatalog.sqlViewName: 'SQL_VIEW_NAME' @AbapCatalog.compiler.compareFilter: true @AbapCatalog.preserveKey: true @AccessControl.authorizationCheck: #CHECK @EndUserText.label: 'Contact Origin tool' define view zcontact_origin as select from cuand_ce_ic_root as a inner joincuand_ce_ic_fcet as b on a.db_key = b.parent_key {key a.db_key,a.name_text,a.smtp_addr,b.db_key as children_key,b.id_origin }
  • zcontact_count
  • @AbapCatalog.sqlViewName: 'ZCONCOUNT' @AbapCatalog.compiler.compareFilter: true @AbapCatalog.preserveKey: true @AccessControl.authorizationCheck: #CHECK @EndUserText.label: 'count aggregation' define view ZCONTACT_COUNT as select from zcontact_origin {key zcontact_origin.db_key,zcontact_origin.smtp_addr,count(*) as facet_count } group by db_key, smtp_addr

    最后的效果:

    要獲取更多Jerry的原創文章,請關注公眾號"汪子熙":

    轉載于:https://www.cnblogs.com/sap-jerry/p/11182647.html

    總結

    以上是生活随笔為你收集整理的使用CDS view开发SAP Marketing contact的facet追溯工具的全部內容,希望文章能夠幫你解決所遇到的問題。

    如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。