cancel
Showing results for 
Search instead for 
Did you mean: 

Rfc function question

Former Member
0 Kudos

Hi experts,

i wrote a rfc question,

and when i try to use this function, the function not get the value of the parameter that i send her.

what should i do?

when i debug the program i see that it go to the function without any data.

thanks,

Michal.

Accepted Solutions (1)

Accepted Solutions (1)

former_member181995
Active Contributor
0 Kudos

Check the code from where you are passing the values to her parameter.

Former Member
0 Kudos

what do you mean check the code?

i pass values to the function but when i got inside the function the values are initial.

former_member181995
Active Contributor
0 Kudos

FM name please?

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello michal_zindorf ,

Write this code --

data : w_logsys TYPE tbdls-logsys.

  • Fetch Logical System .

SELECT SINGLE * INTO wa_dest FROM bbp_backend_dest WHERE rfc_poss = 'X'

AND sys_type = 'ERP_2.0'.

IF sy-subrc = 0.

w_logsys = wa_dest-log_sys.

ENDIF.

AFTER THAT :--- in your FM

CALL FUNCTION 'YRFC'

DESTINATION w_logsys

EXPORTING

ebeln =

IMPORTING

p_unsez =

TABLES

i_ekko = i_ekko

i_ekpo = i_ekpo

Any problm ask me.

Vanu.