前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >ABAP Webdynpro和CRM WebClient UI不同的UI表现机制

ABAP Webdynpro和CRM WebClient UI不同的UI表现机制

作者头像
Jerry Wang
发布2020-08-06 20:22:36
2860
发布2020-08-06 20:22:36
举报

This wiki page collects UI behavior differences between ABAP Webdynpro and CRM Webclient UI.

Data loss handling

in CRM webclient UI, you can follow the wiki to implement data loss functionality. The steps are quite simple, as most of tasks are done by UI framework. When you make some changes on UI without save and plan to navigate to other UI for example by clicking other work center in the left navigation bar, the data loss dialog will be poped up automatically.

It is difficult to implement data loss scenario in ABAP webdynpro. Developer should take care the logic how to detect the ABAP webdynpro UI element is changed, which has already been done by CRM UI framework. Developers have to write lengthy and dirty code to achieve it.

Session issue

For example, when we log on to CRM system via a business role:

use tcode SM04, we observed there is one user session for the current UI:

When we go to the ABAP webdynpro page:

Go to SM04 again, we can observe there is a new user session generated for ABAP webdynpro, which means the ABAP webdynpro UI resides in a different user session, whereas the left CRM UI page in the original user session.

The technical session isolation strategy makes it difficult to exchange data between ABAP webdynpro UI and CRM webclient UI.

One approach to pass data from CRM UI to ABAP webdynpro is to define some parameter in ABAP webdynpro applications, fill those parameter in CRM and populate the URL containing the passed parameter via framework class:

However, this approach is not appropriate to pass large amount of data like internal tables. It is also difficult to pass data from ABAP webdynpro back to CRM UI. What’s more, careful coding is necessary to ensure a consistent transaction state.

Inconsistent configurability

By clicking the configuration icon, we can directly enter configuration mode to make adaptations on UI layout:

When an ABAP webdynpro is displayed, the configuration icon is still enabled.

However, since it makes completely no sense to configure an ABAP webdynpro component via Webclient UI framework, once the icon is clicked, We only get one notification saying currently no UI part is configurable.

ABAP webdynpro UI component configuration has a different development mechanism than Webclient UI. The coexistence of both leads to an inconsistent configuration experience for the end user.

要获取更多Jerry的原创文章,请关注公众号"汪子熙":

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

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

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

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

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