cancel
Showing results for 
Search instead for 
Did you mean: 

Capturing variable breaks in TIP table of time evaluation

Former Member
0 Kudos

Dear Experts

Its a long pending issue, i wrote 3 pcrs for capturing extra break hrs as given below. Ours is a variable break any 30mins b/w 11 to 3pm. Now issue is in DEFTP, i am finding wrong hrs being captured in extra break time type, it seems it taking all the break before and after break hrs. Please find below all the relevant screen-shots related to break configuration, IT2011, schema and PCRs. Kindly help me ASAP, where its going wrong.

Thanks & regards

Tandrima

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Yes i could follow your suggestion Omid, i created a new time type ZBRD as break hrs and captured it in KBRK PCR for capturing the break hrs day balance, placed KBRK after DEFTP, now see the output, it seems it is capturing the whole working hrs as break.

Former Member
0 Kudos

Hi,

I think  break he's calculation is considering from as 07.500 to 17:00.

Thanks,

Sheshu

Former Member
0 Kudos

You are right sheshu, Its seems so, but if you look at my break configuration as given below, its done correctly. Can you please give me any way out to resolve it, that will be a great help.

Thanks & regards

tandrima

Former Member
0 Kudos

Another observation is, if i place my PCRs after P2011 function in schema, then extra break hrs reduce a bit as shown below, but actual extra break time is not capturing properly. Please someone helps me to resolve it.

Regards

Tandrima

Former Member
0 Kudos

For you example  which hours are you subtracting to get zb07, meaning what is the hours before the first PCR is called ?

former_member193652
Active Contributor
0 Kudos

Hi Tandrima,

I remember a following dicussion of you related to this issue. The issue is the same, isn't it?

http://scn.sap.com/message/14347227

Anyway, as I understood you are getting start and end of break in KBR1 and KBR2 respectively and i think calculate break duration in last pcr aren't you?

If I am right lets recommend some improvement for you prcs. In a pcr you can get the break duration by HRS=PNUM directly. You don't need to get start and end of it then calculate break duration.

Then you should accumulate it into a time type like ADDDBBRKD (BRKD is time type for break durations in a day for example). You should just rest it for each day. Maybe you don't do it.

At the end of day processing you can compare it with you maximum allowance of break time.

By the way, you should put your break in appropriate place in your schema. Putting it after P2011 is not good you should put it after DEFTP. You should understand what each function do in schema. I have some replied at http://scn.sap.com/message/14342474#14348064 and I think it can be useful in this issue.

Regards,

Omid

former_member193652
Active Contributor
0 Kudos

By the way, Have a look my explanation of TIP table processing at http://scn.sap.com/message/14308827 also. Hope you find it useful.

Cheers,

Omid

Former Member
0 Kudos

Hi Sheshu,

I am trying to deduct time type ZR05, start of break which has been captured in KBR1 from time type ZR06, end of break which has been captured in KBR2 to derive at ZR07, extra break time type.

Former Member
0 Kudos

Dear Omid,

Thanks for all your inputs, yes its a long pending issue and i already scanned through all the posts as you have also given some which are even remotely related with this issue. But unfortunately, none of them is giving enough clue to solve the issue i am facing for variable break. I tried putting them after DEFTP function in schema but result is more terrible, as you can see below.

I tried to modify the KBRK pcr by inserting HRS=PBRKS HRS=PNUM and scraping KBRK1 and 2 PCRs (whose main purpose was to capture start and end break correctly). But still you can find below the output

So please show me some way out, can you please elaborate more about the option you are talking about for storing the break hrs for the day in time type.

Regards

tandrima 

Former Member
0 Kudos

Experts any update please...please help