06-03-2005 7:25 PM
I want to do an RFC with parameters. Help (and sample code) would be greatly appreciated on how to create an RFC from outside of SAP. I have looked at the program srfctest.exe and executed it with option 4 (RFC with SAPGUI), but it does not support parameters. Thanks in advance for your help on this topic.
06-03-2005 9:28 PM
I have already looked at this, but it doesn't seem to explain well how to create an RFC outside of SAP. I would like to write a small application outside of SAP (a program with the extension .exe) that I can use to pass a file to a Remote Enabled FM in SAP. The example program srfctest.exe that was loaded on my local drive with the SAP GUI is close to what I need, but doesn't support parameter passing. It is also very multifunctional, so it is very dificult to decipher the code. Any further samples/suggestions anyone?
06-03-2005 9:19 PM
Jason;
Maybe this will help: http://help.sap.com/saphelp_erp2004/helpdata/en/22/0424ce488911d189490000e829fbbd/frameset.htm
Brant
06-03-2005 9:28 PM
I have already looked at this, but it doesn't seem to explain well how to create an RFC outside of SAP. I would like to write a small application outside of SAP (a program with the extension .exe) that I can use to pass a file to a Remote Enabled FM in SAP. The example program srfctest.exe that was loaded on my local drive with the SAP GUI is close to what I need, but doesn't support parameter passing. It is also very multifunctional, so it is very dificult to decipher the code. Any further samples/suggestions anyone?
06-03-2005 10:56 PM
I am not sure if you can do this in ver 4.7 but earlier versions support an auto - C /VB program generation for you RFC enabled FMs.
So first you need to write a RFC enabled Function Module in ABAP and then you can generate the C code through SE38-->Utilities --> ( you need to check the exact path ).
I have written a few programs like this long time back.
If you need I can pass some code to you.
Thanks,
Ram