In this cases try these posts:
Screenshot at runtime:
Screenshots at runtime - Blueprint - Unreal Engine Forums
Screenshot in editor mode:
Taking Screenshots in Unreal Engine | Unreal Engine Documentation
In this cases try these posts:
Screenshot at runtime:
Screenshots at runtime - Blueprint - Unreal Engine Forums
Screenshot in editor mode:
Taking Screenshots in Unreal Engine | Unreal Engine Documentation