Application Development Blog Posts
Learn and share on deeper, cross technology development topics such as integration and connectivity, automation, cloud extensibility, developing at scale, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member

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                  = sy-datum
         act_endda                  = '99991231'
       EXCEPTIONS
         org_unit_not_valid       = 1
         plvar_not_found          = 2
         wegid_not_found        = 3
         structure_error           = 4
         OTHERS                   = 5.
     IF sy-subrc <> 0.
       EXIT.
     ENDIF.


2 Comments