Call the context menu command Version 1 (Net)

Action group: SAP


Description

The action calls the context menu command of the specified item

Action icon


Parameters

Input parameters

SAP application - Instance of the SAP application with which the action works

Element - Element with which you want to interact with the context menu

Command name - The name of the command to be called from the context menu. If the field is not filled in, the value from the "Command index" field is taken. The field is filled in case insensitive. The command name is specified without hotkeys.

Command index - Command index

Settings

PropertyDescriptionTypeFilling exampleMandatory field
Parameters

Element

The element whose context menu you want to interact with


Robin.WinElement


Yes
Command nameThe name of the command to be called from the context menu. If the field is not filled in, the value from the "Command index" field is takenRobin.String
  1. The field is filled in case-insensitive.
  2. The command name is specified without hotkeys.
    For example, to call the first command from the context menu, the parameter must be filled with the value "Input":
  3. If the "Command name" or "Command name" and "Command index" parameters are filled in, the action uses the "Command name" parameter to define the command.

For example:

In the "Command name" field, enter "Add other objects"

In the "Command index" field, enter "3".

The action will invoke the "Add other objects" command.

No

Command indexThe sequence number of the command to be called from the context menu. The numbering starts from 1Robin.Numeric
No

Special conditions of use 

  1. The action uses the "Command Name" parameter to define the command; if the parameter field is not filled in, the "Command Index" parameter is used.
  2. If the parameters "Command index" and "Command name" are not filled in, the action generates an error.
  3. If the SAP window is overlapped by another window, the application may not behave correctly.
  4. Note that programs that use screen capture can also cause the application to fail.

Example of use 

Task

Call the context menu command

Solution

Use the action "Authorize", "Click", "Call the context menu command". 

Implementation

  1. Assemble a robot scheme consisting of the actions "Authorize", "Click", "Call the context menu command":

2. Set the parameters for the "Authorize" action according to the description SAP Authorization

3. Set the parameters for the "Click" action according to the Click description.

 

4. Set the parameters of the "Call the context menu command" action

5. Click on the "Start" button in the top panel. 

Result

The program robot completed successfully. 


  • Нет меток