07-30-2010 3:04 AM
Dear abapers,
I need a function module that will generate salary with different wage types , for a particular employee number and date.
relevant answers are appreciated.
by Mohan Ram
07-30-2010 5:41 AM
Try :
RP_ANSAL_FROM_WAGETYPES
RP_ANSAL_FROM_INFOTYPE
RP_ANSAL_FROM_PERNR
And try : ansal in SE37 TCODE.
07-30-2010 5:03 AM
Use these FM.
RP_FILL_WAGE_TYPE_TABLE.
RP_FILL_WAGE_TYPE_TABLE_EXT.
07-30-2010 5:38 AM
Hi,
If you want to Calculate Hourly Salary from Infotype 0008 the use the function module RP_ALLPERIODS_FROM_ANSAL. You have to pass the annual salary.
If you want to read salary field from IT0008 use HRGPBS_TPS_ANSAL_FROM_PERNR. You have to pass employee number & as of date.
To read data from IT 0008 use, RP_FILL_WAGE_TYPE_TABLE_EXT or HR_READ_INFOTYPE.
Or use the BAPI 'BAPI_BASICPAY_GETDETAIL '.
May it helps you.
Regards.
DS.
07-30-2010 5:41 AM
Try :
RP_ANSAL_FROM_WAGETYPES
RP_ANSAL_FROM_INFOTYPE
RP_ANSAL_FROM_PERNR
And try : ansal in SE37 TCODE.
07-30-2010 9:26 AM
Check teh modules
HRAR_APPEND_WAGETYPE
HRAR_GET_CREATE_VOZNR
HRAR_GET_PAYROLL_PERIOD
HRAR_READ_INFOTYPE
HRAR_READ_RGDIR_PAYRESULTS