[WEBINAR] Bulletproof: How Today's Business Leaders Stay on Top


Definition - What does FLUSH mean?

FLUSH is a method used in the SAP ABAP class cl_gui_cfw. It is mostly used for Graphical User Interface (GUI) communications. This method plays an important role during the communication between ABAP objects, control framework and automation controllers. Another use of the FLUSH method comes with JavaBean communications used in SAP Business Server Pages applications. FLUSH also may be used to pass importing parameters from generated proxies to an associated Java server.

Techopedia explains FLUSH

While using the object-oriented approach, a call to control method of any ABAP class does not mean the automatic execution of the same at runtime. A SAP system buffers all the methods in an automation queue, which is used in SAP to reduce the number of used remote function calls. The ABAP program then picks up the methods from this queue, ensuring no alterations to the methods' execution sequence. These methods are executed only if they are transferred by using the FLUSH methos via remote function call to the front end. In other words, FLUSH determines the synchronization point for the whole process.

The main advantage of using the FLUSH method to communicate with a Java server is that a request is not provided each time a JavaBean is provoked. This helps improve the performance of the involved systems.

If an error occurs while transferring the methods from the automation queue to the front end, exceptions are triggered in the FLUSH method. In most cases, it is not possible to identify the error from the provided exception. To identify proper errors, the tools provided in SAPGUI and SAP debugger are used.

This definition was written in the context of SAP
Share this:

Connect with us

Email Newsletter

Join thousands of others with our weekly newsletter

The 4th Era of IT Infrastructure: Superconverged Systems
The 4th Era of IT Infrastructure: Superconverged Systems:
Learn the benefits and limitations of the 3 generations of IT infrastructure – siloed, converged and hyperconverged – and discover how the 4th...
Approaches and Benefits of Network Virtualization
Approaches and Benefits of Network Virtualization:
Businesses today aspire to achieve a software-defined datacenter (SDDC) to enhance business agility and reduce operational complexity. However, the...
Free E-Book: Public Cloud Guide
Free E-Book: Public Cloud Guide:
This white paper is for leaders of Operations, Engineering, or Infrastructure teams who are creating or executing an IT roadmap.
Free Tool: Virtual Health Monitor
Free Tool: Virtual Health Monitor:
Virtual Health Monitor is a free virtualization monitoring and reporting tool for VMware, Hyper-V, RHEV, and XenServer environments.
Free 30 Day Trial – Turbonomic
Free 30 Day Trial – Turbonomic:
Turbonomic delivers an autonomic platform where virtual and cloud environments self-manage in real-time to assure application performance.