Generating and accessing data of a fixed column layout is easy. You can create local temp tables up-front, and populate them by calling stored proc
So, I am copying my answer from Insert results of a stored procedure into a temporary table. Hope it helps. Yes, it's global temporary table again and the only different is the GUID appended there.
I met the same problem and here is what I did for this from Paul's suggestion. The main part is here is to use NEWID()
to avoid multiple users run the store procedures/scripts at the same time, the pain for global temporary table.
DECLARE @sql varchar(max) = '',
@tmp_global_table varchar(255) = '##global_tmp_' + CONVERT(varchar(36), NEWID())
SET @sql = @sql + 'select * into [' + @tmp_global_table + '] from YOURTABLE'
EXEC(@sql)
EXEC('SELECT * FROM [' + @tmp_global_table + ']')