on 03-31-2020 11:58 AM
Hi Experts,
In my scenario package, I have created two separate payloads atoms to create a User-defined table(UDT) and User-defined fields(UDF).
I'm facing issues, while I'm trying to create UDT and UDF's in the single scenario package.
DI Error: (-1120) Ref count for this object is higher then 0-The di call #1 did fail.
Could you please suggest the solution.
Better solution:
make a scenario step call for each operation and turn off single transaction and parallel processing.
The previous solution made my queue to block for a while.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I managed to create two UDTs and UDFs.
Try:
1. turn on SAP Business One DI Single Transaction
2. on each call di object atom set stop processing if fails as true
3. handle exceptions as retrial after 1 minute.
My guess is that when point 1 is not turned on then every DI operation is in single transaction, and while you are trying to create UDF you are referring to the UDT which does not exist yet. point 2 and 3 gives sap time to release the objects so that when creating UDF no other operation is referring to the UDT.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
9 | |
5 | |
3 | |
3 | |
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.