12-12-2007 10:54 AM
Hi all,
i want to use a RFC destination to start a HTTP request.
I have configured in SM59 the connection type G the server name and the path.
How can i call this RFC destination?
I know that a RFC destination is normally used in this way:
call function <function> destination <rfc destination>
Any ideas?
regards
12-12-2007 11:21 AM
hi there,
First you should make sure that your rfc connection is working fine in SM59 by testing the connection. If it is ok then u can use any function in the abap program and use the syntax like:
CALL FUNCTION 'ZFUNCTION'
DESTINATION rfcdest
The exporting values will be transferred to the destination system. If function did not work as expected then use SM58 to view any errors on the RFC call. If the data was not trasferred then in SM58 the reason or the error is given and then you can track from there on.
Reward if helpful !
Regards,
FS
12-12-2007 11:56 AM
Hi,
the RFC destination is like a URL.
Can i invoke the RFC destination alone - without calling a function because i don't need a function. The http request is the function.
regards
12-12-2007 11:55 PM
I guess you might need to send the data from sap to web in your case. create a simple function module rfc enabled to export data to the web. RFC destination has to be used through function module in ABAP.
Regards,
FS