Trying to find top-level org unit

Rakesh Dube rakesh_dube at pacific.net.sg
Tue Jan 16 21:10:33 EST 2001


Hi Brad,
U have to write  recursive function module to find out the top-level org
unit.
 
Tables  which is using the relationship is HRP1000 and HRP1001
 
HRP1000 is for creating the structure and HRP1001 is for relationship to
the object
 
If u need any further detail let me know
Thanks
Rakesh
 
 
 
"Schroeter, Brad" wrote:
 
>
>
> I've got an org structure like this:
> Org unit 50000000 (top-level)
> |__Org unit 50000001
> |__Org unit 50000002
> |__Org unit 50000003
>
> Let's say I'm currently using org unit 50000000, I'm in a custom
> method and I want to find if it's the top-level?  Is there a database
> select statement to one of the HRP* tables or a function module that
> will give me the info?
>
> Thanks,
> Brad
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20010117/15d4047d/attachment.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rakesh_dube.vcf
Type: text/x-vcard
Size: 0 bytes
Desc: Card for Rakesh Dube
Url : http://mailman.mit.edu/pipermail/sap-wug/attachments/20010117/15d4047d/attachment.vcf


More information about the SAP-WUG mailing list