PPOSE sap transaction code - View all people within an org unit
The SAP transaction code PPOSE is used to view all people within an org unit. This is much the same as PPOM_OLD but with more functionality and more data presented in a nicer way. Although at first the information and options can make the transaction seem a little cluttered and unusable. But once you get used to it the data is presented in a way that looks better and is easier to navigate.
In-order to perform a basic org structure search to get people within and org unit, simply select Organizational unit->Structure Search from the 'Find by' section, then press the find button(binoculars) within the name panel below and type in the desired text. Now double click on the resultant org unit and all its details including people assigned to it will appear in the panel on the right hand side.
See ABAP code for how to retrieve HR organisation structure