- Function module for org structure
CALL FUNCTION 'RH_STRUC_GET'
EXPORTING
ACT_OTYPE = G_C_O "'O' "Org
ACT_OBJID = P_OBJID “Object id from PPOSA tcode
ACT_WEGID = 'CIC2' "Evaluation Path(top down)
ACT_ENDDA = ‘End date’
TABLES
RESULT_TAB = G_T_RESULT_TAB
EXCEPTIONS
NO_PLVAR_FOUND = 1
NO_ENTRY_FOUND = 2
OTHERS = 3.
EXPORTING
ACT_OTYPE = G_C_O "'O' "Org
ACT_OBJID = P_OBJID “Object id from PPOSA tcode
ACT_WEGID = 'CIC2' "Evaluation Path(top down)
ACT_ENDDA = ‘End date’
TABLES
RESULT_TAB = G_T_RESULT_TAB
EXCEPTIONS
NO_PLVAR_FOUND = 1
NO_ENTRY_FOUND = 2
OTHERS = 3.
PPOSA : For org structure Tcode
No comments:
Post a Comment