put TPTMP globals in a TPTMP table