Have a look in the documentation for DEFINE_REPORT_DEFINITION_FN I have no idea why you're using an RP_ command, and as it's not documented won't be able to tell you anything about it.
Please Login to Report Topic
Please Login to Share Feed
Edit Discussion
You are navigating away from the AIS Discovery experience