Hi Harry,
The PERNR is not getting passed to this function module. In Benefits that comes from the global structure which are set in the FM before this. You could check that why the PERNR is not set. You are not getting the PDF statement since the PERNR is 00000000.
Best Regards
Pankaj