cancel
Showing results for 
Search instead for 
Did you mean: 

Need to Pick specific subtype entry from P2001 or AB in Payroll PCR

Former Member
0 Kudos

Dear Experts,

I need a operation/function in Payroll PCR to read specific subtype entry from table P2001 or AB table, Actually there are 2 different leaves (0100 & 0501) in same month and when i am reading value through vargbawart >>0501>>**** in PCR, It always reads latest entry which is 0100 and always PCR navigates to **** not processing 0501, I need to process 0501, Please help ? ?

Accepted Solutions (0)

Answers (4)

Answers (4)

sikindar_a
Active Contributor
0 Kudos

you can mentioned the subtype

OUTTPABTYP

XXXX

YYYY

antoine_foucault
Active Contributor
0 Kudos

Hi Ankur:

Would it be possible for your to link both absence to different absence valuation rule and generating specific wagetype in IT table as marker and then make a simple PCR to process those generated wage types?

In T554S you can link your absence to an absence rule for payment data (KLBEW); In V_T554C for your country grouping (MOLGA) and absence valuation grouping (MODIF A) and valuation rule (KLBEW) you can use the valuation using constant/averages concept to generate one or various WTs in your IT table.

Let say absence class 0100 generate WT 0100 and absence class 0501 generate WT 0501 in IT you could then make a simple PCR to process either or both... depending... btw this is evaluated in the payroll engine by either PAB or ZLIT function in your time management subscheme (your version of XT00).

Maybe that would be an alternative to custom development for you?

Best,

Antoine

0 Kudos

What would happen if there are 2 absence type on a same day, but I want to pick a particular absence type to process through PCR?

Sujith_EM
Active Contributor
0 Kudos

As Remi mentioned believe there is no particular direct way to read absence type.

You can explore absence valuation, assign different wage types for different absences and set the appropriate time units, query this wage types in your PCR.

former_member193210
Active Contributor
0 Kudos

I believe you would need a Custom Function to be able to read more than one absence in Payroll (either through IT2001 valid during the Payroll Period or through Table AB), but during Time Evaluation, you should be able to query the Absences and transfer an Information WT to Payroll through the ZL Table.

Former Member
0 Kudos

Thanks Remi,

For the reply, But i do not want to use Time Evaluation, Through Time Evaluation i already done, I directly want to query in Payroll PCR, Actually I can see all the entries in AB table (RAB) in payroll but when i am accessing this, It always check latest entry from AB table. This is the issue, Is there any function or operation to check every entry from these tables (P2001 & AB) in payroll PCR

former_member193210
Active Contributor
0 Kudos

Then I would suggest that you talk to an ABAP programmer about creating a Custom Payroll Function.