We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE:[sap-hr] IT0007 - how to prevent users to select delimited work schedule rule SCHKZ

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Posted by Marjanov
on Jan 14 at 5:28 PM
Maybe to create user exit in ZXPADU02 ?

---------------Original Message---------------
From: SAPNewB
Sent: Friday, January 14, 2011 4:21 PM
Subject: IT0007 - how to prevent users to select delimited work schedule rule SCHKZ

Hi,
Here is my problem.
I have work schedule XYZ valid from 2000.01.01 to 2010.12.31.

I am in the process of hiring an employee on 2010.10.14
On IT0007, when I do the pull down on the work schedule to select the appropriate work schedule rule, work schedule rule XYZ appears in the list.

This is so because if I open the restriction tab at the top of my pull down pop up box, I see that the BEGDA and ENDDA are filled by default as follow:
BEGDA < or = 2010.10.14 (start date of my IT0007)
ENDDA > or = 2010.10.14 (start date of my IT0007).

This means that any work schedule rule that fulfills both requirements will be displayed in the drop down...In this case, since work schedule rule XYZ does fulfill both, it is indeed displayed.

However, I believe that the condition on the ENDDA should NOT be related to the start date of the infotype but rather to the ENDDA of IT 0007.
In this case, I should see
BEGDA < or = 2010.10.14
ENDDA > or = 9999.12.31 (I know the > does not make sense...but it is just to illustrate my point).

In this case, it should not display work schedule rule XYZ as it does not fulfill the second requirement (ENDDA > or = to 9999.12.31)

So, I believe that by default, this particular work schedule rule should NOT be displayed...and if I want to see it, then the ENDDA on the restrictions tab should be modified.

In doing so, it will prevent errors, since as it is right now, it is possible to save this particular infotype 0007 with ENDDA = 9999.12.31 for work schedule rule XYZ although it is no longer valid as of 2011.01.01. And the system does not return any error/warning message stating that this particular work schedule rule is not valid for the entire duration of the IT0007.

Does anybody know how/where we can modify the default logic for the ENDDA on the restriction tab so that it does not read the PA0007-BEGDA to fill the ENDDA field?

OR

Is there a way (no modif.!) to generate an error message when a user tries to save an infotype 0007, with an end date that is after the ENDDA of the work schedule rule?

Either way, it will reduce the risk of errors.

I have found a similar message in 2003...it went back and forth for a while but with no answer to this specific question.
I have also looked for OSS notes to no avail.

Thanks !
Gen

__.____._
Copyright © 2011 Toolbox.com and message author.

Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
Mark as helpful
View this online
  
Most Popular White Papers

In the Spotlight
Toolbox.com for iPhone: Ask Questions & Get Answers Anywhere. Use the New iPhone App
_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language