HandlerFunction does not call ModalPageHandler?!

Hi Erik, here is the complete Code of this Handler Function:

When I run it in the test tool in BC I get that error message:

“Open record Unhandled UI: ModalPage 571 in a new windows”