cancel
Showing results for 
Search instead for 
Did you mean: 

How to programatically know when PI is done processing?

susan_pfab
Participant
0 Kudos

We are looking for a way to automatically determine if/when PI is done with our daily job processing. Currently, we have to wait for the PI incoming queue to empty out and keep refreshing the runtime workbench until all messages are successful. However, we need to automate this process. Any ideas?

Accepted Solutions (0)

Answers (4)

Answers (4)

susan_pfab
Participant
0 Kudos

Could not determine a solution. Using ALEAUD idocs to update idoc statuses on source system and then, running a program to determine when they're all updated.

susan_pfab
Participant
0 Kudos

IDoc (idoc adapter) -> PI -> 3rd Party (jdbc adapter)

Currently, after doing the manual check, we post a file to a unix directory. The 3rd party system has a procedure set-up to look for this file and begin their processing when the file is there.

Former Member
0 Kudos

Hi.

Are you posting this file manually or through PI.

to meet the requirement you can post this file adding one receiver file adapter. As PI will take care of the sequence of processing this file will be delivered after the database is updated.

Thanks

Gaurav

susan_pfab
Participant
0 Kudos

Can you give me more details on configuring a mail channel.

Currently, we are posting this file manually, but once we have a method to automatically determine when the processing is done, we will automate the file posting.

If the last process uses a receiver file adapter, is it guaranteed that all of the previous records (from the jdbc adapter) will be processed...NOT in Delivering or To Be Delivered status.

Former Member
0 Kudos

Hi Susan

You can create a Mail channel

Dont Check using mail package

configure From, To Subject,

create receiver agreement for this channel using Dummy Receiver interface and namespace

lets say

mail_interface and http://xyz.com

then add this channel in interface determination and click maintain order at runtime. this should come under the JDBC interface. type the same name mail_interface and http://xyz.com . no interface mapping required.

Check in the receiver determination this will show up

Activate and you are done.

whenever JDBC interface receives data and it finished second mail interface will be called in the order and you get confirmation email that JDBC data has been processed. Try it

Thanks

Gaurav

susan_pfab
Participant
0 Kudos

This makes sense, but I don't know that it will work for us, since we have multiple (around 15) interfaces. Which means around 15 interface determinations.

Former Member
0 Kudos

You could use message based alerts and then use it to notify if the message has been processed by email. If this solves your issue, here is more info about setting up message based email alerts.

https://websmp203.sap-ag.de/~sapidb/012006153200000481442006E/message_based_alerting.pdf

http://help.sap.com/saphelp_nw04s/helpdata/en/5b/5d1741b393f26fe10000000a1550b0/frameset.htm

susan_pfab
Participant
0 Kudos

I don't think alert monitoring will work. Isn't alert monitoring per message? When our job runs, we have 10,000-15,000 messages that are coming through PI. About 15 interfaces. I need a method of knowing when they are done going through. Preferably to write a file when all the messages have been delivered.

Former Member
0 Kudos

Hi Susan

How about configuring a Mail channel which executes last to notify you that all process that exist in queue above mail are done.........

Does this help

Thanks

Gaurav

bhavesh_kantilal
Active Contributor
0 Kudos

Can you provide end to end scenario details? Without the adapters in question and the process in picture, solutions would be difficult to arrive at.

Regards

Bhavesh