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

RFC

Former Member
0 Likes
621

Hi

I created a new RFC enabled function module by copying an SAP function module in SE37.

The function module is RFC_READ_TABLE.

I modified it but cannot execute it as I will need the function module in the target server.

Is there anyway for me to execute the fn module without copying or moving it to the target server.

1 ACCEPTED SOLUTION
Read only

former_member194669
Active Contributor
0 Likes
577

No way without modifying

If you want to get the data from target system then your MODIFIED rfc should be there in the target system.

a®

3 REPLIES 3
Read only

former_member194669
Active Contributor
0 Likes
578

No way without modifying

If you want to get the data from target system then your MODIFIED rfc should be there in the target system.

a®

Read only

0 Likes
577

Hello,

That's correct, you need the modified function module in the target system.

As an alternative you may have a look at function module RFC_ABAP_INSTALL_AND_RUN

With this function module you can pass ABAP code (program) via RFC to a targett system and execute it there.

The function module contains a table called WRITES which contains the actual report of the program after it has run in the target system.

This table WRITES can be used in the source system to capture the result in the target system.

I hope this helps.

Wim

Read only

Former Member
0 Likes
577

Thank you both for ur help...

Thread can be closed now...