Skip to Content
Mar 30, 2006 at 01:13 PM




I want to receive a XML message from a HTTP sender synchron into a BPM.

In the BPM I have to to several steps, one is a mapping step and another is an asynchronus SEND of an IDOC to an R/3.

I have setup this BPM and everything works ok.

The BPM sends a HTTP-200OK back and a response message.

But in some cases the mapping step throws an exception. e.g. a mandatory field is missing.

In this case the HTTP-500 ERROR code is sent back, but with the response message

"Internal Server Error

<SAP:Error><SAP:Category>XIServer</SAP:Category><SAP:Code>INTERNAL.PL_TIMEOUT</SAP:Code><SAP:Stack>Pipeline timeout condition satisfied</SAP:Stack></SAP:Error>"

If I handle the exception in an exception branch everything work ok again, but then the HTTP-200OK is sent back.

Now my question:

How can I send back an HTTP-500 ERROR code from this synchronous BPM with my own response message.

I have tried with CONTROL STEP-CANCEL PROCESS, but I also get the same missleading error message back for the TIMEOUT. Also in this case the process is canceled after 60seconds with this timeout error.

Is is possible to send an HTTP-500 ERROR status and to cancel the process immediatly?

If yes, how can I set a specific RESPONSE message?

best regards

Werner Magerl