Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing a cursor to a SAP Function ????
Message
From
04/04/2006 08:56:39
 
 
To
04/04/2006 06:52:45
Albert Beermann
Piepenbrock Service Gmbh & Cokg
Osnabrück, Germany
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
MySQL
Miscellaneous
Thread ID:
01110208
Message ID:
01110230
Views:
16
Hello,

i don't got your VB code 100% .. but maybe this helps ..
&& I dont see where you assign a object reference to the variable
&& "theFunc" in your VB code - so you have to adjust this ..
i_auf = theFunc.tables.Item("I_AUF")

SELECT yourTable
SCAN
auftrag = i_auf.AppendRow()
auftrag("AUFNR") = ALLTRIM(yourTable.auftragsnr)
auftrag("AUART") = ALLTRIM(yourTable.auftragsart)
...
ENDSCAN

...
functionCtrl.Connection.Logoff()
sapConnection = .NULL.
functionCtrl = .NULL.
Regards
Christian
Previous
Reply
Map
View

Click here to load this message in the networking platform