Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Reply from Pierre_Richer on May 3 at 10:21 AM Hi Waza, If the SAP server (Apps or DB) has security access to the folder where the file is located on the PC (if it's in the same LAN or WAN, share that folder ) You can define a logical file path (transaction FILE ) that defines that PC Folder. Once you can reach the PC Folder from SAP, Import the file and move it somwhere else. I don't know any ABAP command that allows you to copy or move a file but you can read the content, and write it somewhere else and delete the source (delete dataset). Maybe you will be facing problems like the file is not complete (FTP is in progress) or user has locked the file. If you know exactly at what time the file is sent by FTP, define a job in SAP a couple of minutes later (in case) that will process the file and repeat that job every 30 minutes. Regard, Pierre
| | | ---------------Original Message--------------- From: wnash7658 Sent: Friday, May 03, 2013 9:43 AM Subject: Upload File Background Task I know this is impossible from normal SAP FM's and that SAP now longer supports the rfcexec from a local PC either in the newer SAPGui versions. So has anybody out there had this same requirement. An FTP process outside of SAP puts a new file into a directory every 30 minutes on a local PC (note, appln server in Japan) and company in USA. A program needs to read the file and create a sales order in SAP, after upload it moves the file to a log directory. Note the program is not executed by a user. I have begun to think that I need to create an Event in SAP, any ideas? Regards Waza | | Reply to this email to post your response. __.____._ | In the Spotlight Become a blogger at Toolbox.com and share your expertise with the community. Start today. _.____.__ |