Skip to Content
author's profile photo
Former Member

New users

Hi

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?

Henrik

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    author's profile photo
    Former Member
    Oct 03, 2005 at 08:16 AM

    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

    HTH

    Sebastien

    Add comment
    10|10000 characters needed characters exceeded