Hi Sheetal,
Good evening. I am not sure if you have succeeded in extracting the data or gave up.
The key thing is on the code above:
If you have a VBscript with the code - that is standalone - then you cannot define the variables
as follows:
Dim R3Logon As object
Dim MyFunc As object
which should be just:
Dim R3
Dim MyFunc
then when you actually want to instantiate them as objects then:
Set MyFunc = CreateObject("SAP.Functions")
Set R3Logon = CreateObject("SAP.LogonControl.1")
etc.
Check out my video - where i have extracted the SAP table headers and SAP table data
and also bypassed the limit of 512 byte, which exist in the RFC function.
Let me know if you need any help?
Thanks
Ram.S