Overview 

The SAP HPGL Display program displays vector graphic data coded in HPGL (Hewlett Packard Graphic Language) format. A sample SAP HPGL Display graphic is shown in the following figure.

You can call SAP HPGL Display from an ABAP program, and generate a HPGL display at the user's workstation terminal. Your program provides the vector graphic information (control codes in HPGL format) to the following function module:

Programming Interactive Applications

If your ABAP program allows the online user to open multiple windows or enter data with the mouse or keyboard, the application is interactive.

You are provided with two mechanisms for controlling the interaction between ABAP program and online user:

Using graphics function modules with dialog parameters STAT, M_TYP, PWDID, SUPER, WINID and RWNID)

Using graphics function modules with dialog parameters STAT, PWDID, SUPER, and WINID)

plus utility function modules :

For new programs, you should use only the second mechanism, graphics function modules with the utility function modules.

Do not use both mechanisms together in a program.

For more information, see Programming Interactive Applications.

You can also change the standard graphics display and define additional graphics functions for interactive users. This means when you call up SAP HPGL Display, it appears with changed or extra menu names or pushbuttons.

For more information, see the section Changing the Standard Graphics Display. To define additional functions, call the appropriate function module before you call GRAPH_HPGL.

If your ABAP program calls GRAPH_ACTION, it must also use the CUA_ID and H_TYP parameters (when calling GRAPH_HPGL) in order to learn when the user has selected these additional functions.