Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Remote Function Module return without value

Former Member
0 Likes
812

Dear Experts,

The FM RH_STRUC_GET is used in ZFM in HR server and that has to be called from EREC server. If we execute this FM in HR server we got 350 records. But if you called from Erec system it returns null. And sy-subrc is 0.

Can anyone says that what may be the reason for returning without values & without errors?

Thanks in Advance.

Regards,

Anita Vizhi Arasi B

4 REPLIES 4
Read only

colin_cheong
Contributor
0 Likes
721

Execute it with debug mode in EREC and set the login with DIALOG.

Here, you can trace if it is due to data conversion.

Bye

Read only

andrea_olivieri
Contributor
0 Likes
721

Hi,

assumed that your ZFM wrapper is defined as Remote enabled function module, your issue is probably due to a mismatch of the data dictionary structures used in both systems (calling and receiving system) or a missing move in the ZFM wrapper.

Regards,

Andrea

Read only

0 Likes
721

Dear Andrea,

Thanks for your reply.

In our case both the input as CHAR8 & table as SWHACTOR are same. Is there any other reasons for this?

Regards,

Anita Vizhi Arasi B

Read only

andrea_olivieri
Contributor
0 Likes
721

Hi,

It could be a permissions issue of the RFC user.

Did you try to call RH_STRUC_GET with the import parameter AUTHORITY_CHECK = SPACE?

Regards,

Andrea