Help Centre › Building Processes
This article describes the RPA SAP functionality to wait for input change.
For a full list of available functions, please read SAP functions.
Description
The SAP Wait for input change function monitors a SAP input field and waits until its value changes. This is useful for detecting when SAP has finished processing or when a field is populated by a background operation.
Setting it up
To use the SAP Wait for input change function, follow these instructions:
{{popups:rpas/add:action=sap-input-change}}
Once on a process map:
- Navigate to the process where you would like to add the SAP Wait for input change function
- Click on the green button’s drop-down (right side of the green button labelled “Process”)
- On the menu that appears, click on the “+ Activity” item
- From here you can select the SAP Wait for input change option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| Element ID | Yes | Text | - | The SAP GUI element ID of the field to monitor |
| Timeout | No | Number | 30 | Maximum seconds to wait for the value to change |
| Variable | No | Text | - | Variable to store the new field value |
Output variables
| Variable | Type | Description |
|---|---|---|
| Variable | Text | The new value of the field after the change |
Errors
| Error | Description |
|---|---|
| SAP not open | SAP GUI is not running |
| Timeout | The field value did not change within the timeout period |
| Element not found | The element ID could not be found on the SAP screen |
Tips
- Useful for waiting on SAP calculations or background updates to complete
- Increase the timeout for long-running SAP operations
- Use the variable output to capture the updated value for subsequent steps