2009 Feb 21 10:56 AM
Dear All
I have configured a RFC connection using SM59 trasaction to another server, for calling function module at the remote server.
Now my intension is, I dont want to hard code the destination name while calling the function module. because when i move the same development to Quality server or production server the "Destination name" varies.
So how can i get the destination name dynamically so that i need not hard code it. Is there any solution for this problem.
I hope i am clear with my question.
Regards
Vijay.M
Dear All
I have configured a RFC connection using SM59 trasaction to another server, for calling function module at the remote server.
Now my intension is, I dont want to hard code the destination name while calling the function module. because when i move the same development to Quality server or production server the "Destination name" varies.
So how can i get the destination name dynamically so that i need not hard code it. Is there any solution for this problem.
I hope i am clear with my question.
Regards
Vijay.M
2009 Feb 21 11:13 AM
Hi,
U can replace ur hardcoded value from table RFCDES table value.
This table stores all RFC destinations for ur system
Use field RFCDES-RFCDEST.
Thanks,
Vinod.
2009 Feb 21 11:22 AM
Hi,
Make the Entry of the destination in the Table and Select single the the Destination and pass it.If sy-subrc = 0 then go ahead else error message.
Thanks
Rajesh
2009 Oct 14 12:34 PM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |