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/24475491/viewspace-2713224/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 如何建立自己的SAP CRM產品主資料search scenario
- Elasticsearch中URI Search和RequestBody Search分析Elasticsearch
- SAP WM Storage Type Search配置裡的Storage Class & WPC標記
- SAP CRM Fiori 應用的 Deep Create 行為和實現分析
- JavaScript search()JavaScript
- PDF Search mac如何使用?PDF Search使用教程Mac
- SAP BSP應用有狀態和無狀態行為差異比較
- docker安裝elastic search和kibanaDockerAST
- Elasticsearch Search APIElasticsearchAPI
- location.search
- 查詢 Search
- google search grammerGo
- Leetcode Word SearchLeetCode
- DevNow: Search with LunrjsdevJS
- MVC Search 4MVC
- 如何啟用SAP CRM附件UI上的advanced按鈕UI
- SAP WebClient UI One Hit Navigation的實現方法WebclientUINavigation
- binary_search只回答序列裡是否存在val
- 企微SCRM和CRM系統的差異有哪些呢
- elasticsearch(八)---search apiElasticsearchAPI
- URL search 屬性
- # Search in Rotated Sorted Array
- Elasticsearch——Filter search resultsElasticsearchFilter
- elasticsearch之search templateElasticsearch
- Selective Search for Object RecognitionObject
- SAP CRM WebUI, CRM Fiori和C4C裡的Direct NavigationWebUINavigation
- SAP CRM OData模型裡的addressable為true的含義模型
- ABAP的OPEN SQL和Hybris Commerce的Flexible Search簡介SQLFlex
- mac和windows執行maven命令的差異MacWindowsMaven
- Leetcode 35 Search Insert PositionLeetCode
- Metasploit search命令使用技巧
- Sphinx Search 學習 (一)
- elastic search 原理介紹AST
- InnoDB search原理解析
- elastic search服務搭建AST
- tpextbuilder- Search 搜尋UI
- PDF Search mac如何使用?Mac
- dijkstra and A* search 演算法心得及JS實現演算法JS