日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

Jerry的WebClient UI 42篇原创文章合集

發布時間:2023/12/19 编程问答 30 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Jerry的WebClient UI 42篇原创文章合集 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

我要感謝CRM On Premise, 因為在這個產品上做開發讓我得以使用WebClient UI框架。有些朋友覺得這個SAP自己發明的基于HTML+ABAP的MVC框架,和現在流行的三駕馬車(Angular, React, Vue)相比顯得很笨重,也缺少一些他們認為現代UI框架必不可少的一些功能。

這個看法我個人不是完全認同,除了諸如React的Virtual DOM rendering和三駕馬車都支持的雙向綁定之外,很多這三個框架都支持的功能,SAP WebClient UI勉強說起來也都支持,只是實現得沒那么優雅。掌握WebClient UI,除了能幫我們完成日常工作,從開闊工程師的視野來說也是很好的一種方式,畢竟國內幾乎每位開發人員都能接觸基于HMTL+JavaScript的UI框架,但是WebClient UI則不然。

下面是我在SAP community寫的關于WebClient UI的42篇文章列表,按照發布時間羅列。

1. How to quickly locate the source code where a given message is raised in WebClient UI

https://blogs.sap.com/2013/09/25/how-to-quicly-locate-the-source-code-where-raises-a-given-message-in-webclient-ui/

這篇文章講述如何通過快速找到UI上看到的錯誤信息是在哪行ABAP代碼拋出來的,方便您排錯。

2.?A real case: how to open external url ( ABAP webdynpro ) via pop up window in CRM

https://blogs.sap.com/2013/11/08/a-real-case-how-to-open-external-url-abap-webdynpro-via-pop-up-window-in-crm/

如何在WebClient UI里通過彈出窗口打開ABAP Webdynpro的頁面,用于中央電視臺CRM項目

3.?how to navigate to ABAP webdynpro page via CRM navigation framework

https://blogs.sap.com/2013/11/08/how-to-navigate-to-abap-webdynpro-page-via-crm-navigation-framework/

注意和第二篇文章區分開: 通過這篇文章介紹的方式打開的ABAP Webdynpro是顯示在一個新的頁面上,而非彈出窗口

4.?Three ways to control the visibility of an assignment block in overview page in web client UI

https://blogs.sap.com/2013/11/22/three-ways-to-control-the-visibility-of-an-assignment-block-in-overview-page-in-web-client-ui/

三種方式控制WebClient UI上某個Assignment block根據運行時某種條件動態地顯示或者隱藏

5. 一個奇怪的問題: 用戶登錄后選擇了業務角色后一直顯示這個頁面,進不去任何應用了。引起這個問題的原因:

https://blogs.sap.com/2013/12/04/do-you-believe-the-malfunctioned-rfc-destination-will-cause-interaction-center-ui-hang/

6. 縮略圖的顯示原理

https://blogs.sap.com/2013/12/04/display-thumbnail-in-crm-ui-with-the-help-of-attachment/

7. 在WebClient UI里顯示PDF

https://blogs.sap.com/2013/12/17/another-way-to-preview-pdf-in-crm-web-client-ui-with-little-coding/

8. 這個技巧我個人覺得很有用,把WebClient UI運行時產生的錯誤信息自動存到你指定的Z表里,排錯時直接去Z表里找錯誤信息,省去了很多調試的時間。

https://blogs.sap.com/2013/12/21/how-to-persist-the-ui-exception-so-you-can-view-them-later/

9.?WebClient UI和ABAP Webdynpro的性能比較

https://blogs.sap.com/2014/01/02/webclient-ui-vs-abap-webdynpro-performance-loss-in-bol-genil-layer-discussion/

這是manager交代下來的任務,用于中聯重科的CRM項目。

10. 如果在CRM WebClient UI里混用ABAP Webdynpro, 會遇到哪些坑??

SAP官方不推薦用ABAP Webdynpro的技術在CRM里進行二次開發。下面這個文章里介紹了原因 - 兩種UI框架有著截然不同的:

  • session管理

  • 后退按鈕的實現

  • UI configuration的實現

  • Data loss的實現

  • 消息顯示的UI區域設計

https://blogs.sap.com/2014/01/08/issue-lists-of-using-abap-webdynpro-in-crm-ui/

11. WebClient UI的delta handling?

又一個詭異的問題,這個問題最后是托我的同事到SAP德國找到一個WebClient UI專家才最終弄明白。

https://blogs.sap.com/2014/01/19/automatic-delta-handling-in-webclient-ui/

12. “超時消息”并非真正是你的會話超時了

有時您在UI上做了一些操作,您會立即看到這個會話超時的提示,然而實際上這個頁面是一個提示,往往意味著后臺ABAP的應用里執行出了某些錯誤,這些錯誤被WebClient UI框架捕獲到,然后執行一個通用的錯誤處理分支:顯示該超時提示頁面。

  • https://blogs.sap.com/2014/03/03/timeout-page-and-webui-freezing-issue-another-cause/

  • https://blogs.sap.com/2014/03/28/why-timeout-page-is-always-displayed-although-there-is-no-timeout-at-all/

13. 我自己寫的一個小工具,方便我調試用的。文章里有介紹其具體用途。

https://blogs.sap.com/2014/03/03/a-small-component-repository-parse-tool-and-its-usage/

14. WebClient UI 框架原理性介紹

UI configuration的determine邏輯講解: 介紹當您點了F2之后,這些顯示信息的由來

https://blogs.sap.com/2014/03/07/ui-configuration-determination-logic-introduction/

文本的determine邏輯:

https://blogs.sap.com/2014/03/07/ui-text-label-determination-logic/

15.?Webclient UI Switch related processing

介紹了這兩個switch背后的故事:

https://blogs.sap.com/2014/03/08/webclient-ui-switch-related-processing/

16. 一個具體的排錯分享

我在WebClient UI的開發里已經完成了工具欄的繪制,但是最終顯示的UI上看不到工具欄顯示。如何通過自己debug找到哪里出了問題?

https://blogs.sap.com/2014/04/24/how-to-investigate-bsp-tag-issue-by-yourself/

17. 如何處理白屏問題

有時我們在WebClient UI上操作,然后就白屏了。如何找到線索?

https://blogs.sap.com/2014/05/13/another-small-tip-to-deal-with-empty-screen-issue/

18. WebClient UI源碼搜索工具

為提高我工作效率而寫的, 因為RS_ABAP_SOURCE_SCAN不支持搜索WebClient UI組件里包含的ABAP代碼。

https://blogs.sap.com/2014/05/26/webclient-ui-source-code-search-tool/

19. 下拉菜單的排錯

為什么這個下拉菜單里一個可選項也沒有?

https://blogs.sap.com/2014/06/18/dropdown-list-issue-in-crm-webclient-ui-a-very-funny-trouble-shooting-process/

20. 一次WebClient UI里的AJAX嘗試

https://blogs.sap.com/2014/06/23/how-to-implement-and-debug-ajax-functionality-in-webclient-ui-component/

21. WebClient UI里同時上傳多個附件的嘗試

在2014年的時候,WebClient UI還沒有這個功能,所以我做了一個原型:

https://blogs.sap.com/2014/08/23/attachment-multiple-upload/

22. 使用您喜歡的文本編輯器進行WebClient UI

比較冷門,可能也沒什么實際用處,但是證明了SAPGUI的flexibility(靈活性)

https://blogs.sap.com/2014/12/05/use-notepad-to-edit-your-webclient-ui-component-view/

23. 一個案例: Chrome development tool如何用在WebClient UI問題的排錯

https://blogs.sap.com/2016/06/17/how-webui-passes-table-selected-row-information-to-abap-backend/

24. 每個BSP應用的字節大小

這個需求是一個德國同事提給我的,我寫了一個工具來計算:

https://blogs.sap.com/2016/06/17/a-simple-tool-to-calculate-the-total-size-of-a-bsp-application/

25. 使用增強工具創建的擴展字段(extension field)是如何被WebClient UI繪制出來的。比如下面這種字段:

https://blogs.sap.com/2016/12/22/how-extension-field-created-by-aet-is-rendered-in-web-client-ui/

26. WebClient UI擴展字段的原理講解

