as far as I know it's not possible. there's a prefix which you can use in your source code, but employees from SAP itself advise not to do so, as this may lead to difficulties compiling source code (among many other difficulties). furthermore I heard that this functionality could be switched off one day by a kernel patch, so the hide function could get useless.
MIKE_ABAP hat geschrieben:i know i can hide an abap report
Even this isn't true.
You might fool less experienced developers or admins, but it's not possible to make sure that nobody is able to read (or modify) your "hidden" source code.
Let alone preventing someone from noticing you are trying to hide your code.