Change standard SAP fonts for the SAPGUI

To change the SAP standard fonts for SAPGUI

  • Close all the SAP GUI sessions along with the SAPlogon Pad.
  • Locate the file: theme.xml under the local SAPGUI install directory

e.g: C:\Program Files\SAP\FrontEnd\SAPgui\themes\HighCont

  • Open this file in a text editor and search for
  • Change the tag to the new font that you want SAP GUI to use.
  • refers to input areas while refers to the labels. Other aspects like:

Size, Bold, Charset, Pitch and Italic can be changed too.

  • Save this file and restart the SAPgui / SAPlogonPad

Access memory variables used by another program

Question: If a program (eg.: ZXYZ) calls a function module, can I access memory variables that are available in ZXYZ, but are not passed to the function module?

Answer:Yes!!!

Here is a sample code to access an internal IT_DATA from ZXYZ

===============
DATA: var_name(30) TYPE c VALUE ‘(ZXYZ)IT_DATA[]’.

TYPES: BEGIN OF st_data,
**** The same definition as IT_DATA in program
END OF st_data.

DATA: wa_data TYPE st_data.

FIELD-SYMBOLS: TYPE ANY TABLE.

ASSIGN (var_name) TO .

LOOP AT INTO wa_data.

WRITE : / wa_data.

ENDLOOP.

===============

About function groups and function modules

Function groups are containers for function modules. You cannot execute a function group. When you call an function module, the system loads the whole of its function group into the internal session of the calling program (if it has not already been loaded).

SAPL contains nothing but the INCLUDE statements for the following include programs:

LTOP. This contains the FUNCTION-POOL statement (equivalent for a function group of the REPORT or PROGRAM statement) and global data declarations for the entire function group.

LUXX. This contains further INCLUDE statements for the include programs LU01, LU02, … These includes contain the actual function modules.

The include programs LF01, LF02, … can contain the coding of subroutines that can be called with internal subroutine calls from all function modules of the group.

All of the function modules in a function group can access the global data of the group. For this reason, you should place all function modules that use the same data in a single function group. For example, if you have a set of function modules that all use the same internal table, you could place them in a function group containing the table definition in its global data.
Like executable programs (type 1) and module pools (type M), function groups can contain screens, selection screens, and lists. User input is processed either in dialog modules or in the corresponding event blocks in the main program of the function group. There are special include programs in which you can write this code. In this way, you can use function groups to encapsulate single screens or screen sequences.

User Interface Design Examples

  • Use transaction BIBS to view different examples of user interface design from SAP.
  • This transaction provides “Examples of the ergonomic interface setup” according to SAP.
  • There are numerous examples for screens, menus, prompts, messages and many more elements.