cancel
Showing results for 
Search instead for 
Did you mean: 

How to capture ANSAL in a payroll PCR

vijay_chinnam
Discoverer
0 Kudos

Hi

I need to find  ANSAL value as I need to compare with a Constant. Is there any operation to capture the ANSAL value into amount field .

Please let me know if there is any easy way to check the ANSAL value.

The scenario is if ANSAL is >50000 then create Wage type 1234  if it is <50000 create wage type 1235

Thanks,

Vijay

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi,

You can use operation "TABLEP0008" / "VARGBxxxxx" to use information inside infotypes.

Try something like this: put the constant on AMT and compare using TableP0008 / VargbANSAL.

Regards,

Neto.

Answers (2)

Answers (2)

vijay_chinnam
Discoverer
0 Kudos

below is the solution I found with the standard operation .

TableP0008

and if we use Variant B then we can capture and add the value to a constant.

AMT=BANSAL

this will get the ansal value in to AMT

ADDWT&ZSAL

this will add the ansal value to a variable.

former_member193210
Active Contributor
0 Kudos

I don't recall a Payroll Operation that enables to retrieve the Annual Salary, even though it is a value that is shown on IT0008.

I would suggest that you talk to an ABAP resource to create a Custom Payroll Operation to meet your requirement.