If i read the tile of your topic i can say refresh metadata's table and the new variable appear in SAS VA.
if i read your topic i think you can make a stored procedure in SAS Enterprised Guide and realese to your users the functionality. In this way people can use a task without see the code.