Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to Execute DOTNET exe from SAP Presentation Server?

Former Member
0 Likes
718

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

3 REPLIES 3
Read only

Former Member
0 Likes
675

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

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
675

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

Read only

0 Likes
675

Problem solved, since i was giving EXECUTE in Opeartion instead of OPEN.

thanx...