SAP CRM Advanced search和Simple search裡Max hit表現行為的差異
We could observe the different behavior of search max hits in product advanced search and simple search. For Advanced search: if we maintain an invalid max hit number:
the default 100 could automatically be restored:
However this is not possible in simple search view. After an invalid max hit is typed, the error message is displayed, but the invalid content is still there.
The reason is the max hit field in Simple search is implemented via a pure input field, and conversion exception occurs here:
The exception information is written into the error message internal table:
And the rendering logic for inputField is, if there is an invalid content typed by end user (line 66), the invalid content will be kept in UI ( line 79)
And the logic in method is_attribute_valid in line 66 is just check whether the error message table in errors variable ( type cl_bsp_messages) is empty or not.
The solution for the max hit in simple search:
Since the design to use inputField as max hit could not be changed, however we could still change the implementation in method CL_PRDIOQR_ESSEARCH_CN00~SET_MAX_HITS: if method if_bsp_model_util~convert_from_string is NOT used, the framework handling for inputField will NOT set the invalid flag any more.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/69976940/viewspace-2713414/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 如何建立自己的SAP CRM產品主資料search scenario
- SAP WM Storage Type Search配置裡的Storage Class & WPC標記
- Elasticsearch中URI Search和RequestBody Search分析Elasticsearch
- SAP CRM Fiori 應用的 Deep Create 行為和實現分析
- JavaScript search()JavaScript
- SAP BSP應用有狀態和無狀態行為差異比較
- PDF Search mac如何使用?PDF Search使用教程Mac
- LintCode-Search Range in Binary Search Tree
- Elasticsearch Search APIElasticsearchAPI
- 查詢 Search
- 再說Unique Index和Normal Index行為差異IndexORM
- SharePoint 2013: Search Architecture in SPC202
- SAP CRM WebUI, CRM Fiori和C4C裡的Direct NavigationWebUINavigation
- 企微SCRM和CRM系統的差異有哪些呢
- docker安裝elastic search和kibanaDockerAST
- 如何啟用SAP CRM附件UI上的advanced按鈕UI
- URL search 屬性
- elasticsearch(八)---search apiElasticsearchAPI
- Elasticsearch——Filter search resultsElasticsearchFilter
- elasticsearch之search templateElasticsearch
- Linux Packages SearchLinuxPackage
- Elastic Search Java ApiASTJavaAPI
- Search Insert Position
- google search grammerGo
- 新的Google Ajax Search ApiGoAPI
- SAP CRM OData模型裡的addressable為true的含義模型
- android-Adding Search Functionality,Setting Up the Search InterfaceAndroidFunction
- SAP MM 物料號到物料的庫存轉移過賬裡的差異
- SAP CRM 裡 Attachment 搜尋的實現邏輯介紹
- 如何在SAP CRM裡建立和消費Web serviceWeb
- Metasploit search命令使用技巧
- Sphinx Search 學習 (一)
- Leetcode Word SearchLeetCode
- tpextbuilder- Search 搜尋UI
- PDF Search mac如何使用?Mac
- Selective Search for Object RecognitionObject
- InnoDB search原理解析
- Symbol.search 屬性Symbol