|
wuhanmajie 发表于 2011-9-15 17:30 ![]()
谢谢这位高人,我尝试了说明中的方法,但似乎没有任何改变,仍然不能一次就查询成功,是否我理解有问题 ...
请看参考链接的这一段话:
Make sure that the program buffer is deleted by changing the roll area. You can accomplish this by logging off and then logging in again for the BAPI process. If the BAPI is called from an ABAP program, you can also use the command
CALL FUNCTION func DESTINATION 'NONE'.
我的理解是1. logging off and then logging in again可以修改roll area从而达到删除program buffer的目的;2. 如果是从ABAP程序中调用BAPI,也可以使用CALL FUNCTION func DESTINATION 'NONE'语句达到同样的目的。如果你的程序本身是一个RFC,可能只能使用第一种方法了。建议你往这个方向去测试验证,同时找找有关BAPI roll area的资料看看。如果还没有达到预期结果可以给SAP发message咨询。 |
|