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.
cancel
Showing results for 
Search instead for 
Did you mean: 

Debug abap Program

aneel_munawar
Participant
0 Kudos

Dear All,

I want to run the Dev Server program  but run on the production server's data. How can i do this.?

Actually I want to avoid generating requests again and again.

Thanks,

Aneel

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Aneel,

If you mean that your program is in dev server and the tables from which you want to fetch data from are in prod server, then you can create RFC destination using SM59(ask your basis consultant for it) and fetch the data to your development server. otherwise you can ask the customer to provide the copy of test data in development also. I hope it helps you

Regards,

Shahir Mirza

7 REPLIES 7

Former Member
0 Kudos

Hi Aneel,

If you mean that your program is in dev server and the tables from which you want to fetch data from are in prod server, then you can create RFC destination using SM59(ask your basis consultant for it) and fetch the data to your development server. otherwise you can ask the customer to provide the copy of test data in development also. I hope it helps you

Regards,

Shahir Mirza

0 Kudos

Dear Shahir,

Thanks for reply, I have the same requirement as you have mentioned. Can you tell please how to use the RFC.?

Regards,
Aneel

0 Kudos

Hi Aneel,

Go to SE37 tcode and in properties select the radio button "Remote function call". Create destination between the systems using SM59 tcode. You might not be having authorization for this, so contact your basis consultant. Also refer this link:

http://scn.sap.com/thread/333645

https://help.sap.com/saphelp_nw04/helpdata/en/22/042537488911d189490000e829fbbd/content.htm

Regards,

Shahir Mirza

0 Kudos

try SE37 

RFC_READ_TABLE

put the RFC Server Link (SM59) 

put a table (Query_Table, for example T001W)

but, you will have to rewrite all your program

regards

Fred

0 Kudos

Thanks Frédéric Girod  and Shahir,

Let me check and come back to you again.

Regards,

Aneel

FredericGirod
Active Contributor
0 Kudos

When somebody asking you for a new development, you have to request enough data for testing. It's not possible to ask developper to made their own tests in productive server.

If your users doesn't want to make this job, they could have a look to the TDMS tools to copy data from productive server to development server

regards

Fred

0 Kudos

Hi Aneel,

RFC connection from development to production is dangerous and basis wont create that mostly.

You can ask your functional consultant to replicate the production scenario in developent or refreshing production data to development may suits your requirement.

Thanks,

Guru