Force SAP BC 47 to give a http 500 errormsg

Hi,

How do I force SAP BC 4.7 to give a HTTP-500 internal server error msg. I can easily state a service error msg 403… Heck it took me years to avoid that when I learned Perl, so it shouldn’t be that hard to implement on the BC? But how do I do?

Best REgards Dave