Moving files to different folders after interface run

Question: (I don't know if I should have posted this to Abap or where but as it's about interfaces... Please don't tell me to use search as I haven't been able to find anything about this, or tell me at least which words to search for )


We are implementing a system with some inbound interfaces to SAP. The interfaces that import G/L postings are implemented with SAP standard program RFBIBL00. We have planned that the transfer files are saved in SAP server in a specific folder before the processing. Processing is done with scheduled batch input, and after this we would like to automatically move the files to different folders: "archive" the ones that have successfully been imported to SAP, and move the erroneous ones to error folder.

I know how moving the files can be done with a custom program. However, my question is if this can be done with some standard functionality as we want to avoid all coding if that is possible. Or, is it the only possibility to schedule a custom "move files to right folders"- program after the interface runs have ended? Is there any other ways to do this?


Thank you for your help!

Answer:
We have created a custom program to manage our interfaces and one of the commands is to move to archive folder after processing via sm35.

It picks up and processes everything in the "inbound" folder, processes the file, adds a time and date stamp and then ftps to an archive folder.

Unfortunately, I cannot post the source code for you....
_________________
Baz

AsPiRiNg tUlY iDiOt

http://www.catb.org/~esr/faqs/smart-questions.html



Answer:
Ok, thanks.

I wouldn't need the code anyway, I already have a solution for that. The main point was to find out if this could be done without customization, apparently not. Let's code

Answer:
I achive this task by writing FTP scripts at unix level ... How tou guys did it .. as I develop an ABAP program which invoke external command and fire FTP scripts for archiving, move or transfer .. in a same manner one can backup files with time stamp in SAP.

But my logic invloved UNIX shell scripts + ABAP programs...

Wot about urz?

Answer:
Hi, To answer the question, fist of all how do you handle the batch jobs?, just SM36/37 or do you use a third party scheduler, most of the decent schedulers will give you the option of FTP and file archiving functionality ( move files, change date etc..)

Check the new scheduling solution form SAP – Job scheduling Capabilities of SAP NetWeaver, if you have a NetWeaver license it is FREE. It is backward compatible as well

Download here
http://service.sap.com/job-scheduling
Copyright ?2007 - 2008 www.jt77.com