Functionality The function module reads the Personnel area and subareagrouping from the table T5L0P, and Employee group and subgroupgrouping from the table T5L03. Depending on the type parameter itreturns the Payee key and the Employer reference number for taxSOCSO or EPF from the corresponding table T5LTP T5LTO, T5LSP orT5LEP. This funtion module returns the employer reference number andthe payee key for SOCSO, EPF or Tax for Malaysia. The function modulealso returns the payee name. The input parameters are : (1) Infotype 0001 record of the employee (2) the validity period (optional) (3) the type S, T or E depending on SOCSO, Tax or EPF respectively. (4) the tax office code necessary to read the employer refernce fortax however optional for others Example Call function 'RP_GET_EMP_REF'> exporting st001 = P0001 type = 'T' beg_date = my_begda end_date = my_endda tx_off_code = my_txoff importing emp_ref_no = my_erref pay_key = my_emfsl payee_text = py_name exceptions table_entry_not_found = 1 type_error = 2 others = 3. |