Background documentationCL_GUI_FRONTEND_SERVICES Locate this document in the navigation structure

 

General Description

The class CL_GUI_FRONTEND_SERVICES contains a number of methods that allow ABAP programs to execute operating system functionality on the client PC. The PC on which the Graphical User Interface (GUI) is running is called the client PC. This class isolates ABAP programs from the operating system the client is running on and the Graphical User Interface implementation used.

ABAP applications should be programmed as platform independent as possible. This means that applications should try to avoid using functionality that is not supported for all of the supported GUIs.

In addition to making information about the client PC and the GUI used available certain clipboard, environment variable, file system and registry operations are provided as well. It is also possible to start programs or display documents using methods from the class CL_GUI_FRONTEND_SERVICES.

The class CL_GUI_FRONTEND_SERVICES supports the SAP GUI for Windows, the SAP GUI for the Java Environment and the SAP GUI for HTML. WebDynpro applications are not supported.

Methods

The methods of the class CL_GUI_FRONTEND_SERVICES can be grouped into the following categories:

While most of the methods of the class CL_GUI_FRONTEND_SERVICES call CL_GUI_CFW=>FLUSH internally there are a number of function where this is not the case. If the caller needs to call the FLUSH himself, this is noted in the documentation.