Based on my research I guess this is what I should do on the server. But too much stuff going on the server. I am afraid to try this in PRODUCTION . I do not that have a test environment at this time. I will try once I get a test environment. As a temporary solution I am creating a static table each time I run the SP and dropping it before the create statement instead of temp table.
Thank you so much Madhumitha for your help.