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

RFC Function call problem

Former Member
0 Likes
2,056

HI all,

As I have to call RFC from BI to R/3, I have to send few values to R/3 through RFC. I have created an RFC in R/3, I am trying to call that RFC from BI, but when I am trying to call RFC from BI the system triggers an error message saying the function Module does not found. As it is made in BI.

I am calling RFC like

Call function <fun_name> destination <d_nm>

Exporting

Importing.

.

Can anybody please give me the solution.

Thanks in Advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,378

Check if your destination parameter in CALL FUNCTION .. DESTINATION .. is correctly defined (in SM59) and populated. If it is correct, then check if you have flagged your function module in R/3 as a remote enabled function module (in Attributes).

4 REPLIES 4
Read only

Former Member
0 Likes
1,379

Check if your destination parameter in CALL FUNCTION .. DESTINATION .. is correctly defined (in SM59) and populated. If it is correct, then check if you have flagged your function module in R/3 as a remote enabled function module (in Attributes).

Read only

0 Likes
1,378

Thanks for your quick response. I am getting runtime error as

An error occurred when executing a REMOTE FUNCTION CALL.

It was logged under the name "CALL_FUNCTION_NOT_REMOTE"

on the called page.

the code is as follows

REPORT ZTEST.

data : v_sposi(18) type c,

v_filiale(10) type c,

v_date type datum,

v_stat1 type c.

v_sposi = '1200030'.

v_filiale = 'DC70'.

v_date = '20081106'.

CALL FUNCTION 'ZBI_ASSORTMENT_INDI' destination 'DERCLNT320'

EXPORTING

sposi = v_sposi

filiale = v_filiale

v_date = v_date

IMPORTING

STAT1 = v_stat1

.

Please correct me.

Read only

0 Likes
1,378

Your function module ZBI_ASSORTMENT_INDI is not defined as a remote enabled function module in the R/3 system. Set the type of function module as remote enabled in Attributes tab in SE37 transaction.

Read only

0 Likes
1,378

Thanks a lot, I got solution.