The following function modules let you change the standard graphics display.
Lets you change existing
Used before calling any of the graphics program, except SAP Business Graphics, SAP HPGL Display and SAP Structural Graphics.

You should use this function module when writing new programs. However, it is not available for SAP Business Graphics and SAP HPGL Display.
Lets you add your own CUA items to the standard graphics display.
Used before calling any of the graphics function modules except those that call SAP Network Graphics and SAP Bar Chart Graphics.
For SAP Network Graphics, use CNET_GRAPH_ACTION before calling the appropriate function module.

Do not use GRAPH_SET_CUA_STATUS and GRAPH_ACTION (or CNET_GRAPH_ACTION) together in a program.
CUA information would be overwritten.
What the Function Modules Do
The function modules let you change or extend the CUA items of the graphics display:
You can define up to eight levels of sub-menus for each menu. In addition, the user can press F1 while selecting a menu to request a help text.
The function modules store the information in static storage, where it is used by the next-called graphics program to extend its window. (The graphics program also deletes the information from static storage to prevent any other calls from using it.)
When the user later clicks on one of these items (a given button or menu entry), the waiting function module returns the corresponding message to the ABAP program. Your program can then respond to the user requests as needed.