‎2009 Jan 05 11:57 AM
Hi,
I am new to SAP.I need to develop a smartform which want to include the following details of the employee based on the personal number.
Where to find out the following details.Which tables i need to refer.
Basic Salary,HRA,Conveyance Allowance,Special Allowance,Medical Allowance
Deductions:Income Tax,PF Contribution,Profession Tax
‎2009 Jan 05 12:00 PM
HI,
Check the infotype Pa0008
FM CALL FUNCTION 'RP_EVALUATE_INDIRECTLY_P0008'
EXPORTING
appli = 'M'
pbegda = p0008-begda
pmolga = g_molga
pp0001 = p0001
pp0007 = p0007
pp0008 = p0008
ppernr = p0008-pernr
TABLES
ptbindbw = i_ptbindbw
EXCEPTIONS
bad_parameters = 1
error_at_indirect_evaluation = 2
OTHERS = 3.Edited by: avinash kodarapu on Jan 5, 2009 5:30 PM
‎2009 Jan 05 12:01 PM
‎2009 Jan 05 12:01 PM
WELCOME TO SDN.
You can get all employee personnel deatils from PA*tables.
ex:
PA0001
PA0008......
Note: Search in SCN before posting basic questions you will get lot of information.
‎2009 Jan 05 12:01 PM
‎2009 Jan 05 12:14 PM
In PA0008 table, there r fields :
LGA01 to LGA40 denoting the wage type & BET01 to BET40 denoting the wage type Amount..
Also use FM: RP_FILL_WAGE_TYPE_TABLE_EXT, HR_READ_INFOTYPE