cancel
Showing results for 
Search instead for 
Did you mean: 

RFC Function module doesn't return results

Former Member
0 Kudos

Dear Gurus,

I'm trying to call a RFC function module from an method of my view. The Function module generates results by itself (if you test the FM from SE37 or if you debugg it from the Web Dynpro App) but the results aren't sent back to the method.

1) The RFC destination works.

2) Any exception is triggered.

I attached the detail of my debugging.

I really appreciate your help.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I just tried to call the function module from a executable program but it doesn't work either.

In the function module

https://drive.google.com/file/d/0B74...ew?usp=sharing

When I go out the function module

https://drive.google.com/file/d/0B74...ew?usp=sharing

Former Member
0 Kudos

Hi ,

The RFC function module which you are trying to execute in WDP is normal RFC FM or is it a BAPI?.

Here is a tutorial on BAPI usage.  It would be the same for an RFC function module.

Web Dynpro for ABAP - BAPI Usage

Thanks

KH

Former Member
0 Kudos

Thanks for your answer.

It is a normal RFC FM. Thanks for sharing the manual to me, I'll take a look.

Best regards

Former Member
0 Kudos

Hi,

Is it working now?.


Moreover, in FM you are populating tables paramater IT_MARCAS but in code you are using tables parameter IT_CAWNT.Change the code accordingly and check.

Thanks

KH

Answers (1)

Answers (1)

JoseMunoz
Active Participant
0 Kudos

Hi,

In system the function ZWD_LISTADO_MARCA has a table parameter IT_MARCAS and in the call to ZWD_LISTADO_MARCA the tables parameter is IT_CAWNT.

You have to use the same parameter name and should be same type in both systems ( system that calls the RFC FM and in the system where RFC is called )

Regards

Former Member
0 Kudos

You're right guys.

Thank you both.