前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >SAP CRM WebUI, CRM Fiori和C4C里的Direct Navigation

SAP CRM WebUI, CRM Fiori和C4C里的Direct Navigation

作者头像
Jerry Wang
发布2020-05-09 16:14:53
6070
发布2020-05-09 16:14:53
举报

Direct navigation in CRM WebUI

Use this url for example: https://:44354/sap(bD1lbiZjPTAwMSZkPW1pbg==)/bc/bsp/sap/crm_ui_start/default.htm?crm-object-type=BPFS&crm-object-action=B&crm-object-value=120&crm-object-keyname=PARTNER the overview page of business partner with id 120 in current application server could directly be opened:

How does CRM WebUI framework know which target UI view should be used for rendering? In the url the CRM object type BPFS and action B ( display ) is specified, both of which are used for target UI view resolvation.

In my example, the determined target ID is TBPFSOV.

This mapping is configured in customizing below:

This target ID will further be used to determine the target WebClient UI component view.

The mapping between a target ID and corresponding UI component is maintained in customizing below:

Direct navigation in CRM Fiori

Sample url: http://:50033/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html?sap-client=001&sap-language=EN#Lead-manageLead&/detail1/Leads(guid’40F2E963-AFAA-1EE5-88AD-D6FD7FB9D1CE’)

Semantic object Lead and action “manageLead” are specified in the url. How Fiori knows which UI5 view is used as target UI for rendering? Open the Catalog page in Fiori catalog designer:

The combination of semantic object plus action used in my example leads to the target Fiori application with alias “MyLeads” in LPD_CUST.

Open transaction code LPD_CUST, locate the UI5 application by application alias “MyLeads”.

Open the Component.js of this application and the target view, S3, is configured for route pattern “detail1/{contextPath}”.

This explains why S3.view.xml and S3.controller.js are loaded in the runtime when the direct url is accessed.

Direct navigation in C4C

Example: https://.c4c.saphybriscloud.cn/sap/public/byd/runtime?bo=COD_OPPORTUNITY_THINGTYPE&nav_mode=TI&param. Key=00163E217B181EE6AFB52FAEC14878E2 And the TI page of given opportunity is displayed.

The supported type for corresponding TI page are listed in SAP help.

If you monitor network request in Chrome development tool, it is easy to find out that the navigation target, Opportunity TI page, is resolved by a ABAP backend function module OBERON_OBN_TARGET_RESOLVE, which is not visible to C4C customer & partner.

Further reading

Jerry’s blogs regarding the comparison how CRM and Cloud for Customer implement a given feature using different approaches:

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2020-05-06 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • Direct navigation in CRM WebUI
  • Direct navigation in CRM Fiori
  • Direct navigation in C4C
  • Further reading
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档