Posted: Thu Oct 11, 2007 11:24 pm Post subject: Get month wise basic salary for particlular employee
See the BAPI
BAPI_BASICPAY_GETDETAIL
or
check the fun module
'RP_FILL_WAGE_TYPE_TABLE_EXT' which gives wage types wise monthly salary details from infotype 0008.
and sample code is
Code:
constants :
c_lga01 like pa0008-lga01 value '0101', " Wage Type
c_lga02 like pa0008-lga01 value '0102', " Wage Type
c_lga03 like pa0008-lga01 value '0103', " Wage Type
c_lga04 like pa0008-lga01 value '0105', " Wage Type
c_lga05 like pa0008-lga01 value '0109', " Wage Type
c_lga06 like pa0008-lga01 value '0110', " Wage Type
c_lga07 like pa0008-lga01 value '0114', " Wage Type
c_lga08 like pa0008-lga01 value '0116', " Wage Type
c_lga09 like pa0008-lga01 value '0267'. " Wage Type
*&--------------------------------------------------------------------*
*& Form get_pay_data
*&--------------------------------------------------------------------*
* Get the Payroll Data from Infotype 0008
*---------------------------------------------------------------------*
form get_pay_data.
* Get the Payroll data from Respective Infotypes
rp_provide_from_last p0008 space pnpbegda pnpendda.
pay_tab-pernr = pernr-pernr.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
All product names are trademarks of their respective companies. SAPNET.RU websites are in no way affiliated with SAP AG. SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver and any other are registered trademarks of SAP AG. Every effort is made to ensure content integrity. Use information on this site at your own risk.