Hello Jochen,
Your assumption is correct... the system always looks for the PSE in the SECUDIR folder. The error suggests that either SECUDIR is not correctly set or the PSE file is not accessible by the user running your application.
The full trace file should contain the value of SECUDIR before the error appears.
Best Regards,
Guilherme de Oliveira
SAP Active Global Support