on 02-10-2011 10:45 AM
Hi,
We have a requirement where we need to pick up only a few files (say 100) from a folder with many more files parked in it.
We intend to run a .bat file, which resides in the FTP server itself. The .bat file is supposed to rename the files to a particular name which will be picked up by a Sender File Channel.
We tried using the "Run Operating System Command before Message Processing" but of no avail.
We are using:
Transport Protocol : FTP
Mesage Protocol : File
From SDN, we came to know that we cannot run a batch program using the above option. Please confirm.
Also, please help us with some alternative design, if reqd.
(We are using PI 7.1)
Thanks!!
Hi,
use command as below ;
c://usr//sap//tmp//mybatch.bat
regards
Aashish Sinha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vikram,
The batch file should be on XI server.
please check below link for more info on this
http://wiki.sdn.sap.com/wiki/display/XI/SAP%2bXI%2bFile%2bAdapter%2bOS%2bCommand%2bLine%2bFeature
Regards,
Deepak.
Hi Vikram,
You can try Message Packaging instead of Running OS command.
Have a look at this blog:
/people/william.li/blog/2008/03/07/step-by-step-guide-in-processing-high-volume-messages-using-pi-71s-message-packaging
Regards,
Aravind
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use a remote script to your ftp server.
Regards,
Carme.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>
> Hi,
>
> We have a requirement where we need to pick up only a few files (say 100) from a folder with many more files parked in it.
>
> We intend to run a .bat file, which resides in the FTP server itself. The .bat file is supposed to rename the files to a particular name which will be picked up by a Sender File Channel.
>
> We tried using the "Run Operating System Command before Message Processing" but of no avail.
>
> We are using:
> Transport Protocol : FTP
> Mesage Protocol : File
>
> From SDN, we came to know that we cannot run a batch program using the above option. Please confirm.
>
> Also, please help us with some alternative design, if reqd.
>
> (We are using PI 7.1)
>
> Thanks!!
You can use a Unix shell to do this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
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.