Skip to Content
0

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

Jan 19, 2017 at 10:50 AM

235

avatar image

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 ? ?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Rémi Corriveau Jan 19, 2017 at 05:51 PM
0

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.

Show 2 Share
10 |10000 characters needed characters left characters exceeded

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

0

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

0
Sujith E M Jan 30, 2017 at 09:46 AM
0

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.

Share
10 |10000 characters needed characters left characters exceeded
antoine foucault Jan 31, 2017 at 02:57 PM
0

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


Share
10 |10000 characters needed characters left characters exceeded