SAP CRM WebClient UI和ABAP Webdynpro頁面的互相跳轉
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.
The finaly result would look like below:
compared with the solution in my previous blog, this solution does not need any enhancement on standard UI component, instead only several customizing work
( with corresponding mapper class development )and the development of a new wrapper UI component with tiny effort. The main steps are below:
step1
create a simple wrapper UI component. ( Please ignore view main, which is for another blog )
create an inbound plug for window MainWindow and implement as below.
The idea is to get the target ABAP webdynpro page url from iv_collection which is passed by CRM navigation framwork and set it to a static attribute of window controller class. That gv_url is just used in view windowOpen.htm. So it means when this wrapper UI component view is about to be rendered, it will open the target ABAP webdynpro page via javascript window.open.
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.
step3
create a new entry in table CRMS_UI_OBJ_MAP. The object name comes from step2.
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:
in inbound Plug Definition, create one entry:
in SPRO-Customer Relationship Management-UI Framework-Technical Role Definition-Define Navigation Bar Profile:
create an entry in “Define Generic Outbound Plug mapping” for your profile.
And that’s all.
要獲取更多Jerry的原創文章,請關注公眾號"汪子熙":
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24475491/viewspace-2707052/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 在SAP CRM WebClient UI裡開啟ABAP Webdynpro頁面WebclientUI
- ABAP Webdynpro和CRM WebClient UI不同的UI表現機制WebclientUI
- 使用SAP Transaction Launcher將ABAP Webdynpro嵌入到WebClient UI中WebclientUI
- ABAP Webdynpro和WebClient UI不同的會話管理機制WebclientUI會話
- 在SAP CRM WebClient UI中用javascript觸發ABAP eventWebclientUIJavaScript
- SAP CRM WebClient UI cross component跳轉的一個具體例子WebclientUIROS
- SAP CRM WebClient UI和Fiori UI混搭並存WebclientUI
- SAP UI5 Web Component不同React頁面的跳轉實現UIWebReact
- SAP CRM WebClient UI和Hybris backoffice UI開發的相同點WebclientUI
- SAP CRM WebClient UI和Hybris的controller是如何被呼叫的WebclientUIController
- SAP CRM WebClient UI和Hybris Commerce的懶載入機制WebclientUI
- 使用Selenium自動化測試SAP CRM WebClient UIWebclientUI
- SAP CRM WebClient UI異常的持久化機制WebclientUI持久化
- 將SAP CRM WebClient UI的表格匯出成PDFWebclientUI
- Hybris service layer和SAP CRM WebClient UI架構的橫向比較WebclientUI架構
- 頁面的跳轉技巧-setViewControllersViewController
- SAP CRM WebClient UI的Delta處理機制介紹WebclientUI
- SAP CRM WebClient UI html 格式的 Text 顯示邏輯WebclientUIHTML
- SAP CRM WebClient UI 支援的一些 url 引數WebclientUI
- 如何修改SAP ABAP webdynpro的背景色Web
- SAP CRM WebClient UI的on_new_focus應該怎麼理解WebclientUI
- SAP CRM WebClient UI表格編輯模式的除錯明細WebclientUI模式除錯
- SAP CRM WebClient UI Text Type 顯示的過濾邏輯WebclientUI
- SAP CRM WebClient UI Text 可編輯與否的控制邏輯WebclientUI
- SAP SRM ABAP Webdynpro和CFCA usb key整合的一個原型開發Web原型
- CRM WebClient UI和Hybris裡工作中心跳轉的url生成邏輯WebclientUI
- 如何把SAP CRM WebClient UI上某個欄位高亮加粗顯示WebclientUI
- 城市選擇頁面的 路由配置 跳轉路由
- Angular的scope. apply和CRM WebClient UI的modify方法AngularAPPWebclientUI
- SAP 電商雲UI結帳流程使用 url 貼上直接跳轉到 delivery mode不能開啟頁面的原因UI
- SAP CRM WebClient UI上以html格式顯示note的問題討論WebclientUIHTML
- SAP WebClient UI頁面標籤的決定邏輯介紹WebclientUI
- 使用note++開發SAP WebClient UIWebclientUI
- SAP WebClient UI的白屏問題分析WebclientUI
- 如何在SAP WebClient UI裡使用jChartFXWebclientUI
- dynamics crm跳轉到手機版本的頁面
- Jerry答網友提問:SAP CRM WebClient UI裡的EXT,STRUCT等含義WebclientUIStruct
- SAP CRM WebClient UI上將text area裡的文字清空的後臺處理WebclientUI