Skip to Content
0

Generate time type on a Weekend if there is an absence.

Jan 04, 2017 at 08:48 AM

26

avatar image

Hi

I need to generate time type on a rest day if the absence is applied in 2001 infotype to address one of my requirements.

In standard it is pretty logical that even if we try to create an absence on a rest/free day system will create the absence record with 0 hours. As a result AB table will update the absence through P2001 funtion without start time or end time but noting will be updated in TIP output table.

I wrote a PCR and placed below P2001 but it is not helping.

zabh.jpg

Any Suggestions please.

zabh.jpg (49.3 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

avatar image
Former Member Jan 11, 2017 at 02:59 PM
0

Hello

it might work , what if before execute function P2001 condition using IF rule pcr on a free day change it temporarily using operation DAYPG to a normal daily work schedule, execute P2001 this generates TIP with x hours according to daily work schedule used, then return DAYPG to FREE...

Share
10 |10000 characters needed characters left characters exceeded