cancel
Showing results for 
Search instead for 
Did you mean: 

PCR to capture Absence

Former Member
0 Kudos

Hello guru's

Please can you guide me in making a PCR to capture one absence for Time Evaluation.

I am very new to this. I think the PCR starts with OUTTPVTYPE!!

Your help is much appreciated.

Regards

San

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hello,

Vasu, Sankarsan, Sikinder, Jagan: Thank you all.

I will try this tomorrow and will let you guys know if I have got it.

You all are Legends Cheers

Sandeep

Former Member
0 Kudos

Hi San,

Below PCR is use full I think

In the schema you can call this rule through ACTIO function and in Parameter 2 put AB

this operation read absence on weekend also(even planned working hours zero)

Regards,

G.Vasu

sikindar_a
Active Contributor
0 Kudos

ABTYP is 4 charcs , The syntax should be as per below

so the PCR should be like below

*

****

VARABTYP

*

**

***

****

XXXX

HRS=XXX

ADDDZZZZ

Former Member
0 Kudos

Yes correct

Sanky
Active Contributor
0 Kudos

As Sikindar said for this operation you have to declare the

Like below

VARSTABYTP

*

**

***

****

Regards,

Sankarsan

Sanky
Active Contributor
0 Kudos

Hi Sandeep,

You can check what you have said. Another way you can check that if you have entered absence in the IT2001 then you can use the operation VARSTP2001 or OUTTPORIGS or OUTTPABTYP.

Regards,

Sankarsan

venkateshorusu
Active Contributor
0 Kudos

There are many ways we can handle this it depends on the requirement, When you wanted a specific absence type then it does not work with operation OUTTPVTYPE since all absences are processed with Processing type "A" we can not differentiate them.

Regards

Venkatesh

jagan_gunja
Active Contributor
0 Kudos

Usually A is the processing type for absences.  You can use the PCR lines as below to add the absence hrs in a time type xxxx (this needs to be configured as a daily cumulation, if you need it to report after the time eval is run.   It needs monthly accumulation if you want to process/report the accumulation over a period.

              D  OUTTPVTYPE                    Check current pair's proc type

*                 COLOP *

A                HRS=PNUM     ADDDBxxxx       add the pair hrs to t/t xxxx

Notes:

COLOP * is required at the end of processing a pair, if the PCR is called with PTIP - this function would be used if you want to change anything in the pair.  Else you can use RTIP which does not need COLOP *

HRS=PNUM gets the hrs in the current pair

ADDDBxxxx adds or accumulates the current hrs to the time type.

ADDDBxxxxZ  will set the hours in the t/t to the hrs to the current hrs value.