*-Begin-----------------------------------------------------------------
Program zExecuteTest.
Data:
lr_fe_serv Type Ref To CL_GUI_FRONTEND_SERVICES
.
Create Object lr_fe_serv.
Check lr_fe_serv->Get_Platform( ) = 14.
lr_fe_serv->Execute(
Exporting
"Sysnative folder is only available on x64 Windows and only
"visible and accessible from x86 software
Application = '%windir%\Sysnative\notepad.exe'
"In the directory System32 you find all x64 applications
"Application = '%windir%\System32\notepad.exe'
"In the directory SysWOW64 you find all x86 applications
"Application = '%windir%\SysWOW64\notepad.exe'
Exceptions
CNTL_ERROR = 1
ERROR_NO_GUI = 2
BAD_PARAMETER = 3
FILE_NOT_FOUND = 4
PATH_NOT_FOUND = 5
FILE_EXTENSION_UNKNOWN = 6
ERROR_EXECUTE_FAILED = 7
SYNCHRONOUS_FAILED = 8
NOT_SUPPORTED_BY_GUI = 9
Others = 10
).
If sy-subrc <> 0.
EndIf.
*-End-------------------------------------------------------------------
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
4 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |