I tried to import users from a txt file into SBO (OUSR)via the SQL import.
This work fine, but when i try to add a new user from the SBO, i get an "duplicate key" error.
Is there a global table managing the primary keys?
If you're not using the apllication, or a DI object, you can have this kind of problem. and this is not supported by SAP.
However, if you want to do it, there is a a table (ONNM) that keeps the primary key of all objects (field Autokey)
for the user table (table ousr), the object is 12
for the Employee table (table ohem), the object is 171
the value in this table is the next available value, so you need to update it to let the application work correctly after the import.
you can find these code in the UI help