Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

open function RH_OBJID_REQUEST in a certion place

Former Member
0 Likes
603

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.

1 REPLY 1
Read only

Former Member
0 Likes
366

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.