Hi,
You need to make sure attribute in SE38 holds PNPCE as logical database.
Include the below statements.
TABLES PERNR.
nodes : peras.
INFOTYPES 0001. "This will be used instead of PA0001's intenral table, similarly for others.Runtime data will be in p0001[].
start-of-selection.
get peras.
loop at p0001.
....here you will find the details.
endloop.