SALS_INFO_GET_TREE is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below are the pattern details for this FM showing its interface including any import, export parameters etc and for your convenience any standard documentation available. All this information and more can be viewed if you enter the function module name SALS_INFO_GET_TREE into the relevant SAP transaction such as SE37 or SE80.
CALL FUNCTION 'SALS_INFO_GET_TREE' " * EXPORTING * tid = " alglobtid * sysid = SY-SYSID " sy-sysid * mc_name = " almttre40b-mtmcname * mo_name = " almttre40b-objectname * ma_name = " almttre40b-mtnameshrt * TABLES * out_treeinfo = " almttre40b * perftyperc = " alperftype * smestyperc = " alsmsgrawt * link_txt_attr_rc = " altxtlnkat EXCEPTIONS C_CALL_FAILED = 1 " INVALID_TID = 2 " UNKNOWN_MC = 3 " UNKNOWN_MO = 4 " UNKNOWN_MA = 5 " . " SALS_INFO_GET_TREE