on ‎2020 Jan 20 9:04 PM
Hello all!
I need to check if a program is been accessed by user using some script.
Is it possible to check if a program is been executed using SAP GUI scripting?
Best regards,
Allan Cristian Barros Silva
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Hi all,
Found it.
There is a method in CL_GUI_FRONTEND_SERVICES:
DATA: li_result TYPE i.
CALL METHOD cl_gui_frontend_services=>is_scripting_active
RECEIVING
result = li_result
EXCEPTIONS
cntl_error = 1
not_supported_by_gui = 2
error_no_gui = 3
OTHERS = 4.
Result:

Thanks all
Regard,
Allan Cristian Barros Silva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 15 | |
| 9 | |
| 6 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.