前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >SAP Cloud for Customer如何实现从标准UI到自开发UI的跳转

SAP Cloud for Customer如何实现从标准UI到自开发UI的跳转

作者头像
Jerry Wang
发布2020-08-31 13:14:41
4850
发布2020-08-31 13:14:41
举报

Requirement

Create a new OBN button in the toolbar of a standard UI, for example the item table of Service Request TI.

Once this button is clicked, a new custom QC view will be displayed. In this new QC view, the original Service Request ID will be passed during navigation and displayed. See below example, I press the button in TI page of Service Request 3629, and this ID is also displayed in my custom QC page.

Here below are detail steps:

(1) Create a new Port Type Package with below parameter:

(2) Create a new custom QC page view:

Create a new unbound data field “TicketHeaderNodeID” to hold the Service Request node ID passed from Standard Service Request TI.

Create a new event handler to read the Service Request BO instance data by using “TicketHeaderNodeID” as parameter:

Create a new OBN inport by following the settings below:

Assign the created event handler to the “OnFire” property of this inport:

(3) In Service Request TI, create a new OBN button in extensibility explorer:

Since in previous step I have already assigned a custom operation “JerryOBN” to BO Service Request, so now it is available to use from drop down list of “Select Operation”:

Bind the nodeid attribute to /Root/UUID, so in the runtime, the current Service Request node ID will be passed to my custom QC view with the help of Port Type Package created in first step.

Apply the OBN setting and now you can see the generated change transaction where OBN button is ready to use.

(4) Create a new Work center and a new work center view, assign the QC to that new work center view:

And assign the work center view to test user:

After that the OBN navigation from Service Request TI to custom QC view works as expected.

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

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

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

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

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