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.