SAP - Reading data from Application Server by using File system commands

Dear All,
Welcome back to my blog.

We may get a requirement to read data from Application server. But, if you don't find proper function Module then, you can simply use steps and get the details from App. Server.

Execute Program RSFTP002:

  
Will get above selection screen. Here we need to pass below parameters, those are:



User -  FTP User name
Password - Password to open FTP server
Host -  IP address of FTP server
Command1 -  Enter FTP Command 1
Command2 - Enter FTP command 2
Command3  - Enter FTP Command 3

RFC Destination - By default it is SAPFTP - you have to check the name of RFC Destination in your system.
Compress  -  N

Command1, Command2, Command3:
These three options are provided for us to write Unix commands to run on File server system.
Example Commands are:

Command1  -  CD  Dir Name
 Now, system will open Directory in FTP Server.
Command2 - get File name
Properties of File name will be shown with this command.

For other commands refer to Unix File management commands and use it over here.

If you wanted to execute only one command, then you can ignore other two options. It is not mandatory to use all Command Options.



If you feel it is useful kindly share your feedback.


Regards
Vamsi Krishna