Delete entries from database tables using update function module
I need to delete entries from database tables using the update function module. I am calling the FM by this method -
CALL FUNCTION 'Z_CL_DELETE' IN UPDATE TASK EXPORTING P1 = L_GUID P2 = TABLENAME.
But the problem with update function modules is that it does not accept reference parameters.
What code shall i write exactly in the FM so that enties get deleted from the databse table TABLENAME for the parameter L_GUID.