I did CPH-PVG-ICN two years back and had to go through immigration in PVG.but as said, was painless with the 72 hour visa on arrival. Had no checked luggage, though no idea if it got checked through.
By the way that trip thought me never again to book a connection in PVG or PEK