Sunday, December 26, 2010
Function modules used

HTTP_SCRAMBLETo scramble the password
FTP_CONNECTTo connect to the remote system
FTP_COMMANDTo execute the FTP command
FTP_DISCONNECTTo close the FTP connection














Process Flow:
For doing FTP the following steps needs to be performed.
  1. RFC destination for FTP should be maintained in transaction SM59.
  2. Get the host name or ip address of the remote server. Get the user id and password of the RFC user (these can be maintained in a custom Z table).
  3. Scramble the password by calling function module 'HTTP_SCRAMBLE'. This scrambed password needs to be used for making the FTP connection.
  4. Establish FTP connection by calling FM 'FTP_CONNECT'.
  5. Issue FTP commands by calling function module 'FTP_COMMAND'.
  6. Finally close the connection by calling function module 'FTP_DISCONNECT'

0 comments:

Post a Comment

Your useful comments, suggestions are appreciated.Your comments are moderated.

Followers

Contact Form

Name

Email *

Message *

Web Dynpro ABAP Book

An SAP Consultant

Follow US


Want to Contribute ?

If you are interested in writing about the new stuff you learn everyday while working, please write to the.sap.consultants@gmail.com.

Click on Contribution for more details.