cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

The RFC does not receive the values passed in when calling the function module.

RobertoCoutinho
Explorer
1,375

Hello, how are you?

I have a requirement that consists of calling an RFC in the USER EXIT of MV45AFZZ, I am passing the values but in the RFC the parameters are empty.

RobertoCoutinho_0-1718745924916.png

 

 

 

 

 

 

 

 

 

 

These are the RFC settings.

RobertoCoutinho_2-1718746129977.png

RobertoCoutinho_3-1718746162288.png

RobertoCoutinho_4-1718746292061.png

What could be causing this problem?

 

 

 

Accepted Solutions (1)

Accepted Solutions (1)

Tomas_Buryanek
Product and Topic Expert
Product and Topic Expert

Hi, it looks like "typo mistake" - wrong parameter names when calling RFC module.

RFC module has parameters V_VBELN etc. but you call it as VBELN.

abo
Active Contributor
and being optional... it goes unnoticed at compile time
RobertoCoutinho
Explorer
0 Kudos
Thank you very much, Thomas.

Answers (3)

Answers (3)

RobertVit
Active Contributor

Hi,

the types are not the same (vbeln and uname are no strings).

 

 

Andreas-145
Explorer
0 Kudos

Thomas‘ answer is correct. 
the parameters are named „V_VBELN“, not ‚VBELN‘.

Is you are running ATC check, you will find errors like this easily.

regards

Vikash_Ranjan
Discoverer
0 Kudos

Hi,

There is typo mistake. Use V_VBELN instead of VBELN and V_USNAM instead of USNAM while calling the RFC in your program.

 

Regards,

Vikash Ranjan

Sandra_Rossi
Active Contributor
no need of repeating the same answer as other people 😉