当前位置:首页 > IT技术 > 编程语言 > 正文

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


Created by Jerry Wang on Nov 27, 2014

UI上发现Opportunity list为空:


Why Opportunity list is empty_执行流程

debug Opportunity count 的determine 代码:


Why Opportunity list is empty_执行流程_02

在一个能正常看到Opportunity list的user 执行流程里:


Why Opportunity list is empty_执行流程_03


Why Opportunity list is empty_执行流程_04


Why Opportunity list is empty_OData_05


Why Opportunity list is empty_执行流程_06


Why Opportunity list is empty_执行流程_07


Why Opportunity list is empty_执行流程_08

当使用出问题的user进行debug时,在line 197就退出search 执行流程了:


Why Opportunity list is empty_执行流程_09


Why Opportunity list is empty_OData_10


Why Opportunity list is empty_OData_11

这个lv_gp_flage在line 3058处被设置:


Why Opportunity list is empty_执行流程_12


Why Opportunity list is empty_OData_13



对于出现空Opportunity list的user而言,line 3045行的FM返回为空,因此lv_gp_flage始终未initial,从而使得DB query不会被执行。






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

开通会员,享受整站包年服务立即开通 >