03-13-2007 4:24 PM
Hi,
May I know, What is the functionality of the following 2 sentenses,
1-cl_gui_cfw=>flush
2-cl_gui_cfw=>false?
ThanQ.
03-13-2007 4:27 PM
hi,
CL_GUI_CFW=>FLUSH is for explicitly sending Buffered Automation Queue to Frontend.
Also, there is no method with name false in CL_GUI_CFW.
check out the link
http://help.sap.com/search/highlightContent.jsp
Hope this helps.
Regards,
Richa
03-13-2007 4:27 PM
hi,
CL_GUI_CFW=>FLUSH is for explicitly sending Buffered Automation Queue to Frontend.
Also, there is no method with name false in CL_GUI_CFW.
check out the link
http://help.sap.com/search/highlightContent.jsp
Hope this helps.
Regards,
Richa
03-13-2007 4:36 PM
Hi,
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.
(Due to the buffering of control methods in the Automation Queue, the method calls and the remaining ABAP code are executed at different times. Method FLUSH thus determines a synchronization point).
While communicating between the Automation Controller and the ABAP Objects Control Framework the automation queue uses GUI RFC calls. To minimize the network load between the backend and frontend, calls from the backend to the frontend are buffered and sent to the frontend in a single batch at defined synchronization points. A synchronization point occurs when you use a method call that is not buffered or explicitly call the generic synchronization method ( CALL METHOD cl_gui_cfw=>flush ).
cl_gui_cfw=>false is method which used to hide the border around the Splitter Container.
CALL METHOD go_splitter_container->set_border
EXPORTING
border = cl_gui_cfw=>false.
For more information, please check this link.
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCIDOCK/BCCIDOCK.pdf
Regards,
Ferry Lianto
03-13-2007 4:47 PM
03-13-2007 4:40 PM
hi Srinivas,
<u>1-cl_gui_cfw=>flush</u>
The statement invokes FLUSH method of class cl_gui_cfw ( '=>' indicates that it is a static method)
Please find below, the documentation on FLUSH method:
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.
(Due to the buffering of control methods in the Automation Queue, the method calls and the remaining ABAP code are executed at different times. Method FLUSH thus determines a synchronization point).
While communicating between the Automation Controller and the ABAP Objects Control Framework the automation queue uses GUI RFC calls. To minimize the network load between the backend and frontend, calls from the backend to the frontend are buffered and sent to the frontend in a single batch at defined synchronization points. A synchronization point occurs when you use a method call that is not buffered or explicitly call the generic synchronization method ( CALL METHOD cl_gui_cfw=>flush )
Hope this helps,
Sajan Joseph.