on 10-22-2013 11:50 AM
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
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
Experts any update please...please help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.