Try calling BAPI_INSPOPER_GETDETAIL for the inspection operation you want to record results for and check, which tables you get back (ie. sample results, single results, char results). This will give you an idea how to call BAPI_INSPOPER_RECORDRESULTS properly for your inspection operation and will save you a lot of trouble. 🙂
After transport, execute the report RV80HGEN.
WRITE: / 'Hello World'.
See? ABAP’s not so hard.