Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8937

Re: How to Store .csv file in outside Server (SQL or FTP)?

$
0
0

Hi Maruthamuthu,

 

Did you tried with PUT Command in Windows.

It is as simple as writing a program. Let me guess the scenario and explain how we can do this.

 

When some transaction is happening in SAP a .CSV file is being generated from a program. This file needs to be placed on the FTP server (this server may be SAP App Server or may not be).

Now from the Program which is generating CSV file call the Function Module for trigger a background job with event. Then ask your BASIS guy to assign the PUT command to the event Put command is available in  AIX/SOLARIS/WINDOWS etc.. servers.

Please have a look for the command usage from the below link (UNIX)

www.cs.colostate.edu/helpdocs/ftp.html

 

Regarding the WINDOWS PUT Command this is how it works

Open Command prompt.

FTP yourappservername.sap.com

then it will prompt for username and password.

after entering username and password (if you have enough auths then it will take you to the app server) Here you can use the PUT command like

CD C:\Desktop

PUT filename.csv

thats it.. you are done. you can see the file in the another server. Hope this is informative...


Viewing all articles
Browse latest Browse all 8937

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>