在SAP CRM WebClient UI裡開啟ABAP Webdynpro頁面
Hi Friends,
in my recent customer project customer complains to me that they can not navigate from the workflow search result to the target UI.
The workflow work item is a document generated via SAP document builder. They would like to navigate to the document detail page and then decide whether to approve the document or not. With SAP standard solution so far in CRM7.0 EHP3, this is not possible since this work item does not have any BOR type but instead modeled via ABAP class /IPRO/CL_WFL_DOCUMNT. What’s more, the target document page is built via ABAP webdynpro which has not respective concept like UI object type, Genil component or BOL object name.
So in order to enable customer to see the document page, I just enhance the standard table to add a new column named “Document URL“. By clicking the hyperlink of that column, it will create a new popup window to display the document page.
The solution could be concluded as below steps:
Step1
enhance a new attribute DOC_URL in standard context node SEARCHRESULTNODE, implement Getter and P Getter.
in Getter, just get the target document page url via utility class:
in p getter, set the event handler for hyperlink click event:
Step2
define component usage GS_CMSRCH:
and in event handler for DISPLAY_DOC:
And that’s all.
Interface window CMDisplayContentWindow is a new window created by SAP in EHP3 SP3. There is no magic inside it: just open the target window via JavaScript window.open.
you can also use the reuse component GSURLPOPUP, which can achieve the same result but with different html markup.
After I finish it, I soon realized that in this dedicated case, it is possible to “navigate” to the target ABAP webdynpro page via CRM navigation framework itself.
要獲取更多Jerry的原創文章,請關注公眾號"汪子熙":
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24475491/viewspace-2708651/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- SAP CRM WebClient UI和ABAP Webdynpro頁面的互相跳轉WebclientUI
- ABAP Webdynpro和CRM WebClient UI不同的UI表現機制WebclientUI
- 在SAP CRM WebClient UI中用javascript觸發ABAP eventWebclientUIJavaScript
- 使用SAP Transaction Launcher將ABAP Webdynpro嵌入到WebClient UI中WebclientUI
- ABAP Webdynpro和WebClient UI不同的會話管理機制WebclientUI會話
- SAP WebClient UI overview頁面裡assignment block的可見性分析技巧WebclientUIViewBloC
- 在SAP WebClient UI裡顯示倒數計時的UIWebclientUI
- SAP CRM WebClient UI和Fiori UI混搭並存WebclientUI
- 如何在SAP WebClient UI裡使用jChartFXWebclientUI
- SAP CRM WebClient UI和Hybris backoffice UI開發的相同點WebclientUI
- SAP WebClient UI頁面標籤的決定邏輯介紹WebclientUI
- SAP CRM WebClient UI異常的持久化機制WebclientUI持久化
- 將SAP CRM WebClient UI的表格匯出成PDFWebclientUI
- SAP CRM WebClient UI上將text area裡的文字清空的後臺處理WebclientUI
- Jerry答網友提問:SAP CRM WebClient UI裡的EXT,STRUCT等含義WebclientUIStruct
- 如何在CRM WebClient UI裡使用HANA Live ReportWebclientUI
- 在ABAP Webdynpro裡顯示PDF的一種辦法Web
- SAP CRM user引數CRM_UI_PROFILE是在哪行ABAP程式碼裡讀取的UI
- SAP WebClient UI的會話重啟原理WebclientUI會話
- 使用Selenium自動化測試SAP CRM WebClient UIWebclientUI
- SAP CRM WebClient UI的Delta處理機制介紹WebclientUI
- SAP CRM WebClient UI html 格式的 Text 顯示邏輯WebclientUIHTML
- SAP CRM WebClient UI 支援的一些 url 引數WebclientUI
- 在SAP WebClient UI裡使用AJAX進行非同步資料讀取WebclientUI非同步
- 使用note++開發SAP WebClient UIWebclientUI
- 把經典的ABAP webdynpro應用配置到SAP Fiori Launchpad裡Web
- 如何在SAP WebClient UI裡使用HANA Live reportWebclientUI
- 如何修改SAP ABAP webdynpro的背景色Web
- SAP CRM WebClient UI的on_new_focus應該怎麼理解WebclientUI
- SAP CRM WebClient UI表格編輯模式的除錯明細WebclientUI模式除錯
- SAP CRM WebClient UI Text Type 顯示的過濾邏輯WebclientUI
- Product settype在CRM WebClient UI架構中的地位WebclientUI架構
- 如何在SAP WebClient UI裡建立柱狀圖(bar chart)WebclientUI
- SAP UI5應用裡的頁面路由處理UI路由
- 如何在 SAP 電商雲 Spartacus UI 裡新建一個頁面UI
- SAP CRM WebClient UI Text 可編輯與否的控制邏輯WebclientUI
- 引起SAP WebClient UI頁面出現超時(time out)錯誤的另一個原因WebclientUI
- Hybris service layer和SAP CRM WebClient UI架構的橫向比較WebclientUI架構