Want to delete the records from Standard Infotype where PERNR is Blank
I have a simple problem.
There are few blank PERNRs are in infotypes PA0001 and PA0002 in Production.I have to remove them.
These blank PERNRs records are populated there because of some mistake.
This can not be done in production.
I have checked many FMs ,but couldnt find the correct one.
Now I want to use a simple query to delete the records.Please tell me the query to delete the records.
First i used to read these empty records but failed to do so by the following query.
select * from PA0001 into table it_pa0001
where PERNR = ' ' .
This query is not reading any record.
I used PERNR is NULL then also it is not working.I used other key fields but it is fetching other records then blank PERNRs.