Application Development and Automation 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: 
Read only

call RFC from Excel

Former Member
0 Likes
513

I have created rfc function, and it works fine in SAP, but when I try to call this function from Excel I get '0.00000', data type is correct.

VBA code:

Set F2 = functionCtrl.Add("ZFUNC")

F2.exports("PARAM1") = "123"

F2.exports("PARAM2") = "321"

F2.Call

MsgBox F2.Imports("EXP1").Value

Any suggestions?

I have created rfc function, and it works fine in SAP, but when I try to call this function from Excel I get '0.00000', data type is correct.

VBA code:

Set F2 = functionCtrl.Add("ZFUNC")

F2.exports("PARAM1") = "123"

F2.exports("PARAM2") = "321"

F2.Call

MsgBox F2.Imports("EXP1").Value

Any suggestions?

1 REPLY 1
Read only

Former Member
0 Likes
467

it's is ok now