on 03-20-2020 7:59 AM
Hi experts,
I need to do a simple scenario: add/update Business Partner. I need to log if process is successful or not to table. I usually used to catch DI add/update result and check last error. If object is correct B1IF secenario works well. But when object do not meet conditions and Transaction Notyfication prevent to add/update object with error number and description for example "(202) TEST U_SCONSO can't be blank" scenario fails.
In final block there is information:
<Payload xmlns="urn:com.sap.b1i.vplatform:entity" Role="C" id="atom1" system="0010000103" status="success" b1login="Technical User" method="updateWithSubDeletion" objectid="2" payload="atom2" keyname="CardCode" keyvalue="VHQ1068t" DIresult="success" DImsg=""/> <vpf:Payload Role="R" id="atom0" ts="2020/03/20 08:49:49" pltype="xml"/>
My question: how to handle this situation? I need to catch DI error and store this information in table amd/or resend to sender. Event if scenario did not add/update object it should not be threted as failed.
Best regards
Michal
User | Count |
---|---|
98 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.