SAP: Press keyboard key

Send a virtual key to a SAP GUI element.

Help Centre › Building Processes

Send a virtual key to a SAP GUI element.

Runs on: Windows only.

Add it to a process

In the process designer, open the Add step tab. Find Press keyboard key under SAP › Interact, or type its name in the search box, and drag it onto the canvas.

Fields

FieldRequiredWhat it does
WindowNoThe title of the window to interact with. Supports wildcards: * matches any characters.
KeyYesThe keyboard key to press in SAP.
Label on screenNoThe text SAP shows on or beside the element. When SAP scripting is off, the bot finds the element by it and presses the key there.
VisualNoA saved picture target for the element, the same shape as on a desktop step: the last way tried. The element is clicked, then the key pressed.
IterationsYesNumber of times to press the key.
IntervalYesSeconds to wait between each key press.
TypeNoThe input type of the SAP element to interact with.
IDNoThe unique ID of the SAP element (from SAP GUI Scripting).
NameNoThe name of the SAP element to interact with.
Carry onNoCarry on when SAP reports an error in its status bar; read it with the Read status bar step Default: off.
ControlYesUI control identifier

See all SAP steps.

Errors

ErrorDescription
SAP not openSAP GUI is not running

Tips

  • Use this to press keyboard keys like Enter, Tab, or function keys in SAP

Related functions

Get started

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or have your first automation working in 7 days.