on 02-14-2006 5:07 PM
Hi!
We use XI30 SPS15 and have the following challenge: We expect every
week on a certain day a file coming from a customer. So far so good.
But now we want to check whether such a file has really come within a
given period of time and if not, we want to take some action (e.g.
trigger Alert or s.th. like that).
Business Background is: If the customer does not send the file or he
sends it too late, we cannot bill him in time, thus increasing our DSO.
Is there any mechanism within the XI to check things like these and to
trigger an alert? I've read the File Adapter Documentation as well as
the BPM documentation but I could not find any hint.
Any help would be great. Thanx!
Regards,
Volker kolberg
hi volker,
this is not supported in standard but...
you can do it very easily with standard ABAP job scheduling
- you schedule a job (every week, day etc.)
which starts a raport that send a RFC (or abap proxy call to the XI)
- then the RFC starts a BPM and inside it triggers a
java proxy that checks for a file
- if the proxy finds the file then if copies it to some other folder (which is monitored by another flow)
- if it doesn't find the file it triggers an error - sends mail or anything
the only thing you need to code is a few lines in java
to check the existance of a file + copying nothing else:)
this is the easiest way I believe till now <= Sp15
Regards,
michal
-
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions">XI FAQ - Frequently Asked Questions</a>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
we've solved it with a report checking the file system.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
My problem is: There is no file, thus the File Adapter will do nothing.
Regards,
Volker
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Volker,
Let me put forward a suggestion...
- In the Regular process make the file adapter archive the files to a different folder(archive folder).
- write a batch file/shell script on the App server, which checks in the archived folder for files created with todays date. If it does not find any files for the required day...output a file with some custom message(error file) to a different folder....
- schedule this batch file/shell script to run every day(or what ever period required)
- on XI, check for the creation of this error file and sent a message out using the mail adapter for any file created by this batch file/shell script.
Thanks,
Renjith
You might try by creating a command to be executed before any file is retrieved. This command will create an "error" file if no file is found in the directory.
Regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
With SPS15, you can set the "Adapter-Specific Message Attributes" in the sender file adapter. Within the attributes, among several pieces of file information, you can get the "Source File Timestamp". By examing this information, you can send an alert.
The information on how to retrieve attributes is in help.sap.com.
Regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
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.