Entering content frameSyntax documentation add_menu_bar Locate the document in its SAP Library structure

You use this method to generate an extra menu bar in the office application:

This graphic is explained in the accompanying text

The diagram shows the result of the method call. A new menu bar has been added beneath the application-specific toolbar. Currently, this is empty. You can fill it using the method add_menu_popup.

CALL METHOD document->add_menu_bar
     EXPORTING name     = name
               pos      = pos
               no_flush = no_flush
     IMPORTING error    = error
               retcode  = retcode.

Description of parameters

Parameter

Optional

Description

name

 

The name of the new menu bar

pos

X

Not currently used

 

Leaving content frame