on 04-21-2006 10:11 AM
Hello!
I have the problem with my Sender File Adapter (ftp).
Sometimes in ftp directory there are empty files or messages with a zero-sized payload.
This situation cause an error and Adapter "sleep" until I save-active it in a configuration. (before I removed the 0-size file...).
Any suggestion?
Thanks
Alessandro
will teelu how to write shell scrpits andf excute from xi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
My suggestion would be to write a shell script to remove zero sized payloads.
If you are using xi with >= sp14 guess you can specify the script to be executed before polling through OS command.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Just check these blogs to call an shell script from file adapter. it can be done for FTP too,
/people/sameer.shadab/blog/2005/09/21/executing-unix-shell-script-using-operating-system-command-in-xi
Also, just check the link and the topic os commands before and after..
http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
Regards,
Bhavesh
hi,
just check q 31 of note 821267.
Empty File Processing
Q: How does the File Adapter handle empty files and messages with a zero-sized payload?
A: Empty files in the sender adapter will not trigger the creation of a message. If an empty message is sent to a receiver channel, no output file will be created.
Regards,
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
What the note states is that if your Sender File adapter picks up and empty file, then it would not trigger any message at all.
So, if what that note says is correct, then I guess for the empty file, the adapter would not ve passed any message to the integration engine.
Is there any entry in SXMB_MONI? If yes, then it means some message is actaully being passed by the adapter engine to the integration engine which shouldnt have happened at all.
What does the error message in the File Adapter state?
Regards,
Bhavesh
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.