2006 Apr 04 12:32 PM
Hi All,
Currently we are trying to connect to a ftp folder and save an XML file in that folder.
The problem is when we use the FM <b>'FTP_CONNECT'</b> and gave the relevent I/P also its giving a error msg as
<b>"User ftpuser has no access authorization for computer 212.20.72.195"
Message no. 04202</b>, we tried for notes in SAP Notes search aslo but cud not find any related notes for that.
can any one giv us the exact way to create the RFC Destination for this in SM59 and the way to procedd.
Help and Suggestions will be much appreciated.
Thanks & Regds.
Ganesh.
2006 Apr 04 12:44 PM
Hai Ganesh,
When you define an RFC server program(usually an executable on a server) as RFC destination, you choose either 'START' or 'Registration'.
'Start' means the SAP application sending anything to this destination will trigger this program, while registration means this program will already be running (like a service ) and have already registered itself to SAP server.
Once you have defined your RFC destination as of type 'registration', you should execute this exe with the syntax
"pgmname.exe -a<ProgramID>
-g<Gateway Host>
-x<Gateway Service>
" where programID shall be the same as the RFC destination name (I think) and gateway host and service is from the app server where you are registering this destination,
to have it started as a service and registered as the destination to the SAP server (which you can afterwards see in SMGW txn).
If you want this program to be started when something is sent to this RFC destination from SAP, make it of type 'START'.
Also Just look these links..
Regards,
Srikanth.
2006 Apr 04 12:44 PM
Hai Ganesh,
When you define an RFC server program(usually an executable on a server) as RFC destination, you choose either 'START' or 'Registration'.
'Start' means the SAP application sending anything to this destination will trigger this program, while registration means this program will already be running (like a service ) and have already registered itself to SAP server.
Once you have defined your RFC destination as of type 'registration', you should execute this exe with the syntax
"pgmname.exe -a<ProgramID>
-g<Gateway Host>
-x<Gateway Service>
" where programID shall be the same as the RFC destination name (I think) and gateway host and service is from the app server where you are registering this destination,
to have it started as a service and registered as the destination to the SAP server (which you can afterwards see in SMGW txn).
If you want this program to be started when something is sent to this RFC destination from SAP, make it of type 'START'.
Also Just look these links..
Regards,
Srikanth.
2006 Apr 04 12:46 PM
goto SM59
push create button
give some name for destination
give the host name and system no
for testing the connection , u can use Test connection button
chk this link for some info
http://help.sap.com/saphelp_nw04s/helpdata/en/78/20244134a56532e10000000a1550b0/content.htm
2007 Jul 16 8:33 PM
1)Make your RFC destination have Activation type as "Start on Explicit host".
2)Give your host name.
3)Before you make a call to FTP_CONNECT, you have to encrypt the password of your UX id using CALL FUNCTION 'HTTP_SCRAMBLE'.
This should work. All the best!
2009 Mar 12 7:31 AM
Did you ever get this resolved?
I am having the same issue.
Regards
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |