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
0 Kudos

In order to display the organizational structure, SAP standard program uses below mentioned Function Module.

DATA  lt_object    TYPE STANDARD TABLE OF hrealo.

CALL FUNCTION 'PD_STRUCTURAL_GRAPHICS'
     EXPORTING
       context_id                       = 'GENERAL'
       eval_path                         = 'SBESX'
       statuses                            = '1'
       begin_date                      = sy-datum
       end_date                         =  sy-datum
       activate                            = ' '
       load_pd_toolbox            = 'X'
       load_pd_profiles           = 'X'
       callback_program          = 'SAPLRHGB'
       callback_objects            = 'MODIFY_OBJ'
     TABLES
       pd_objects                     = lt_object
     EXCEPTIONS
       no_objects_available = 01.