Global Stein theorem on hardy spaces