Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.