Find serial number of Samsung Galaxy S7 edge
I would suggest you try using Phone Info Samsung. It is a very versatile app and gives you a lot of information on Samsung devices (many may come as a surprise). I have used it for four years on my previous devices. Developer has an active thread at XDA

Play store  snapshot claims that it displays serial number too. It did that on my old Note 2