add_menu_popup 
You use this method to add a new entry to an existing menu bar that you have defined using theadd_menu_bar method.
Syntax
CALL METHOD document->add_menu_popup EXPORTING name = name menu_bar_name = menu_bar_name insert_before_popup = insert_before_popup parent = parent popup_before = popup_before no_flush = no_flush IMPORTING error = error retcode = retcode.
Parameter |
Optional |
Description |
|
The name of the new menu |
|
|
X |
The name of the menu bar where the menu will be added |
|
X |
The position of the item before which the new menu will be added (0: Place at end) |
|
X |
Not used |
|
X |
Not used |
Note
If you do not specify the name of a menu bar, the menu is placed in the main menu bar of the desktop application.