on 05-20-2008 6:39 PM
Hello everybody,
Does anyone have an idea (use tables, functional modules, etc.)on how to get plant from an Organizationl Unit ID or a user ID ?
The aim is to have a final file in which for each user, we will have the plant to which is linked (by the organizational unit he belongs to).
If the need can can solve by any other solution, i wait for your suggestion.
Regards.
Laurent.
Hi. The function is the best way, but you can get it from tables HRT5502 and HRP5502.
It stores the plants business patrner, to find the actual plant code use table BBP_LOCMAP.
Regards,
Dave.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can use the FM "BBP_READ_ATTRIBUTES" to fetch the plant details for a user.
Pass the user name and the attribute value(WRK for plant) and in import parameters IV_USER and IV_ATTR_SINGLE resp.In the exp parameter ET_ATTR,you will get the plant value .
BR,
Disha.
DO reward points for useful answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.