Skip to Content
author's profile photo Former Member
Former Member

Error in mass updating table

Hi All ,

i have a requirement where i need to update the IT0040 for subtypes 91, 93, 94.

I am doing a direct table update which we want to follow first i am locking the pernr then updating the IT0040-LOBNR field and then unlocking the pernr. The program updates fine if we run for some pernrs but when we ran it for all pernrs in database some pernrs got updated and for some got the ERROR MESSAGE as Personnel Numbers couldn't be locked . I am using the FM BAPI_EMPLOYEE_ENQUEUE for locking and BAPI_EMPLOYEE_DEQUEUE for unlocking pernr . Anybody can you please tell me why i am getting the message as Personnel numbers coudn't be locked . Is it the problem with the FM call.

Thanks,

Latha.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Sep 11, 2007 at 07:31 PM

    You should use <b>HR_INFOTYPE_OPERATION</b> for HR updating...Never use direct inserts...

    Greetings,

    Blag.

    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.