Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

SQL Statement out of BPM

Hi all,

maybe it will be a quick hit for you, but I searched hours to find the solution.

My scenario is the following:

I receive a resultset from an JDBC Adapter. The requested Table has only four rows

with to coulums. The table refelects the status of four scanning devices and has

different statuses like 1,2,3, etc. Therefore I get back a message like described

in the help (



<ScannerNb>1</ ScannerNb>

<Status>2</ Status>



<ScannerNb>2</ ScannerNb>

<Status>0</ Status>



<ScannerNb>3</ ScannerNb>

<Status>2</ Status>



<ScannerNb>4</ ScannerNb>

<Status>0</ Status>



This message is forwarded to a BPM which first do a switch. If all Status are 0

then send and update Statement to the database and set all statuses to 4, otherwise


To do that I would like to send just an update statement like described in the help




<ScanningStatus action="SQL_DML">

<access> UPDATE ScanningStatus SET Status=4





The Weblog "Save time with generalized JDBC datatypes"

(/people/alessandro.berta/blog/2005/10/04/save-time-with-generalized-jdbc-datatypes) describes how to do a mapping

between these both messages but the source message will not transfer any values to the target

message. Can I send a fixed message, here my SQL Statement, directly to the database out of the

BPM without doing an unneeded mapping before?

Regards Oliver

Former Member
Not what you were looking for? View more on this topic or Ask a question