The function "show hidden edges" works only is 3D document.
It floor plan there is appeared new feature in ArchiCAD 23 (controlled via model view options), that able to show beam with hidden line, if it's located under the slab.
There is no similar function for sections or elevations.