cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error "Unique constraint violated exception: Error 301" while posting transaction

0 Kudos
124

Hi, Anyone has any idea about the error mentioned ?

Scenario:

We are using Sap.Data.HANA.v4.5 to insert data in SAP B1 UDT after deleting existing

records. For the standard "Code" UDT field we are generating the next number by just getting the

max from that table.

All this is happening within a transaction and this code is written in a web API which is being called

by a third party application. That application is consuming the web API call one at a time (Single user

call) so till one call is not finished it does not make the second call.

But I do get the above mentioned error on or off and when this error starts coming then will have to

push data again and again and after a few attempts or few minutes pause this error goes off and

since the customer has bulk invoicing during the day and due to this their work is getting held up on

daily basis.

Thanks,

Accepted Solutions (0)

Answers (0)