Hi all,
my requirement is to build a sequence of steps in SAP PO so to insert/update a db table. Let's say step1 updates some records, step2 updates some other records of the same table. Easy. But I need to commit step1 and step2 only after checking the result of step3, if it fails I have to rollback it.
Is it possibile to do it with SAP PO?
Regards.
Cristian
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Hi Cristian,
Try updating your mapping to have several operations in one mapping itself like :
<Statement action ="insert">
.......
</Statement>
<Statement action ="update">
.......
</Statement> .....The set the transaction isolation in the receiver channel to SERIALIZABLE. Check this link .
If the above solution does not works then you can ask DB to have a store procedure and then you can invoke the same SP from PI/PO.
Thanks,
Manoj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.