PepsiCo's long- and short-term debt ratings have been raised.