sap_screenshot
Capture the current SAP window as an image when structured data extraction returns empty or confusing results. Save to a PNG file or get an inline screenshot to document the screen.
Instructions
Take a screenshot of the current SAP window.
Use as a fallback when structured tools (sap_get_screen_elements, sap_read_field, sap_read_table) return empty or confusing results, e.g., on Web Dynpro screens where the element tree is non-standard.
To put a screenshot into a document, pass save_path (must end in .png, directory must exist, existing files are never overwritten). The file keeps SAP GUI's full resolution; the inline image is capped at 1920px. The response then also reports the absolute path and pixel size. Set inline=False to skip the image when only the file is needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inline | No | ||
| save_path | No |