Skip to Content
author's profile photo
Former Member

help to get emp tree

Hallow Experts

i need to read all the org tree (for emp)in Recursion and bring it in flat file.

maybe some one can give example how to do that?

Regards

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • author's profile photo
    Former Member
    Posted on Aug 22, 2007 at 05:34 AM

    hi

    maybe some one can give dirction,

    i reward

    Regards

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Aug 22, 2007 at 06:01 PM

    Hi Shnya,

    I am afraid that is a tough one. One of the main problems of SAP is the interface for structures.

    You will need to create a program executing functions like RH_STRUC_GET to get all the linked objets and figure out how you want to represent those links in a flat file.

    Other thing I just imagined (never tried):

    Go to transaction ppom.

    Get the org unit you want to start from

    Click on the ➕ button to retrieve the whole structure top down

    Then start debugging (/h) and click on the print icon.

    This may give you an idea on how to create your file, as the result is a nice to watch dependent list.

    Let me know if you try.

    Good luck

    Add comment
    10|10000 characters needed characters exceeded