Solution : https://service.sap.com/sap/support/notes/1640808 (SAP Service marketplace login required)
Key words : 
run sap bw 7, sap hana database, merged solution apply, code correction attached, apply sap note 1640917, history tables, terms trex_ext_merge_delta_index, newdb reason, prerequisites prerequisite, sap_bw sp05reason
Related Notes : 
       
| 1646010 | SAP HANA: different DB connections are not handled correctly | 
| 1644214 | Comp. SAP Note Basis porting to SAP HANA DB, NW 7.30 SP06 | 
| 1640917 | Syntax failure from TREX_EXT_MERGE_DELTA_INDEX | 
| 1523337 | SAP In-Memory Database 1.0: Central Note | 
| 1514967 | SAP HANA 1.0: Central Note |