Showing results for 
Search instead for 
Did you mean: 

Problem with pernr couldnt not be locked

Former Member
0 Kudos

Hi Gurus,

I am using FM for updating an infotype 2003 with more than 1 record.

I am looping that FM for 5 times.

That particular FM inturn is calling a workflow which inturn calls a Z program which uses HR_INFOTYPE_OPERATION to update IT2003.

Now When I pass say 3 diff records for substitution in IT2003, say each diff substitution for 15 July, 16 July and 17 July respectively. The first 2 records are not getting updated but the last one is getting updated.

The first 2 records are throwing an error called " Personal numbers could not be locked" and therefore not getting updated.

Can anyone please suggest the solution.

Its bit urgent. I am in middle of UAT.

Thanks in Advance.



NOTE: Points will be awarded to all correct answers. <= not allowed!!

Edited by: Julius Bussche on Jul 15, 2008 2:04 PM

Please read [the rules|] before posting.

There are not many rules, but they are good ones and we enforce them.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Check which part of code does the locking of the pernr....if your zprogram inside is also locking the pernr. you cannot do it again...make sure you just lock and unlock once for each record

Active Contributor
0 Kudos

after the FM do COMMIT WORK

kind regards