2008 May 13 7:42 AM
Hi all,
I have successfully connected to .NET to SAP and i can assess the bapi function from .NET plat form.BUT now i need to get data from sap to .Net plat form.(need to read SAP table or structure and get data to .NET) any one can help for this.
Thanks
kanishka
Hi all,
I have successfully connected to .NET to SAP and i can assess the bapi function from .NET plat form.BUT now i need to get data from sap to .Net plat form.(need to read SAP table or structure and get data to .NET) any one can help for this.
Thanks
kanishka
2008 May 13 7:50 AM
Hi can u tell me tht how to connect .net to sap...I want to know tht..and its urgent for me..Please..
Thanks.
2008 May 14 4:41 AM
Hi Please find the code follows
R3 = CreateObject("SAP.Functions")
R3.Connection.Client = "200"
R3.Connection.System = "RDV"
R3.Connection.ApplicationServer = "ip"
R3.Connection.SystemNumber = "01"
R3.Connection.Language = "E"
R3.Connection.User = "usercode"
R3.Connection.Password = "password"
R3.Connection.Logon(0, True)
If R3.Connection.IsConnected Then
'FBFunc = R3.add("bapi name")
'FBFunc.exports("KUNNR") =
returnFunc = FBFunc.Call()
End If