Who is behind the Transaction Code – PPOM_OLD
This document deals with the Organizational Structure and tells us what is behind the Transaction Code PPOM_OLD.
Actually the Transaction Code PPOM_OLD uses the below Functional Module to show the Tree structure of an Organizational Unit.
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.