https://blogs.sap.com/2014/02/21/insight-into-calculated-fields-created-by-aet/

27. 用ABAP代碼給WebClient UI擴展字段添加自定義行為

https://blogs.sap.com/2017/01/11/define-your-extension-field-with-custom-behavior-in-aet/

28. 如何創建下下拉列表類型的WebClient UI擴展字段

https://blogs.sap.com/2017/01/12/create-extension-field-with-type-code-list-via-aet/

29. 自己寫的小工具: 能快速找出一些WebClient UI component, 這些component里至少包含一個Context node, 綁定到了某個指定名稱的Genil model節點, 比如”Product”.

我在做CRM Addon的開發時,會有很多這種查找的需求,用工具實現查找能節省大量時間。

https://blogs.sap.com/2017/03/01/repository-information-system-for-webclient-ui-component/

30. 白屏問題的又一分析案例

點擊WebClient UI里某個超鏈接之后,就看到了這個白屏:

https://blogs.sap.com/2017/03/20/an-example-to-analyze-webclient-ui-empty-screen-issue/

31.?Fiori and CRM WebClient UI – Stateless and Stateful, but how?

https://blogs.sap.com/2017/03/30/fiori-and-crm-webclient-ui-stateless-and-stateful-but-how/

32.?Stateless and Stateful – Different behavior in application side

介紹這個選擇字段選中和取消會有什么不同的效果:

https://blogs.sap.com/2017/03/31/stateless-and-stateful-different-behavior-in-application-side/

33. 在WebClient UI里顯示PDF的又一種做法

https://blogs.sap.com/2017/05/01/add-table-line-item-preview-functionality-in-webclient-ui/

34. 將WebClient UI里的表格導出成PDF

如圖:

https://blogs.sap.com/2017/05/03/export-webclient-ui-table-to-pdf/

35. 介紹WebClient UI的會話重啟實現原理, 講述這個Memory Threshold字段背后的故事

https://blogs.sap.com/2017/05/24/webui-session-restart-logic/

36. 在WebClient UI里顯示帶動畫效果的倒數計時

如圖:

https://blogs.sap.com/2017/05/27/dipslay-count-down-in-webclient-ui/

37. 自開發的WebClient UI 倉庫信息系統(Repository Information System)

SE80里的倉庫信息系統不支持WebClient UI的查詢, 我自己寫了一個,至少能滿足我自己項目的需要。

https://blogs.sap.com/2017/06/05/repository-information-system-for-webclient-ui-component-context-node-and-their-attributes/

38. 介紹WebClient UI workbench里Context node的屬性文件夾下面這些字段具體是從哪里帶出來的

https://blogs.sap.com/2017/08/21/the-logic-how-the-field-list-under-attributes-folder-is-populated/

39. 通過transaction launcher把ABAP Webdynpro UI嵌入到WebClient UI里

https://blogs.sap.com/2017/10/13/configure-abap-webdynpro-component-into-crm-system-via-transaction-launcher/

40. 如何實現one hit navigation

我不知道怎么把這個概念譯成中文,其行為就是:如果搜索的結果只有一條記錄,會自動進入這條記錄的明細界面,而不會停留在搜索結果的UI上。

https://blogs.sap.com/2017/10/14/how-to-implement-one-hit-navigation/

41. 如何用WebClient UI的增強工具AET創建表格類型的增強字段

https://blogs.sap.com/2017/10/15/how-to-create-new-table-as-assignment-block-in-service-order-overview-page-via-aet/

42. WebClient UI, Fiori和Cloud for Customer的Direct Navigation(直接導航)實現講解

https://blogs.sap.com/2017/11/05/direct-navigation-in-crm-webui-crm-fiori-and-c4c/

43. WebClient UI和Cloud for Customer里表格寬度自定義的實現原理講解

https://blogs.sap.com/2017/11/21/how-table-column-resize-works-in-crm-and-cloud-for-customer/

要獲取更多Jerry的原創技術文章,請關注公眾號”汪子熙”或者掃描下面二維碼:

總結

以上是生活随笔為你收集整理的Jerry的WebClient UI 42篇原创文章合集的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。