on 10-17-2011 7:08 AM
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.
If .STUB file exist, we need to pick some other file.
If we want to go with unix script, 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?
please advice
Regards,
Naren
Edited by: Narendra Surepalli on Oct 17, 2011 8:20 AM
Naren
with "Run operating system command before message processing" you can call a script on your server.
The script can check if there is a file .STUB exist on server or not.
You can serch for unix commands for check if file exist.
One example:
test -e $file_name && echo "file exists"
from http://www.unix.com/unix-dummies-questions-answers/5361-how-check-if-file-exist-not.html
You can check others as well.
Regards
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Naren,
I mean, If .STUB file is present in ECC directory only than PI will Pick the File.
Just do
*.STUB
in the field file name where you specify what kind of file to pick. It will then only pick STUB-files and nothing else.
Regards,
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.