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: 

Testing an RFC FM

Former Member
0 Kudos
584

Hi!

We can say, there are the follwoing systems:

DE1 - DE2

TS1 - TS2

PR1 - PR2

DE1 developer system is connected with DE2 via RFC.

TS1 test(quality) system is connected with TS2 via RFC.

PR1 productive system is connected with PR2 via RFC.

There is an RFC ready FM in the DE2, TS2, PR2 systems. However useful data for this FM is only in the TS2 and PR2 systems.

I would like to run this FM through RFC, from the TS1 system, because I don't have authority to system TS2. Unfortunately this FM does not exists in the TS1 system, so I think I can't run it from SE37. Or can I? I would like to run this FM, without any additional ABAP coding or transporting from the DE1 to TS1 systems. Is it possible?

Thank you.

Tamá

1 ACCEPTED SOLUTION

Former Member
0 Kudos
239

Hi,

What if you could try by providing the Destination as TS2 and test it. Guess it should work.

Thanks,

Prashanth

7 REPLIES 7

Former Member
0 Kudos
240

Hi,

What if you could try by providing the Destination as TS2 and test it. Guess it should work.

Thanks,

Prashanth

Former Member
0 Kudos
239

<<complete_irrelevant_information>>

Edited by: Vijay Babu Dudla on Feb 12, 2009 9:05 AM

former_member181995
Active Contributor
0 Kudos
239

Hi Tamás,

Can you just copy this FM from TS2 to TS1 into Z function module(make this RFC enable) and execute this Custom FM from TS1?

Also, you can set a "test data dictionary" in TS2 for those who have sufficient authorization in TS2and let them execute from TS2! (Though in this case no coding required)

Cheers,

Amit.

0 Kudos
239

Well I asked someone who has authority for that system

Thanx for the help.

Tamá

Former Member
0 Kudos
239

Note that dirty tricks might not be sustainable solutions. For example if this were to be deployed as a product, and the system landscape is correctly configured / patched / activation switches taken care of... then many of them will not work.

Using such features in development systems without testing them in productive equivalent systems / clients is a bad idea.

Sooner or later, you will need to clean up your design errors anyway. Either another project for you... whoppie... ... or in hard times it might be legal action taken against you for negligence.... that is less funny...

Just today I found a program in a customer system which I am very tempted to write a blog about. It generated subroutine pools and requested product keys (for package $tmp...??) and sent emails (!).

"Take me to your leader!" becomes "ET go home!"...

I have no idea how you solved this, but wanted to point that out for the benefit of any "cowboys" out there.

Cheers,

Julius

0 Kudos
239

I surprise about your response (Intention).

Also, I do not see any advice or thoughts there!!

Since OP doesnu2019t have RFC in TS1 also he is not intended anymore to transport FM into TS1 either, in such case i guess only Dirty tricks would work

Cheers

Amit

0 Kudos
239

Hi Amit and Tamas,

I think that I read too much between the lines. But dirty tricks do happen and for a moment this looked like one in the making.

Sorry about the venom. No offense intended. Feel free to report as abuse (at least it cannot be claimed that I was after points for the contribution...

Cheers,

Julius