SAP SE’s new bonus system ended up rewarding underperforming managers while holding lower-ranking workers to a higher standard for their payouts, prompting an outcry from employees and leaders alike at the German software company, people familiar with the matter said.