on 02-09-2016 6:33 AM
Hi experts,
When I have a users business partner number how can I derive the user's parent unit business partner number? Is there a table or a function module that will help me?
I know that I could search in PPOMA_BBP but I need to do this in ABAP coding.
Best regards,
Sarnava Bose.
Hi,
if you want to get this data from the database, check table HRP1001 (contains the complete hierarchy in SRM):
1. Put user BP in field SOBID (with preceding 0), subtype is B207, this gives you the central person.
2. With the central person, in field OBJID and subtype B008 gives you the position.
3. With the position, in field OBJID and subtype A003 gives you the parent organisational unit.
4. With the org unit ID, in field OBJID and subtype B207, you will find the BP of the org unit.
Please also think about start and end date in the selection.
Regards,
Robin
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.