Summary

Yosef Karo Translation:Shulchan Aruch — Orach Chaim 355…

Paragraph 2 - If a toilet is made above the water, it is permitted if there are walls suspended from it. These walls must be made to direct the waste, but if they are made for privacy, they do not make it allowed. If one makes a panel closer than three tefachim such that the feces will fall onto it before falling into the water, walls are not necessary, because the feces fall by their own force in the karmelit, and it is allowed. This is also the case for a toilet that is made such that the feces first fall onto a wall and then roll and fall into the karmelit.
Source: Wikisource

Yosef Karo Translation:Shulchan Aruch — Orach Chaim 355…

There is no difference between making the wall under the balcony as an attachment or on top of the balcony. Since the wall is made, one may also pour water into it. Similarly, one traveling by boat cannot collect water unless he made a four by four panel, makes a hole in it, and draws water from there. He does not need to make walls, because we [imagine] bending the walls walls and then we can [adopt the legal fiction of] extending the walls down. This is because we are more lenient with a boat, because it is not possible to do things there that can be done at home.
Source: Wikisource

Get perspective with Kwize: daily news enlightened by great literature