‎2008 Nov 06 9:01 AM
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.
‎2008 Nov 06 9:04 AM
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).
‎2008 Nov 06 9:04 AM
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).
‎2008 Nov 06 9:32 AM
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.
‎2008 Nov 06 9:35 AM
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.
‎2008 Nov 06 9:42 AM