Calling GRAPH_SET_CUA_STATUS 

This function module sends CUA information created with Menu Painter to the graphics program.

It is not available for SAP Business Graphics, SAP HPGL Display and SAP Structural Graphics.

Menu entries that trigger direct action in the graphics program are defined through standardized function codes.

All of these function codes are defined in the reference screen and may be referenced via include menus.

The following reference screens are available:

SAP Hierarchy Graphics: SAPLHIER / MAIN

SAP Network Graphics: SAPLCNET / GRAFIK

SAP Bar Chart Graphics: SAPLBARC / GRAFIK

SAP Statistical Graphics: SAPLSTAT / MAIN

SAP Gantt Chart Graphics: SAPLGANT / MAIN

SAP Pushbutton Graphics: SAPLBMAT / MAIN

SAP Text Matrix Graphics: SAPLBMAT / MAIN

SAP Portfolio Graphics: SAPLPORT / MAIN

When you create application-specific menu entries, you can use function codes beginning with X, Y or Z.

As the online user selects a menu function, the function code is reported back directly to the ABAP program, where it is analyzed using the following return parameters of the respective function module:

For a detailed description of parameters and exceptions, see the R/3 system documentation (Tools ® ABAP Workbench, Function library button, or transaction code SE37).

If a modified user interface is to be used, you must set the CUA status using the appropriate parameters with GRAPH_SET_CUA_STATUS before each call to the graphics program.

Do not use GRAPH_SET_CUA_STATUS and GRAPH_ACTION (or CNET_GRAPH_ACTION) together in a program.

CUA information would be overwritten.