on 04-26-2013 8:27 PM
Hi experts,
Hope you are doing well.
We have a requirement in which we have to automate the sending of the count of messages sent out of the adapter engine per receiver. I know the tables that are referred to for fetching the messages counts in the Integration engine (SXMB_MONI) since they are in the ABAP stack but can somebody let me know which tables are referred to from the Runtime workbench - Adapter engine (Java stack)?
<Removed by Moderator>
regards
Debansu
Message was edited by: Prateek Raj Srivastava
BC_MSG is the table where AE messages get stored, you can perform select / count operations on this table to get daily statistics.
Personally i dont recommend you to perform any DB operations on PI internal table.
Even you can build one java application and access RWB message monitorings screen to display results.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you want to read java table and access it using java application class, you might want to check this thread...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Baskar and Raja Sekhar and sorry for the late reply,
My requirement is to send a daily report via email (once a day) giving the count of messages sent out to each of the different FTP servers from PI adapter engine. Is this doable?
For e.g., if I am sending messages converted to files to FTP servers a, b and c, then my email has to contain the data as shown below.
Server a --> x files (since each message corresponds to a file)
Server b --> y files
Server c --> z files on <date> with x, y and z being the counts of the files/messages sent out on that particular date.
regards
Debansu
Hi Debansu,
If you want to send daily statistics for only few interfaces then try below approach,
Create external table in ECC/DB ,every day start counter with 1 and increment by one every interface run, end of day send report as an email.
Not sure above approach will work on..think abut it
cheers,
Raj
Another way is create filename based on the target system i.e Example.. fedex12345.xml or UPS12345.xml. After you move to the folder using ftp protocol, Create a script that reads number of files of each target system based on the file name for a particular day and use java mail or some sort of mail tool to send the mail. THis is totally out of PI effort.
Hi Raja Sekhar,
Thanks. That is the idea that I had when I started analyzing the requirement, i.e. using the integration engine tables in XI - ABAP stack, take a count of the messages and send out the count by executing a report program but that might not give a correct picture since the message might get processed successfully in the IE but fail in the AE. So for the correct file count, we need to give the statistics based on the data in AE.
Hi Baskar,
Can I develop a Java program to read the tables referrred to by the AE in the java stack and take the count from there? I will have to find out a way to access the tables.
If these tables reside in an Oracle database, then can't I use JDBC communication channel once a day (via communication channel scheduling) to read these tables and pass on the data to SAP ECC (not the XI ABAP stack) via proxy and from there send out an email with the statistics? Let me know what you think of this idea.
regards
Debansu
>I will have to find out a way to access the tables.
You might want to check this thread.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.