I finally found out how to do it: So first you join the table with attributes and the global raster. Then you export this joined grid to a new grid so that the attribute table of the new raster file has all the joined attribute fields. Then there is a command in spatial analysist, reclass toolbox, called Lookup. There you use the new joined grid and then choose the attribute field you want to export as a new raster.