Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Vb Sample for import

Former Member
0 Kudos
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.

1 REPLY 1

Former Member
0 Kudos

1) Is retntabletype is type compatible to RETURN?

2) In bracket did you try putting RETURN.str.

Regards

Shital