SAP Fiori 应用无法根据contact搜索的原因分析
Issue description: account 4024555 下面掛了一個contact 4098335:
但是在Fiori ui上,根據Thompson搜索不出這個contact出來:
Debug后臺邏輯:
Search bar里輸入的Thompson作為substringof的參數傳到后臺,按照fullName搜索:
https://sap:4080/sap/opu/odata/sap/CRM_TASK/ContactCollection?KaTeX parse error: Expected 'EOF', got '&' at position 7: skip=0&?top=20&filter=accountIDfilter=accountID%20eq%20%274024555%27%20and%20substringof(%27Thompson%27,fullName)&filter=accountIDinlinecount=allpages
accountID:
fullname:
cl_crm_bp_odata_rt
select_entityset_by_sql
from
[外鏈圖片轉存失敗,源站可能有防盜鏈機制,建議將圖片保存下來直接上傳(img-VavJYqJE-1581216089285)(https://upload-images.jianshu.io/upload_images/2085791-97550cf76a207d34.png?imageMogr2/auto-orient/strip)]
where
select contact~partner AS contact_id, contact~partner_guid AS contact_guid, contact~persnumber AS pers_number, contact~name_last AS name_last, contact~name_first AS name_first, contact~birthdt AS birthdate, contact~title AS title, contact~title_aca1 AS title_aca1, account~partner AS account_id, account~partner_guid AS account_guid, account~name_org1 AS company_name1, account~name_org2 AS company_name2, account~name_last AS ACCOUNT_NAME_LAST, account~name_first AS ACCOUNT_NAME_FIRST, account~name_grp1 AS ACCOUNT_NAME_GRP1, account~name_grp2 AS ACCOUNT_NAME_GRP2, account~type AS account_category, account~persnumber AS account_pers_number, cp_relation~fnctn AS function, cp_relation~dprtmnt AS department, relation_cp~xdfrel AS is_main_contact, relation_cp~crdat AS contact_crdat, relation_cp~crtim AS contact_crtim, contact~mc_name1 AS contact_mc_name1, contact~mc_name2 AS contact_mc_name2, account~mc_name1 AS account_mc_name1
最后很清楚了,contact 4098335 在BUT000中的數據,MC_NAME1和MC_NAME2-都不包含輸入的string,所以搜不出結果:
要獲取更多Jerry的原創文章,請關注公眾號"汪子熙":
總結
以上是生活随笔為你收集整理的SAP Fiori 应用无法根据contact搜索的原因分析的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 周枫谈大语言模型:三项根本性新能力最为关
- 下一篇: 华为宣布开放5G网络能力 自家5.5G比