Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing SAP
Message
From
30/06/2003 08:57:38
Jason Lanier
Ofs Brightwave Carrollton
Carrollton, Georgia, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Accessing SAP
Miscellaneous
Thread ID:
00805260
Message ID:
00805260
Views:
125
I have the code for accessing SAP with Visual Basic, but I am having difficulty doing the same thing with VFP.

I am able to successfully do the connection, but executing one of the "SAP.Functions" functions is not working.

After running:
fns = CreateObject("SAP.Functions")
rfc = fns.Add("READ_TABLE")
toptions = rfc.Tables("OPTIONS")

I get an error when trying to assign something to toptions:
toptions(1,"TEXT") = "test string"

The error is: "Function argument value, type, or count is invalid."

Does anyone have any experience with using "SAP.Functions" in VFP?

Thanks,
Jason
Next
Reply
Map
View

Click here to load this message in the networking platform