on 07-12-2012 12:19 PM
Hi all,
I am new to MII and this forum so I am sorry if i am posting in the wrong thread.
I have a doubt regarding the MDO. I have an update MDO query which i am calling in a transaction.
I want to know if there is any chance for that update to fail due to any reason.
If so how can i find the success/failure status of that MDO.
Thanks for your help!
Sowjanya
I imagine MDO query action blocks behave the same as all other query action blocks.
So there will be a Success field and lastErrorMessage field on the action.
After executing the update put a condition value that maps 'QueryActionBlock.success' to 'Condition.input1'.
On the false side of the condition put a terminate transaction or tracer and map 'QueryActionBlock.lastErrorMessage' to the message of the tracer or terminate transaction.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm sure the folks at SAP make it so it doesn't fail 99.9% of the time but there is that 0.01% chance that something will hiccup and break. Some possibilities that could cause the update statement to fail.
- Network outage that causes loss of connectivity to the database.
- A bug in the MDO system.
- Poorly constructed update statements.
- Power failures.
- Acts of God.
- Etc . . .
Some you can test for, some you can't.
User | Count |
---|---|
11 | |
6 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.