on 09-26-2013 6:47 PM
Hi everyone,
I'm new at B1iF, and I would like to replicate ItemGroups from B1 to another B1 company.
If I try to use Outbound method: Update, it throws an exception:
Exception: com.sap.b1i.adapter.dia.exception.UpdateOnMissException: The updating business object doesn't exist.
So, I'm using Outbound method: Update with the fallback to Insert.
On new ItemGroups, it Insert perfectly, but when I try to Update existing ones it throws an exception:
Exception : DI Error: (-2035) This entry already exists in the following tables (ODBC -2035)
That's my transformation code:
Any ideas?
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tushar,
Thanks for your reply.
Well, I saw and followed the note that you advised me.
I made this configuration:
And I transfered the code from the final atom to the xForm atom.
In the monotoring section, the event was captured and the transaction was sucessful, but on B1 nothing happens.
Do you know what am I missing?
Thanks!
Hi Leonardo,
The SysId it is the Receiver System is that correct?
And on Key Value I should give the path to the primary key on the xml from the sender document?
The transformation is suppose to go on xForm before the B1 Object Atom?
And on the Final atom i call the trasformation from the xForm or i do nothing?
Thanks,
Regards
Hi Leonardo,
Can you see my configuration now?
And can you put your example of the xPath to Key Value please.
By the way, I can now Insert the object on the other company, but I
cannot Update it. On the Update case, throws an Exception:
"com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception: java.lang.RuntimeException: The DI-Proxy server has been replaced within the current transaction's calling sequence!"
Thanks,
Best Regards
Hi,
Following properties work for me:
<ItemGroups>
<row>
<InventorySystem>bis_MovingAverage</InventorySystem>
<GroupName>IT01</GroupName>
<DefaultUoMGroup>-1</DefaultUoMGroup>
<DefaultInventoryUoM nil="true">0</DefaultInventoryUoM>
</row>
</ItemGroups>
Regards,
Agneesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try commenting the two fields in your payload. planning system and procurement method.
Then execute the transaction. If it works then try and check the SQL table in the recepient system for these two fields.
Regards,
Agneesh Jain
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
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.