How call External C Program

Question: Hi Friends:

I know that exist the function Gui_Exec to call External program but I need to call a C program using and receiving parameters.

Do you know I can do that??.

Thanks for your help.

Luis Fernando.

Answer:
Please have a look at the links below (in my sig).
_________________
ilya

More input data: http://abaplog.wordpress.com
Sapfans ABAP FAQ: /forums/viewtopic.php?t=94198
R's ABAP Knowledge Corner: http://www.Rard-harper.net/kb/kb.html
Function modules documentation: http://www.se37.com

Answer:
Hi Ilya:

Thanks a lot for your answer; in fact, I was looking in the forum about my request first but the samples in the FAQ are calling programs exporting parameters only and I want to receive informatrion from an External program in C++.

Theres anyone have another idea???


Luis Fernando.

Answer:
If you write your program as an RFC server, you can get the results to SAP. Alternative is to write the data into a file and read it from ABAP.
_________________
ilya

More input data: http://abaplog.wordpress.com
Sapfans ABAP FAQ: /forums/viewtopic.php?t=94198
R's ABAP Knowledge Corner: http://www.Rard-harper.net/kb/kb.html
Function modules documentation: http://www.se37.com

Answer:
Or use SXPG_Command_Execute and retrieve the 'Protocol' as SAP call it which is the called programs output.
_________________
Regards

R


Abap KC
SFMDR

Answer:
Hi

I found a lot of good stuff here. Thanks.

I had a similar requirement, the diff is I have to call an external Java/C or VB program passing 10 paramaters to the called program and receive about 10 paramaters from the called program. Is there anyway that I can acheive this?

Thanks in advance.

Answer:
I had a similar requirement, the diff is I have to call an external Java/C or VB program passing 10 paramaters to the called program and receive about 10 paramaters from the called program. Is there anyway that I can acheive this?

See above.
_________________
ilya

More input data: http://abaplog.wordpress.com
Sapfans ABAP FAQ: /forums/viewtopic.php?t=94198
R's ABAP Knowledge Corner: http://www.Rard-harper.net/kb/kb.html
Function modules documentation: http://www.se37.com

Answer:
Thanks

Answer:
Hi,
I have the same problem, did you finally solve your problem?
I hope so...
In this case I will ask you which solution you suggest....

bye
Copyright ?2007 - 2008 www.jt77.com