A couple of things -
UPDATE TASK before the COMMIT.
What did you mean by this?
*"----------------------------------------------------------------------
*" IMPORTING
*" REFERENCE(IT_ZTABLE) TYPE ZTABLE_T
*"----------------------------------------------------------------------
Update FMs can't have parameters passed by reference
Cheers,
Suhas