Hi and welcome to YT

. You are correct in that undigested foods can cause poop eating. If I were you, I'd steer clear of Royal Canin for this pup, given its reaction. Every pup is different in what agrees with them and for some reason, RC just isn't agreeing w/ this pup's system.