Wage type 559 in HR ABAP
hi guru,
i am new to hr abap,
i have been assigned with an new project related to hr abap.
my requirement is to display a list containing following fields with data.
EMPLOYEE NO. NAME BANK NAME BANK A/C NO. AMOUNT
i am getting first four fields from infotypes 0001 and 0009 but field AMOUNT is wage type /559 is to be retrieved from some RT table..
can someone help how to get that AMOUNT field data which is a net amount in /559 ?
Hello,
In declaration part of yr internal table of report, declare it:
pernr TYPE pernr-pernr, " emp id
ename TYPE p0001-ename, " Emp Name
bname TYPE bnka-banka, " Name of Bank
ac_no TYPE p0009-bankn, " Bank Account No
w1001 TYPE q0008-betrg, " Amount (Basic Pay)
Now go to rt OR trt table
Loop at trt
make the case of that particular infotype
say Amount(Basic Pay)
when'1001'.
ty_final-w1001 = trt-betrg.
.. .. similarly for other wage types whatsoever the requirement is..
Endloop.
Now to go fieldcatalogs in the ALV display criteria... and declaretha wage type variable Like.
CLEAR wa_fieldcat.
ADD 1 TO col_pos.
wa_fieldcat-row_pos = 1.
wa_fieldcat-col_pos = col_pos.
wa_fieldcat-fieldname = 'w1001'.
wa_fieldcat-seltext_l = 'Amount(Basic Pay)'.
APPEND wa_fieldcat TO it_fieldcat.
.... I think that completely resolvs yr problem... no help is more required on that.
All tha Best
Regards,
Akg
Similar Messages
-
No /559 wage type in posting run - Program RPCIPE00
hello everyone,
I have created a posting run for an employee via report RPCIPE00.
the scenario is employee was not paid in period 26/2007 (26 in 26), he got paid in 26 in 27 ( period 27/2007) but there was no payment for 27 itself only the inflow from 26 was paid.
system should post the amount in bank transfer wage type /559 but there is no /559 wage type in the posting run created.
the same scenario was working in past so may be some customizing setting has changed somewhere..
any inputs from you people will be highly appreciated.
thanks.Just normal employee, As I said in display log mod when running Posting, I can see wt /559 in current period, but checking posting document, there is no wt /559 inside.
Have you faced it before? It's total standard process by running standard T-code for posting to FI.
Actually it's special ee, this current month ee is withdraw from 1st date, i guess it's reason SAP didn't generate current month in posting document (only fro retro active period), but not sure. And very strange why can see in display log mode, but cannot see in document, should be same. Anw I raised OSS message to SAP about it, maybe it's hidden issue of SAP
Regards,
Woody. -
ABAP program for wage type variant report
Hi experts,
plz any one sen me the ABAP program for to create wage type variant report plz.
Thanks
Rajesh.Requesting for code is against forum rules. Please read the rules of the forum before posting.
-
HR-abap problem in getting wage type in 0008 infotypes
i am creating sap scripts for appointment letters in that i am coolecting data from table pa0008,
for that i am using field bet01 , bet02, etc for the diff. allowances .
if the order of allowances are changed in 0008 infotype then field form which i am getting amount is also getting changed.
E.G :- i am using perticular order in 0008
then it gives me wage type in lga02 and corresponding amount in bet02 for first allowance
wage type in lga03 and corresponding amount in bet03 for second allowance
and now if i interchange order of allowances in pa008 then t gives me
wage type in lga02 and corresponding amount in bet02 for first allowance
wage type in lga03 and corresponding amount in bet03 for second allowance
i hope you understnad my problem .
Thanks in advanceHi,
please check thiscode
call function 'RP_FILL_WAGE_TYPE_TABLE_EXT'
exporting
appli = 'P'
pernr = p0467-pernr
infty = pinfty
SUBTY = PSUBTY
OBJPS = POBJPS
SEQNR = PSEQNR "QEAK100596
waers = sy-waers "XYMK097435
begda = datum
endda = datum
tables
pp0001 = p0001 "input
pp0007 = p0007 "input
pp0008 = p0008 "input
ppbwla = ppbwla "output
exceptions
error_at_indirect_evaluation = 1.
check sy-subrc eq 0.
loop at ppbwla.
if ppbwla-waers ne q0467-waer2.
perform convert_to_local_currency using
ppbwla-betrg ppbwla-waers
q0467-waer2 ppbwla-betrg
datum.
modify ppbwla.
endif.
endloop.
Ref program
MP046740
Thanks and regrds
Durga.K -
UK Payroll Issue :Gross Wage Type /101 missing from RT
Hi,
We are facing an issue for some of the employees wherein Gross wage
type /101 is not being generated when payroll is run .In place of /101 , /A01 wage type
is getting created.
This issue is being faced by employees whose claims were entered in
March ( Payroll Period 12 2008) to be paid in April ( Payroll Period 01
2009)
If anybody knows ,please let me know why its happening like that .
Thanks in advance.
AnupamaHi Surya,
Folowing is the log for employee not getting claims.
/101 Total gross 633.52
/105 Working net 475.08
/111 EE's Pensio 633.52
/121 Taxable pay 617.38
/124 Pre-tax ded 35.94-
/131 NIable pay 633.52
/132 Regular NIa 633.52
/141 Arrestable 493.78
/211 Salary relv 633.52
/212 Salary relv 653.32
/302 Employer NI 25.64
/501 Tax paid 123.60
/550 Statutory n 475.08
/552 Retro. net 18.70
/559 Bank transf 01 493.80
/560 Amount paid 493.80
/5A4 Sal.AWE bas 19.80
/5C2 Retro arstb 18.70
/5T2 Retro.taxbl 18.70
/5T4 Retro.preta 1.10-
/700 WT plus ER 659.16
/840 Diff.curr.f01 1.77
/851 Total hours 103.18
/P20 Tax-free pe 34.84
/V03 Net Pay fro V 03 0.02
/V41 ME: arrest. 0.02
/VNS ME: NI paid 25.64 2.00 653.34
/VT3 ME:Taxable 0.02
/VT4 ME:Tax Paid
9001 Local Gover 34.84
9101 Local Gover 0002 O 02 126.07
9201 LG Tax Free 34.84
9N39 Cost dist.o 0002 25.64
9NZ3 Cost dist o 0002 O 02 25.64
9P01 Cost dist.o 126.07
3 /001 Main Hourly01 62,173.06
3 /002 WTD under 501 71,026.95
3 /003 WTD over 5y01 72,617.95
3 /004 Schools Spe01 71,250.13
3 /005 Valuation b01 6.25
3 /010 Daily Rate 01 204361.29
3 /011 Daily Rate 01 204361.29
3 /012 Daily Rate 01 204361.29
3 /013 Daily Rate 01 204361.29
3 /250 Salary summ 633.52
3 /251 Basic Annua01 7,602.24
3 /252 Total Annua01 7,602.24
3 1000 Basic Pay (01 633.52
Following is the log for employee getting claims
/105 Working net 2,761.26
/111 EE's Pensio 3,166.86
/121 Taxable pay 2,028.22
/131 NIable pay 3,166.86
/133 Irregular N 3,166.86
/141 Arrestable 1,622.62
/211 Salary relv 3,166.86
/212 Salary relv 2,028.22
/501 Tax paid 405.60
/550 Statutory n 2,761.26
/551 Stat.net re 3,166.86-
/552 Retro. net 2,028.22
/553 Recalc.diff 3,166.86-
/5A1 Sal.AWE bas 1.00
/5A3 Sal.AWE bas 3,166.86-
/5A4 Sal.AWE bas 2,028.22
/5C1 Arstble ern 3,166.86-
/5C2 Retro arstb 2,028.22
/5T1 Txbl.pay re 3,166.86-
/5T2 Retro.taxbl 2,028.22
/700 WT plus ER 3,166.86
/840 Diff.curr.f01 2.80
/851 Total hours 162.80
/A01 Total gross 3,166.86
/V01 Net Pay on 1,622.62
3 /001 Main Hourly01 190940.93
3 /002 WTD under 501 218132.27
3 /001 Main Hourly01 190940.93
3 /002 WTD under 501 218132.27
3 /003 WTD over 5y01 223018.42
3 /004 Schools Spe01 218817.70
3 /005 Valuation b01 19.19
3 /010 Daily Rate 01 990267.74
3 /011 Daily Rate 01 990267.74
3 /012 Daily Rate 01 990267.74
3 /013 Daily Rate 01 990267.74
3 /250 Salary summ 3,069.83
3 /251 Basic Annua01 36,837.96
3 /252 Total Annua01 36,837.96
3 1270 Notional Ba01 3,069.83
3 3715 Claim WTD >01 223018.42 142.00 3,166.86
I have also got this info.
Retroaction and End of Year
Purpose
If you need to use retroaction over end of year, for example when overtime entered in period 12 is to be paid in period 1, or backdated pay increases applied in the new tax year are to start in the previous tax year, you can do this without this changing any statutory balances in the previous tax year.
Process Flow
If you make any changes over end of year that trigger retroaction, this will not affect the statutory balances in the previous tax year.
However, a change that affects total gross, for example, will be recorded and summed into a wage type called /A01 (Total Gross). The /A01 value will feed a wage type called /Z01 (Total Gross), which will be passed across to the new tax year, ensuring that any retro differences will only affect statutory cumulatives in the new tax year, but will not compromise period 12 statutory cumulatives that may already have been used for end of year reporting.
The following wage types were introduced to enable retroaction over end of year:
u2022 /A01
u2022 /A12
u2022 /AMP
u2022 /AP0
u2022 /AP1
u2022 /ASP
u2022 /Z01
u2022 /Z12
u2022 /ZMP
u2022 /ZP0
u2022 /ZP1
u2022 /ZSP
Thanks and Regards,
Anupama -
Payslip display issue for retro periods of a wage type
Hi,
we have an issue with payslip display for the rate field of an wage type.
we are genaearting the amount of a wage type 2000 using T511K constant. and we have changed the Rate of this constant in the mid of pay period.
if we have split in WPBP then we are getting payslip display for old and new rate. which is fine.
however if we don't have WPBP split for retro periods then payslip is clubbing the old and new rates hence the diaplay is wrong.
ex: wrong dispaly for retro periods (08/2009 one record with RTE as 6 and for 09,2009 another record with RTE as 6)
wage type rate number amonut
2000 12 2 12 (rate should be 6 however it is diaplaying 12 as taking rate of 08 & 09,2009 periods where it is comg as 6+6=12 which is wrong)
right dispaly should be
wage type rate number amonut
2000 6 2 12 (rate should be 6, i.e 6*2=12)
Thanks
GayathriHi Gayatri,
First check the values in payroll log or RT table. If its displaying correctly in RT table and if its problem with Payslip, then ask the abaper to debug the program.
Also check the WPBP table in RT table, because as you told that if there are any changes in the mid of the month, then the amount may split.
And if you have written any PCR for this, then check the PCR, whether its overwriting with any values.
Just check the above points.
Thanks & Regards
Bharathi -
Wage Type is not valid for allowance grouping
Gurus
When i am Executing PC00_M40_TERM and entered Details then in very next screen it is with error
''Wage Type is not valid for allowance grouping ''
The Issue is showing generic and No specific Wage type shown in error.
ABAP Team also Debuged and could not get the Issue.
Kindly Let me know from your Experience what could be the Issue.Your wage type is missing in allowance grouping configuration against RAP indicator R,Reimbursement
Check table V_T7INA9 , check the wage type is configured for the allowance grouping of that employee with RAP Indicator R, Reimbursement -
Creation of customized Wage Type Reporter
Hi,
My client were using the Standard Wage Type reporter i.e.PC00_M11_WTK. Now beacuse of security of not viewing the amounts of the employees , Client has taken away the authorization from the users the standard Tcode.
They want me to preapare the report for wage type -196E,9IPI,9IPC,9IP3,9IP5,9IP6,9IP7,9IP8,/3F1,/3F2,/3F3 AND /3F4. They dnot want the standard report. They want to customized a new report with above mention wage types?
I have already defined the FS to my ABAP HR,
I required your help to know the table from where the amount of the above wage type will pick up?
Please help.
Regards
SanjibPayroll results are kept in cluster. You have to access and read the cluster.
But instead of creating a report with abap I can suggest you trying this solution.
Create a payroll infotype by using system standart for the wage types to be reported.
Assign authorization for this infotype to only related employee
Put payroll infotype in info group.
After that employee can have the report by using ad-hoc query.
About payroll clusters this link will help you:
http://wiki.sdn.sap.com/wiki/display/ERPHCM/HRPayrollClusters
Regards;
Okan
Edited by: Okan Caliskan on Sep 16, 2011 12:07 PM -
How to define a Recur. Paymeny/Ded wage type for an Emp Subgroup
I have created a Recur. Payment/Deduction (0014) wage type of "Fixed Amount" value 9say, Rs.2000). I want all the employees of an Employee Group to get this amount in salary, periodically (say in periods 2, 4 & 6). I know, thru "Personnel Actions-Maintain", I can set up the "1st Payment Period", "Interval in Periods" etc. for this infotype for a particular employee. But I want the same setting to be applicable for all employees of an employee subgroup. How to acheive this? Because, doing the same setting for all the employees is difficult and also error prone.
Please help.Hi,
You can do this through User Exit.Ask your ABAPER to do this logic in SMOD->PBAS0001->Components->EXIT_SAPFP50M_002
INCLUDE ZXPADU02.Do the coding here.
Manoj. -
Calculation of difference of wages types master data and accounting cluster
Hi, I am developing a ABAP HR report for calculating the difference of wage types master data and accounting data and in the output i need to display the fields like
Officer in-charge of payroll accounting
Officer in-charge of Support
Officer in-charge of time recording
also from where I could get the accounting cluster data for the wage types
I want to know from where I can get these fields and how ther are related with wage types.Check through PA30,there are different infotypes by which these data are maintained in the Employee Master.
-
Difference of wages types master data and accounting cluster data
Hi, I am developing a ABAP HR report for calculating the difference of wage types master data and accounting data and in the output i need to display the fields like
Officer in-charge of payroll accounting
Officer in-charge of Support
Officer in-charge of time recording
I want to know from where I can get these fields and how ther are related with wage types.Hi Luo
As per below link
How to... MDG-M: Use the Data Import Framework | SCN
The IDoc doesn't support flex entities, as they don't write into active area. Therefore, the DIF can only be used to load reuse entities in staging or active area. -
How to list wage types using certain indirect modules?
Gurus,
How to list all the modules using certain indiect module (and which variant)?
For example, I want to list all the wage type using PRZNT module with or with out one of its variant.
Thanks,Arun,
Do I need to know ABAP for this?
Can you point some URL or step-bystep (high level) instrruction on how to get this?
Thanks, -
Need help with rounding of wage types in IT0008
Hi,
We have a requirement to round off wage type 1003 - Monthly Salary in IT0008. The amount entered in this wage type has to be rounded to the nearest 10's for India, 100's for Japan and 1000's for South Korea. For all other countries it should be rounded to the nearest whole number.
I have tried this by setting up the Rounding Type to A/B/C and Rounding Divisor to 10/100/1000 in the wagetype characteristics table T511 for each of the above scenarios respectively but nothing worked.
If we cannot find a way to set this up through configuration, we are planning to use the user exit in IT0008 to achieve this functionality. So anay ABAPER's also might pitch in for help...
This is an existing wage type and we just need to apply rounding this time. Need expert advice pls...
Thanks,
PriyaActually A/B/C and 10/100/1000 should work but it start rounding off from decimal points. For example if you will put 1000 for round off then it will round off to 10.
Btw since you are going with user exit, you can do it. What you need to do is read the wage type and indirect valuation module (as indirectly valuated wage type don't give you amount so you need to read module variant and valuate the wage type) and then write the code for round off.
Let me know if you need some more clarification on this. -
PA30, PA0008 add/remove one record for onw wage type
in PA30 we can add wage type & amount for an employee. It creates entry in PA0008.
How to add or remove a wage type through program ?
screen is quite complex & with small table control, so BDC is not a good idea. Some ppl told me we can change record in PA0008. is it common practice to do it in HR ABAP ?
VivekHello Vivek,
First you should not modified the PA0008 tables directly using SQL stmt.
please use the BAPI BAPI_BASICPAY_CHANGE to modify it.
when you are using these BAPI or Tcode PA30 there are lots of validation is happening.
And when you will modify it using SQL stmt it will create discrepancies into the Transaction data.
If you have still query do revert.
Regards,
Chandrashekhar -
Model wage type for performance pay and additional pay
Hi gurus,
my client wants performance pay and additional pay in the additional payments. I am confused what model wage types to be copied for this. i tried copying m2sf for these but the prob is if if the employee is joining in the mid of month say 15th , then if i am trying to give performane pay of 10,000 rs then it is calculating only 15 days pay n giving 5000 in the payroll n payslip.
if i try to copy the other wage types like m200,m281 n m282, i have the same problem . but if i copy m280 for both of these w.ts ,then it is giving the flat amount irrespective of the joining date of employee. but my question is does it have any implications on the calculation of the tax. coz i observed different model wage types deduct different amounts of tax. i.e if i copy m281 for performance apy n give the value as 10,000 then ,it give some x amount of tax on 10,000 similarly if i copy some other model w.t , for same amount of 10,000 it gives some other amount of tax.
im really confused ,plzz helpHi ramm,
I have checked the w.t amount in /434
/434 Total Incom 182,060.00
n my other w.t amounts are:
4MOB Mobile Reim 25,000.00
4PER Performance 15,000.00
5CEA Child Educa 193.55
5CON Conveyance 1,451.61
5HRA House Rent 4,838.71
5SPL Special All 19,354.84
/001 Valuation b01 179.90
/002 Valuation b01 179.90
/118 PTax Basis 01 75,516.13
/119 PTax Basis 01 96,774.19 35,516.13
2CAN Canteen Ded01 2,000.00-
2NOT Notice Deuc01 2,000.00-
2OTH Other Deduc01 1,500.00-
5BAS BASIC 01 9,677.42
I dont know how to check the slabs, i am new to payroll,can u guide plzz
Maybe you are looking for
-
I am confused because I downloaded on the computer the newest iTunes and it is not updating when I plug it in........How do I update my iOS 4.1 iPod to the newest iOS??? Please help. Thanks!
-
I don't see the junk folder where do I find it?
I don't see the Junk filter displayed where can I find it or enable it for display?
-
FW800 port on Thunderbolt display?
The new Thunderbolt display has 1 Firewire 800 port. How would that be used? If you plug your Mac into it, you can't plug a peripheral into it. If you plug your FW disk into it - you can't daisy chain it. Am I missing something? The only reason I cou
-
Hey guys, I have some dvcpro HD coded quicktimes and I can hear the audio but the screen is black. I have been looking for the codec to install on my mac with no luck. Does anyone know where to find it? My computer is not intel, is PPC tiger. thanks
-
Good download, poor upload....
Hi, I recently noticed some slowdowns with web surfing. I did a speed test and get the following, Speed Test #52511317 by dslreports.com Run: 2008-06-13 00:57:27 EST Download: 8473 (Kbps) Upload: 21 (Kbps) My question involves the poor upload. Any id