Easiest for constants is to use function library, then make functions “pure” you will get blueprint node that gives some value, just like global constant.
For “global variables” use game mode or game state (depending on multiplayer networking and what works for you best).
Also make sure that your “global variables” survive level load etc.