When installing a metal or PVC waste & overflow with compression joints you must provide a minimum of a 12" x 12" service access either through the wall or up from underneath.
When installing a waste & overflow in a concealed location code requires a Rigid PVC glued up type Waste & Overflow kit.