on 06-16-2006 3:52 PM
Hi all,
I have a scenario where we leave the flatfile in the sourcedirectory after we transported it via XI to the target. To make sure I do not send the same file twice I want to rename it right after the transport. So far I do not really know how.
Can someone help me?
Thanks
Cornelius
HI,
As mentioned by other reply, first option is you can Archive the files in the different folder.
http://help.sap.com/saphelp_nw2004s/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
Second option is Executing a Shell Script from the Sender File Adapter using OS Command option.
You can archive with DateTimestamp..
Regards,
Moorthy
Message was edited by: Krishna Moorthy P
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Cornelius,
probably you can try to use the archiving option in the sender file adapter and archive the file in the same directory, adding a timestamp to the original filename. In this case however you need to be careful with the file name pattern you specify for the selection.
What we typically do is to create a subdirectory archive of the original directory and move the files there...
Regards
Christine
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Cornelius Goldhahn,
In the file adapater, there is an option <b>command line</b> where u can enter operating system commands that have to executed after receiving the file.
In your case, it is renaming.
Hope this helps.
-Naveen.
Message was edited by: naveenkumar chitluri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.