‎2015 May 20 10:07 PM
hi ,
i created a rfc function module with export , import and changing parameters.
In changing parameter i gave as cd_kunnr type kunnr passbyvalue.
and then i wrote select statement
SELECT SINGLE kunnr INTO lv_kunnr
FROM kna1
WHERE kunnr = cd_kunnr.
am passing kunnr from other system as
CALL FUNCTION 'Z30FM_RECKAUF_LOG' DESTINATION lv_dest
EXPORTING
store = lv_store
* IMPORTING
* VKORG =
* VTWEG =
CHANGING
kunnr = lv_kunnr
EXCEPTIONS
no_data_found = 1
no_customer_for_vkrog = 2
OTHERS = 3
here am not getting value to cd_kunnr .
can any one help me ?
‎2015 May 20 11:32 PM
Hi,
I'm not sure what you mean. Your custom RFC is not returning a value in lv_kunnr?
If not, have you tried debugging it?
cheers
Paul
‎2015 May 20 11:39 PM
hello paul ,
my rfc function module is not receiving the values which i passed from other system . so my select statement is failing .
when i debug there is no value in cd_kunnr .
‎2015 May 20 11:58 PM
Without knowing anything about what is going on inside the FM, it's hard to say, but you could try SELECTing using KUNNR rather than LV_KUNNR in the WHERE clause.
Rob
‎2015 May 21 5:58 AM