Skip to Content

Function Module to display the organizational structure in a tree structure.

CALL FUNCTION ‘RH_ORG_STRUCTURE_SHOW’
       EXPORTING
         act_plvar                    = ’01’
         act_otype                   = ‘O’
         act_objid                   
‘50000001”
         act_begda                  = sydatum
         act_endda                  = ‘99991231’
       EXCEPTIONS
         org_unit_not_valid       = 1
         plvar_not_found          = 2
         wegid_not_found        = 3
         structure_error           = 4
         OTHERS                   = 5.
     IF sysubrc <> 0.
       EXIT.
     ENDIF.

To report this post you need to login first.

2 Comments

You must be Logged on to comment or reply to a post.

Leave a Reply