當前位置:首頁 > IT技術(shù) > 編程語言 > 正文

Why Opportunity list is empty
2022-04-18 10:59:06


Created by Jerry Wang on Nov 27, 2014

UI上發(fā)現(xiàn)Opportunity list為空:


Why Opportunity list is empty_執(zhí)行流程

debug Opportunity count 的determine 代碼:


Why Opportunity list is empty_執(zhí)行流程_02

在一個能正常看到Opportunity list的user 執(zhí)行流程里:


Why Opportunity list is empty_執(zhí)行流程_03


Why Opportunity list is empty_執(zhí)行流程_04


Why Opportunity list is empty_OData_05


Why Opportunity list is empty_執(zhí)行流程_06


Why Opportunity list is empty_執(zhí)行流程_07


Why Opportunity list is empty_執(zhí)行流程_08

當使用出問題的user進行debug時,在line 197就退出search 執(zhí)行流程了:


Why Opportunity list is empty_執(zhí)行流程_09


Why Opportunity list is empty_OData_10


Why Opportunity list is empty_OData_11

這個lv_gp_flage在line 3058處被設(shè)置:


Why Opportunity list is empty_執(zhí)行流程_12


Why Opportunity list is empty_OData_13



對于出現(xiàn)空Opportunity list的user而言,line 3045行的FM返回為空,因此lv_gp_flage始終未initial,從而使得DB query不會被執(zhí)行。






本文摘自 :https://blog.51cto.com/j

開通會員,享受整站包年服務(wù)立即開通 >