1. Execute tcode RSECADMIN
  2. Select Analysis tab
  3. Execute as ...


  4. Enter Username and check "with log"


  5. Start Transaction

  6. Enter query name


  7. Execute

  8. After you see the output, click back twice and view log