2011 Oct 13 9:13 AM
Hi experts,
I have a requiremnt wherein i need to call some Executables from SAP-ABAP Presentation server.
These EXE's are of DOTNET. They are present in C Drive of Desktop.
I have used FM GUI_EXEC to execute EXE's. This works fine with VC++ EXE's but not able to execute DOTNET EXE's.
so therefore i Tried to used CLASS : CL_GUI_FRONTEND_SERVICES=>EXECUTE method.
but it is giviing me following problem :
by default the OPERATION is OPEN... Where as I want to EXECUTE it.
it is giving me the error as Cannot open the file... which operation to use?
secondly if i used the OPERATION as 'EXECUTE' it gives me the error as 'No program is associated with this.Go to windows Control panneld define associate Type'.
Can anybody help me to pass the correct paramerts to this method.
i want to use the following parameters :
APPLICATION --> name of the exe (with or without extension)
PARAMETER --> some parameter ( running number requiremnt of EXE file)
OPERATION . --> EXECUTE
pl. help.
Regards,
Umesh
Hi experts,
I have a requiremnt wherein i need to call some Executables from SAP-ABAP Presentation server.
These EXE's are of DOTNET. They are present in C Drive of Desktop.
I have used FM GUI_EXEC to execute EXE's. This works fine with VC++ EXE's but not able to execute DOTNET EXE's.
so therefore i Tried to used CLASS : CL_GUI_FRONTEND_SERVICES=>EXECUTE method.
but it is giviing me following problem :
by default the OPERATION is OPEN... Where as I want to EXECUTE it.
it is giving me the error as Cannot open the file... which operation to use?
secondly if i used the OPERATION as 'EXECUTE' it gives me the error as 'No program is associated with this.Go to windows Control panneld define associate Type'.
Can anybody help me to pass the correct paramerts to this method.
i want to use the following parameters :
APPLICATION --> name of the exe (with or without extension)
PARAMETER --> some parameter ( running number requiremnt of EXE file)
OPERATION . --> EXECUTE
pl. help.
Regards,
Umesh
2011 Oct 13 9:25 AM
Hi
You can try to create an external command (transaction SM69).......sorry I've forgotten,,,,they works on application
How do you call CL_GUI_FRONTEND_SERVICES=>EXECUTE?
Max
Edited by: max bianchi on Oct 13, 2011 10:27 AM
2011 Oct 13 9:32 AM
Hi ,
the descrption of the paremeters says
application->Path + Name of Application "<--i think you have missed to give the path here
parameter->Parameter for Application
2011 Oct 25 11:48 AM
Problem solved, since i was giving EXECUTE in Opeartion instead of OPEN.
thanx...
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |