Dear Pallubc2
S-trap is used for out let through the floor where as P-trap is used for out let through the wall.