cancel
Showing results for 
Search instead for 
Did you mean: 

Debug BPM

Former Member
0 Kudos

How to Debug a BPM?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello Mohan Ram

Troubleshoot: BPM(Integration processes)

-


First of all follw these steps to,these are <b>general prerequisites</b> of running Integration Process(BPM)

1) Check the definition of the integration process in the process editor (Integration Process -> Check).

The output area in the Tasks view must not contain any error messages.

2) Check that Auto-Customizing of the Business Process Engine was fully executed and that no errors occurred (transaction <b>SWF_XI_CUSTOMIZING</b>):

The status indicator for all entries must be green.

3) Check whether the RFC queues indicate failed or pending requests that may involve the Business Process Engine (transactions <b>SM58, SMQ1, SMQ2</b>).

If these Queue are not registered, Your MEssage Could be stuck there also.

Then you need to go to tcode

smq1/smq2 :outbound/inbound

And execte them maually to relase the messages stuck

4) Check that the contents of the XI runtime cache are up-to-date (transaction <b>SXI_CACHE</b>).

The status indicator for the XI runtime cache must be green.

Then check whether Runtime version was created successfully or not...

1) Determine the number of the <b>workflow</b> that was created for the integration process:

a. Search for the message in message monitoring (transaction <b>SXMB_MONI</b>).

b. Read the number of the workflow from the <b>Queue ID</b> column.

If this column displays the entry <b>XBQO$PE_WS90100008</b>, for example, then the workflow number is <b>WS90100008.</b>

2) Check in the XI runtime cache whether the runtime version was created correctly:

a. Display the XI runtime cache (transaction <b>SXI_CACHE</b>).

b. Double-click Integration <b>Processes/Business Process</b>.

c. In the Task column, search for the workflow by using the number you determined in the previous step.

The <b>return code must be 0</b>. If this is not the case, check the activation log for detailed error messages that will help you analyze the problem further.

Cheers,

Vijay Raheja

Former Member
0 Kudos

Hi Mohan,

Have a look at this document...

It's very good document for analyzing your BPM...

https://websmp206.sap-ag.de/~form/sapnet?_SHORTKEY=01200252310000071155&_SCENARIO=011000358700000002... ->How To Monitor Integration Processes (ccBPM)

Regards

Anand

Former Member
0 Kudos

Hi Mohan

What exactly You Want to do in BPM?

If your purpose is of Monitoring BPM than you can use Transaction SXMB_MONI_BPE...

Have a nice time ahead..

Regards

Mithlesh Kumar Jha

Former Member
0 Kudos

Thanks Jha.

If a BPM FAILS , I want to know , what exactly the data was fed into the BPM and which data has caused the Issue?

Thanks.

former_member187339
Active Contributor
0 Kudos

Hi Mohan,

<b>>>BPM FAILS</b>

1) Check SXI_CACHE to see whether your BPM has return code of 0. If it is 99 then it might not been activated.

2) If you want to see in which particular step the BPM fails then you have to got to SXMB_MONI and on the corresponding row click 'PE'. Then go to the workflow page, there you can see the flow of your message inside BPM.

Hope this will be helpful.

Regards

Suraj

Former Member
0 Kudos

Hi Mohan

To check what message is being fed into BPM, You can use SXMB_MONI. Other Info regarding BPM you can check from the transaction SXMB_MONI_BPE. You can Diagnosis your BPM .

There are lot of Options in that to Trace errors in BPM..

Regards,

Mithlesh Kumar Jha