on 12-16-2011 12:31 PM
Hi ,
How to change the file name while archiving(sender file adapter level only) as below explained.
Ex : My source file name invoice.dat and after archive it will be the empl.dat only at archive folder, but I want it as invoice_invoicenumber.dat (invoice number from the file).
thanks.
Hari.
hi Harish
use an OS command after process to copy your source file by renaming it.
[http://wiki.sdn.sap.com/wiki/display/XI/SAPXIFileAdapterOSCommandLine+Feature]
Mickael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For Harish to rename the file from invoice to invoice_invoicenumber.... You would have to use a UDF to accomplisth this.....
But to change the file name while archiving, the approach mentioned by Michael can be used.
I am more keen to know how the OS command would be for renaming a file.
The link mentioned by MIckael is for copying the file in two different locations.
One more question was how this batch file is copied in the FTP?
we done have any standard way od doing this.. archive files using OS command it should work
or
create one more receiver file channel to post messages archive folder.
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.