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

Copy a subroutine with include on a different server

Former Member
0 Kudos


I need to copy a subroutine which has many includes and into that includes there are many to copy such kind of subroutines.I have a subroutine and its PERFORM statement PRG also exist but they are not linked i.e when i double click on the perform it doesn't take me to the given prg.So i m thinking to copy the same prg from prd server.So how to copy the subroutine with all the includes and perform.




Former Member
0 Kudos


Just copy the Subroutine name and Do Main search.

i.e the binacular symbol on standard tool bar,

selecting (*) in main program radio button.

you will get all the includes in which that subroutine is being used.


0 Kudos

Hi Tanya gulsan,

It is not possible to just copy it from system to system.

You should create a function module with Remote function call (RFC) option in SE37.You should include this subroutine includes many includes.Then call it this one from the targeted system.

If it helpful, reward points.

Thank you,

Prasad G.V.K

Edited by: PRASAD GVK on Jul 15, 2008 12:20 PM

0 Kudos


Can u please give a detailed steps on RFC .I cant see the option for RFC in se37.