‎2008 Jan 07 2:06 PM
Hi,
I am using FM RH_OBJID_REQUEST in my program in order for the user to be able to choose a position from the HR strucure.
Is it possible to open the window with the function il a certion place, in a certion organizational unit.
Thanks,
Naama.
‎2010 Jan 26 11:21 AM
I faced a similar issue and used the following solution to resolve it:
You can control what the root objects used to build the structure search tree by creating an implicit enhancement on function module RH_TYPE_STRUC_INDEX.
1. Launch transaction SE80
2. Select Function Group RHWH
3. Navigate to Function Module RH_TYPE_STRUC_INDEX
4. Select Enhance Source Code (Shift+F4)
5. Create the appropriate enhancement to control the root index objects (usually table ROOT_OBJECT_INDEX). I recommend making the implicit enhancement at the top of the function module, as once you have created your roots, you should exit the function module to avoid having your data overwritten and to save on run time.
Note that this will not allow anything "above" the root objects to be displayed.