Skip to Content
0
Oct 25, 2005 at 06:52 PM

Is this possible ?????

20 Views

Hi.

My boss asked me for an scenario.

An XML file is passed to a BPM. The BPM has 4 clear steps.

1) It must check information in RFC vía BAPI. If XML info is OK, the process will continue. Else, it will stop.

2) Once info has been checked, i have to map part of the XML in order to create vendors via IDOC. Before continue with step 3, XI must 'sleep' until it receives an aknowledgment that all the IDOCS had been procesed in R3. If an error occurs in only 1 IDOC, the process must stop.

3) Once BPM knows that all the previous IDOCs had been procesed, it has to do a new mapping in order to create more IDOCS (of different type). XI must sleep again until all the IDOCS had been processed. Also, in order to continue with step four, XI must be sleeping until IDOCS has been processed.

4) Step four will create more IDOCS (of different types).

the question is?

while BPM is sleeping, can i start 'something' that awakes the BPM that is sleeping?

is correct to be checking in the BPM via LOOPs if R3 tables had been updated?

Thanks.