finding subordinated Org. Units
how can subordinated Org. Units be found to a determined Org. Unit ?
Importing Paramter -> Org. Unit
Return Table -> subordinated Org
Has sap any standard Function Module
A very versatile fm is RH_RFC_STRUC_GET_MULTIPLE which is even RFC-enabled. Its function is basically the same as that of transaction PPST. Example:
ACT_WEGID = 'O-O-DOWN' (evaluation path Organizational structure (sort down) ACT_PLVAR = '01' ACT_SVECT = '1' Enter orgunit to ROOT_OBJECTS: 'O ' '<nnnnnnnn>' " 8-digit number or OrgUnit
The fm returns all organisational units underneath the top-level OrgUnit.