SAP C4C基于Thing Type和BO Object两种跳转方式介绍

简介: SAP C4C基于Thing Type和BO Object两种跳转方式介绍

My series of Cloud Application Studio Blogs

How to detect EditMode in an Embedded Component

Step by step to enable your custom BO with attachment upload functionality

Step by step to create an Adobe Print form in Cloud application Studio

How to render PDF which displays picture from the image attachment of your custom BO

How to get current logged on business user’s employee information and assigned organization unit via ABSL

How to implement dynamic access control based on custom BO using OWL

How to make Code List Restriction work when control field and restricted field are not on the same BO

How to implement custom number range using custom business object

Two approaches to create Code List in Cloud Studio

Create Dynamic Code List via Custom Business Object Association

Step by step to develop Thing Type based navigation and BO Object based navigation

Put Extension field into embedded component and make it visible in Standard UI

One possible cause that embedded component fails to display in UI

Step by step to create HTML Mashup and make it visible in UI

Step by step to enable Text Collection for your custom BO

Automatically send an Email notification to line manager via Workflow in Account application

Step by step to create Object Value Selector in Cloud Application Studio

Thing Type based navigation

When I click the hyperlink in a given row in OWL, it is expected that the corresponding Thing Inspector page will be opened.image.png1) maintain the related associated Thing Type container for the hyperlink field where the navigation is triggered.image.png(2) Change the Thing Type Mode to static and choose the correct Thing Type for target Thing Inspector page.image.pngBO Object based navigation

The simplest approach is to create OBN via wizard. However in this blog I explain another way which implements OBN by purely manual step.

(1) Create a PTP from context menu:

image.pngChoose the BO belonging to target TI page:image.pngCreate a parameter for created PTP:image.png(2) In target TI controller, create an unbound data field OBN_key:image.pngAnd create a new inport and bind the PTP created in previous step into this inport.

Bind the parameter defined in PTP into the data field OBN_key created just now.image.pngCreate an event handler openTI which contains a BO Read Operation, and pass OBN_Key as read parameter.image.pngAssign the created event handler to the inport, so that when inport is executed, the correct BO instance specified by parameter OBN_Key will be read to render the TI page.

image.png(3) In navigation source OWL, create a new Edit button and maintain the navigation according to below setting:image.pngThe outport openTIOut should also be assigned to PTP created in step one.

Create an event handler to fire this outport:




And finally assign this event handler to Edit button.image.pngIn the runtime when Edit button is clicked,

image.pngI page will be opened:image.png


image.png

相关文章
|
2月前
|
JavaScript 前端开发 数据库
如何在 SAP CRM 里通过 navigation framework 跳转到 ABAP Webdynpro 页面
如何在 SAP CRM 里通过 navigation framework 跳转到 ABAP Webdynpro 页面
21 0
|
6月前
|
供应链
SAP ABAP 系统中的 Lock Object
SAP ABAP 系统中的 Lock Object
40 0
|
23天前
|
Web App开发 开发者 存储
介绍一个 webp 格式转 png 格式的软件:XNConvert
介绍一个 webp 格式转 png 格式的软件:XNConvert
25 6
介绍一个 webp 格式转 png 格式的软件:XNConvert
|
6月前
关于 SAP ABAP 里的锁类型 Lock Type
关于 SAP ABAP 里的锁类型 Lock Type
30 0
|
6月前
|
XML 数据格式 UED
什么是 SAP UI5 的 Semantic Object 语义对象
什么是 SAP UI5 的 Semantic Object 语义对象
43 0
|
6月前
|
XML 数据格式 开发者
SAP UI5 应用开发教程之五十三 - 如何自定义 SAP UI5 数据类型(Data Type)试读版
SAP UI5 应用开发教程之五十三 - 如何自定义 SAP UI5 数据类型(Data Type)试读版
32 0
|
6月前
|
Web App开发 前端开发 JavaScript
如何使 SAP UI5 SmartField 在运行时渲染成超链接的形式并支持跳转的试读版
如何使 SAP UI5 SmartField 在运行时渲染成超链接的形式并支持跳转的试读版
26 0
|
7月前
|
XML 数据格式
SAP UI5 数据类型(data type) 学习笔记
SAP UI5 数据类型(data type) 学习笔记
48 0
|
7月前
|
Web App开发 前端开发 JavaScript
SAP UI5 应用开发教程之七十 - 如何使用按钮控件触发页面路由跳转试读版
SAP UI5 应用开发教程之七十 - 如何使用按钮控件触发页面路由跳转试读版
59 0
|
8月前
|
JSON 数据格式
TypeError: Object of type ‘float32‘ is not JSON serializable
TypeError: Object of type ‘float32‘ is not JSON serializable
129 0