on 08-30-2006 8:32 AM
Hi Friends,
we are trying to call an RFC function module using .NET code. From .NET we are successfuly able to connct to SAP system, using .net connector class . However we are not able to invoke the function module. Its possible that i m not using right method in .NET connector class. we are not using proxy class for this connection.
Can any body pls send me a code, which can help me to invoke RFC function module.
Thanks in advance.
Hardik
Hi Hardik,
You can read about using SAP .NET Connector 2.0 here: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/dotnet/
PDK%20for%20.NET/Developer's%20Guide%20PDK%202.0%20for%20.NET/index.html
1. Programming with PDK for .NET -> Connecting to SAP NetWeaver Systems ->
Using SAP connector for .NET
2. Tutorials -> Accessing SAP NetWeaver Systems
You can find here usefull information even if you don't develop with PDK for .NET.
Regards,
Rima.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for a reply. I will appreicate if u could send me a sample code. I have found one code here
project1.testrfc rfc = new testrfc();
string conn = "CLIENT=100 USER=user PASSWD=init LANG=ZF ASHOST=192.168.0.31 SYSNR=0";
SAP.Connector.Connection connection= new SAPConnection(conn);
rfc.Connection = connection;
rfc.Connection.Open();
rfc.Z_TESTRFC(MATNR);
rfc.Connection.Close();
Can u tell me if this could be useful, to a function module z_testrfc?
thanks again,
Hardik
Hi,
Please look at the code in this links...
http://help.sap.com/saphelp_nw04/helpdata/en/51/d5470940fd564b888f4beb9523fa6c/content.htm
Hope it helps you.
Regards,
Maheswaran.B
Message was edited by: Maheswaran B
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.