Ansicht
Dokumentation

RP_GET_EMP_REF - Get Employer Reference number (Malaysia)

RP_GET_EMP_REF - Get Employer Reference number (Malaysia)

TXBHW - Original Tax Base Amount in Local Currency   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

The function module reads the Personnel area and subarea grouping from the table T5L0P, and Employee group and subgroup grouping from the table T5L03. Depending on the type parameter it returns the Payee key and the Employer reference number for tax SOCSO or EPF from the corresponding table T5LTP T5LTO, T5LSP or T5LEP.

This funtion module returns the employer reference number and the payee key for SOCSO, EPF or Tax for Malaysia. The function module also 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 for tax 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.





Parameters

BEGIN_DATE
BEG_DATE
EMP_REF_NO
END_DATE
PAYEE_TEXT
PAY_KEY
ST001
TX_OFF_CODE
TYPE

Exceptions

TABLE_ENTRY_NOT_FOUND
TYPE_ERROR

Function Group

RPL0

General Material Data   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 2026 Date: 20240605 Time: 231100     sap01-206 ( 38 ms )