The only way to reset your SHP on a station is through the pop up dialog when you try to build on it. Getting inside a build block and pressing Y doesn't do anything.
You can't reset your armor HP on a station, using a shop module on it and getting inside a build block will not allow you to repair it in the shop and I don't see another way to do it.
How to reproduce:
- make a station, place some blocks on it (and some hull for armor HP)
- destroy a few blocks
- try to reset the SHP and AHP, only way to reset SHP is through the pop up dialog.