03-20-2009 10:22 AM
Set RFC = sapconn.Add("BAPI_VENDOR_GETDETAIL") 'BAPI name
RFC.Exports("VENDORNO") = "000100043"
RFC.Exports("COMPANYCODE") = "0001"
'initiate rfc call
nret = RFC.Call
'get Import Value
'retntabletype = RFC.tables("RETURN")(1, "TYPE")
retntabletype = RFC.Imports("RETURN")
How do I Use RFC.imports for structure instead of single strings? have been getting some runtime errors for this.
03-20-2009 7:28 PM
1) Is retntabletype is type compatible to RETURN?
2) In bracket did you try putting RETURN.str.
Regards
Shital