In OO approach, calling a Control-method does not imply that the method is automatically executed at runtime. Initially, the system buffers methods in a queue, referred to as the Automation Queue, when they are called in the ABAP program. The execution sequence of the methods therefore remains unchanged. However, the methods are only executed if they are transferred to the frontend via Remote Function Call (RFC) using method FLUSH. This means that the Automation Queue is used to reduce the number of RFC calls required.
Also refer here:
http://sap.ittoolbox.com/documents/popular-q-and-a/the-flush-command-2537
https://www.sdn.sap.com/irj/sdn/thread?messageID=3161976
在InOO方法中,调用Control方法并不会立即在运行时执行。这些方法被缓冲在一个称为AutomationQueue的队列中,并按调用顺序保存。只有通过远程函数调用(RFC)并使用Flush方法将它们发送到前端时,这些方法才会被执行。这样可以减少所需的RFC调用次数。

1万+

被折叠的 条评论
为什么被折叠?



