Question about PNPCE
I've a doubt about how the PNPCE works. I've created a report with an HR Report Category. The HR report category shows the field PNPWERKS in the first page together with PNPBEGDA and PNPENDDA. While I execute the report, the values of PNPWERKS is set to 0001 and the PNPBEGDA 01.01.2014 and PNPENDDA 30.04.2015.
If I check what is being read in the infotype 0001 after GET PERAS instruction I can see that there are some records that don't belongs to the Werks 0001 selected in the selection screen...
Can anybody explain me why?
What I've done to avoid these extra-rows is the following instruction:
delete p0001 where not werks in pnpwerks
Is this correct? Why the PNPCE is not filtering with the PNPWERKS?
Thank you so much in advance for any suggestion.