Solution : https://service.sap.com/sap/support/notes/575721 (SAP Service marketplace login required)
Key words : 
'billing statistics' analysis view, transaction st03n termination, rsql error 13 reason, correction instructions listed, usr02 table, 'collect_data' method, maximum number, parameter marker, 'it_unames' table, basis release 6
Related Notes : 
       
| 13607 | Termination of an ABAP with DBIF_RSQL_INVALID_RSQL |