on 10-13-2011 2:28 PM
Hi guys,
Sap system is generating a .stub file.if that file exist then only adapter will send the data to pi.
Can we have some settings in Sender File Adapter where in we can Put check condition for .STUB file.
I mean, If .STUB file is present in ECC directory only than PI will Pick the File.
Please advice,
Regards,
Naren
Hi,
When the .stub file is present, which file do you want pi to pick it up, is it the .stub or someother file.
If it is .stub file, then you simply configure the channel to look for *.stub only. If you want some other files to be transferred based on existence of .stub, go for simple unix script.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Krish,
Thanks for ur reply.
If .STUB file exist, we need to pick some other file.
From were we need to get that unix script file. and were we need to use .in file adapetr or some were else??
--> Do you have any example script? If yes, please share.
--> is there advance function in Sender File Adapter to pick that file?
Regards,
Naren
you will have to code a script that does the below;
1. check for the stub file and if it exist move the actual file to a folder say /pitoprocess
2. once the file is successfully moved, delete the stub file
3. if the actual file is not present, dont do anything
you can execute the script from within the adapter itself . ex: http://wiki.sdn.sap.com/wiki/display/XI/SAPXIFileAdapterOSCommandLine+Feature
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.