且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

SAP CRM WebClient UI和ABAP Webdynpro页面的互相跳转

更新时间:2022-05-27 01:12:55

Now I have another solution to navigate to ABAP webdynpro page via CRM navigation framework.

The CRM navigation framework is using a so-called navigation object which can tell framwork what the target UI view and the respective operation ( Display, Edit, Search etc ). The navigation object relies heavily on CRM ui concept like UI object type, BOR and BOL type which do not make sense for a ABAP Webdynpro page.

So the main idea of this solution is, to use a wrapper CRM ui component which encapsulate ABAP webdynpro page and make configurations to achieve the navigation from source UI component to the wrapper component. After the wrapper component is opened, it will then open ABAP webdynpro page itself.

SAP CRM WebClient UI和ABAP Webdynpro页面的互相跳转SAP CRM WebClient UI和ABAP Webdynpro页面的互相跳转SAP CRM WebClient UI和ABAP Webdynpro页面的互相跳转SAP CRM WebClient UI和ABAP Webdynpro页面的互相跳转SAP CRM WebClient UI和ABAP Webdynpro页面的互相跳转step2

SM30, view name BSPDLCV_OBJ_TYPE create a new UI object type. please AlWAYS double check in the system whether there are already existing UI object type in the system!

Here I create a new UI object type CRM_WF. You can input any name in BOL Object name. There is no validation check, just input a meaningful name.

The Genil component specified here will be loaded automatically by framework in the runtime. In most time your ABAP webdynpro page does not have respective Genil component in CRM, you just can maintain a dummy one.

SAP CRM WebClient UI和ABAP Webdynpro页面的互相跳转

the mapping class must implement interface IF_CRM_UI_OBJ_MAPPER. If your scenario is just navigation from CRM ui to ABAP webdynpro,

you only need to implement GET_ENTITY_FROM_UI_OBJECT.

Here I just retrieve respective document data from database with document key passed in from framework ( iv_entty_key_value )


step4

in SPRO-Customer Relationship Management-UI Framework-Technical Role Definition-Define Work Area Component Repository:

create a new entry for your wrapper UI component:

SAP CRM WebClient UI和ABAP Webdynpro页面的互相跳转SAP CRM WebClient UI和ABAP Webdynpro页面的互相跳转