The depth of the top of wall beam should be greater or equal to 2/3 of the anchorage length Lb.
The floor slab will normally be embedded in the top of wall beam, which requires that the beam be constructed in two stages.