Screenshot Function

Use

GET_SCREENSHOT

Creates a screenshot of the topmost modal of the mode.

Arguments

[EXPORTING] mime_type_str TYPE STRING

Mime type of the image data

Possible values:

image/png

if the screenshot is available as PNG

image/jpeg

if the JPEG format is being used for the screenshot data

image/bmp

if the screenshot is provided as bitmap

image/gif

if the image data contains the screenshot in GIF format

image/tiff

if the TIFF format is being used for the screenshot data

[EXPORTING] image TYPE XSTRING

Image data

Exceptions

ACCESS_DENIED

Raised if the user declined the operation

CNTL_ERROR

Thrown if the operation fails

ERROR_NO_GUI

This exception is raised if neither Windows nor Java nor Web GUI is being used

NOT_SUPPORTED_BY_GUI

This exception is fired if the GUI used does not support this functionality