sap_select_alv_context_menu_item
Selects an item from an ALV context menu in SAP GUI. It can open the menu and select in one call, or work on an already opened menu, using function code, text, or position.
Instructions
Select an item from an opened ALV context menu.
First use sap_press_alv_toolbar_button on a Menu button to open it, then use this to select an item. Alternatively, pass toolbar_button_id to open the menu and select in one atomic call (recommended).
menu_item_id can be a technical function code (for example @M00006),
visible menu text (for example Confirm WT in Foreground), or a position
descriptor. You can pass human-readable menu text directly. The
menu_items of sap_press_alv_toolbar_button list what a menu offers.
select_by controls how selection is performed:
auto(default): heuristic based on whethermenu_item_idhas spacesid: function codetext: visible menu textposition: position descriptor
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grid_id | Yes | ||
| select_by | No | auto | |
| menu_item_id | Yes | ||
| toolbar_button_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||