Skip to Content
0
Former Member
Mar 20, 2009 at 10:22 AM

Vb Sample for import

22 Views

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.