Sunday, December 26, 2010
Function modules used
HTTP_SCRAMBLE | To scramble the password |
FTP_CONNECT | To connect to the remote system |
FTP_COMMAND | To execute the FTP command |
FTP_DISCONNECT | To close the FTP connection |
Process Flow:
For doing FTP the following steps needs to be performed.
- RFC destination for FTP should be maintained in transaction SM59.
- 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).
- Scramble the password by calling function module 'HTTP_SCRAMBLE'. This scrambed password needs to be used for making the FTP connection.
- Establish FTP connection by calling FM 'FTP_CONNECT'.
- Issue FTP commands by calling function module 'FTP_COMMAND'.
- Finally close the connection by calling function module 'FTP_DISCONNECT'
Followers
Popular Posts
- ABAP - ALV Report example with steps
- ABAP - Sending email with pdf attachment
- ABAP - Step by step tutorial on Smart Forms - Template Node
- SAP Adobe Form - Steps to create simple ADOBE Form and calling it from ABAP Program
- SAP ABAP - CL_ABAP_CHAR_UTILITIES class usage
- ABAP - Multiple value selection from F4 help for SELECT-OPTIONS
- Execute ABAP Report using SUBMIT statement
- ABAP - Select all or Deselect all in ALV or Check box handling in ALV
- Web Dynpro ABAP ALV - ON_CLICK event
- ABAP - Dynamic WHERE clause
0 comments:
Post a Comment
Your useful comments, suggestions are appreciated.Your comments are moderated.