on 07-15-2008 2:51 PM
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.
Cheers,
Naveen.
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|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement] before posting.
There are not many rules, but they are good ones and we enforce them.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
after the FM do COMMIT WORK
kind regards
arthur
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.