How to sign or reject a signature workflow by code?

I want to modify the workflow monitor in order to add a VAL and a REJ value to the action card in order to reduce the number of clicks a user has to do to accept or reject POs.  I tried using 
Gosub INIT from SAIWRKMAN
Gosub CONTROLE From SAIWRKMAN
Gosub EXEC From SAIWRKMAN

I get a variable initialization error.

I also tried Call WORKFLOW(TYPEVT,CODEVT,OPERAT,CLEOBJ) from AWRK but it does not work.

Is there another way to execute the signature or rejection workflow, or am I missing parameters?