Application Development 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: 

Call a VB EXE from ABAP

ralf_meier-prnte
Explorer
0 Kudos

Hi all,

I would like to call a Function (with 3 Param) of a given VB-EXE or VB-Script from my ABAP.

Is there anyone who can help me ??

Thanks

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Use the function module 'GUI_EXEC'.

The function module accepts two parameters 'COMMAND' and 'PARAMETER':

For eg. this how you can execute you execute the function module. Try giving the VB exe name in 'command' parameter :

COMMAND = 'Notepad'

PARAMETER = 'c:\temp\test.txt'

or

COMMAND = 'Notepad c:\temp\test.txt'

4 REPLIES 4

laxmanakumar_appana
Active Contributor
0 Kudos

Hi,

Check these links :

/people/thomas.jung3/blog/2004/09/01/using-net-windows-controls-in-the-abap-control-framework

http://www.codeproject.com/dotnet/SapDBReader.asp

Regards

Appana

Former Member
0 Kudos

use the function module,

EXECUTE_FUNCTION

give the EXE name to this.

regards

srikanth

Former Member
0 Kudos

Hi,

Use the function module 'GUI_EXEC'.

The function module accepts two parameters 'COMMAND' and 'PARAMETER':

For eg. this how you can execute you execute the function module. Try giving the VB exe name in 'command' parameter :

COMMAND = 'Notepad'

PARAMETER = 'c:\temp\test.txt'

or

COMMAND = 'Notepad c:\temp\test.txt'

Former Member
0 Kudos

Hi Ralf,

You can use GUI_RUN OR GUI_EXEC OR GO THROUGH THE BELOW LINK THIS LINK MIGHT HELP YOU OUT...

http://www.geocities.com/victorav15/sapr3/abapfun.html

Reward Points if helpful.

Regards,

Harini.S