Hi Patrick,
Workaround to use COMMIT is using it with EXEC as shown in this blog:
SAP HANA: Workaround for using Commit & Rollback in exception handling block of a Stored Procedure
Also have a look on the discussions in this blog regarding merge:
Using loops in stored procedures for HANA ETL processes
Regards,
Krishna Tangudu