cancel
Showing results for 
Search instead for 
Did you mean: 

BPM performance

Former Member
0 Kudos

Hello,

I hope someone can help me with the following.

I have developed an interface that uses a BPM and it's in production now.

Now I get in SM58 the following messages:

caller : WF-BATCH

function module : SWF_XI_FINALIZE_PROCESS\

Status text : Command to tRFC/qRFC: Execute LUW again

When I open the related workflow item (SXMB_MONI_BPE) the BPM is completed.

Only when I go to the related XML message it still has status : Transfer to Process Engine.

This causes a delay in processing of the messages for some minutes while the BPM was executed in seconds. This performance issue needs to be solved.

At the end of the BPM an Idoc is send to SAP asynchronously.

Can anyone tell me what the message in SM58 means, and what causes this delay ?

Thanks.

Kind regards,

Marco van Iersel

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hello,

Thank you all for your responses.

What I still need to know is what this function SWF_XI_FINALIZE_PROCESS does.

Is it waiting for confirmation from the receiving application?

To be clear, the XI messages are processed ok, so I don't need to execute the LUW again in SM58.

Only, because of these entries in SM58 I get a lot of errors in CCMS (TRFC/QRFC monitoring).

So this needs to be solved.

More about the interface.

It uses a BPM that at the end sends an Idoc to SAP.

The BPM (workflow) itself is executed in seconds only the related XI message is finished after minutes because of these entries in SM58.

Can anyone help me with this?

Thanks.

Kind regards,

Marco

Former Member
0 Kudos

Hy Marco,

I ran into the same issue today, and found out that SAP Note 1028793 deals with this issue.

Former Member
0 Kudos

Hi,

SM58 is a transactional RFC report that captures all RFC calls which are executed as background tasks. SAP PI BPM engine is actually an ABAP workflow engine, as such when you run BPM from PI, SAP actually made an RFC call in background mode to call any necessary workflow components in ABAP stack.

For the performance tuning, you might want to refer to this document [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2016a0b1-1780-2b10-97bd-be3ac62214c7], refer to page 16 especially.

Regards,

Lim...

prateek
Active Contributor
0 Kudos

Status text : Command to tRFC/qRFC: Execute LUW again

Could you press F6 then and see if the error persists?

Regards,

Prateek

Former Member
0 Kudos

Hi,

Please find the help in the link below.May be this could be of some help.

http://help.sap.com/saphelp_nw70/helpdata/en/ad/7b623c6374a865e10000000a11402f/content.htm

Regards,

Sharath