cancel
Showing results for 
Search instead for 
Did you mean: 

Can't delete pernr 00000000

Former Member
0 Kudos

Hi Experts,

I implemented a program for hiring in PA40 via BDC. While recording, a popup window appeared "Table P0002 contains an entry for personnel number 00000000"

The pernr is existing in tables pa0000, pa0002. I tried to delete using PA30 but it's only prompting me to enter a personnel number. I've also used RPUDELPN but there is a prompt saying "Selection is initial. All pernrs will be deleted...".

Are there other ways to delete a pernr?

Greatly appreciate your help. Thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

1. Go to SE16N

2. Give your table name ex PA0002

3. In the command window give &SAP_EDIT and press enter

4. Execute for all employees

5. You will see a list of employees. Select the record with PERNR 000000 and delete it and Save

cheers,

Ajay

AndyAntol
Explorer
0 Kudos

&SAP_EDIT with SE16N is not available as of EhP5.

Answers (4)

Answers (4)

AndyAntol
Explorer
0 Kudos

Hello,

Earlier, SE16N with function code &SAP_EDIT was available but is removed now. In order to edit the PA0000 table with PERNR 0 (blank), you have to use debugging mode and set respective variables:

https://blogs.sap.com/2013/09/23/activate-sapedit-in-se16n-sap-ecc-60/

Regards

ANDY

Former Member
0 Kudos

You can delete a PERNR using t-code PU00.

Howard

Former Member
0 Kudos

hI..

Go to org structure with PPOM_OLD t code and access your pernr and now delete the object by going in to the menu and delete the object. now your pernr wil be deleted.

Regards

SAPUUSER

Former Member
0 Kudos

Hi

Give the pernr in repudelpn and tick the log and test mode

wat error its giving update

with regards

partha