cancel
Showing results for 
Search instead for 
Did you mean: 

How to update absence hours in infotype 2001.

Former Member

Got a requirement,InESS  Leave request application, by selecting sick leave absence type ,passing number of hours manually(Eg:2hrs,3hrs,4hrs..etc)

,it should update in infotype 2001,from there quota to be deducted in infotype 2006.

I did enhancement for updating hours in infotype 2001,but it is getting conflict with buffer value of default 8 hrs from backend in so many methods,unable to update in infotype 2001.

Please share solution for this,if any one face this situation from  your past experiance that is it possible to update hours in infotype 2001 by enabling editing absence hour  field.

Accepted Solutions (0)

Answers (2)

Answers (2)

Sanky
Active Contributor
0 Kudos

Hi,

Check the have you maintained <1 day's applicability in the counting rule of the Sick leave.

Regards,

Sankarsan

jagan_gunja
Active Contributor
0 Kudos

Processing of IT 2001 includes updating of the abs hrs/days, etc in IT 2001.  The enhancement should not try to update these fields.

If you wish, you can enhance or use the user exits to modify for example, the absence hrs calculation.  Go through the user functions/exits/badi's etc in MP200100 and see which is relevant for your purpose.

Also there is a good amt of info in the links below:

user exits | SCN

User exits and BADIs in the PT area - ERP Human Capital Management - SCN Wiki

Want to know user exits for PA61 where the Absence leave quota is done.,&amp;nbsp;PA61&amp;nbsp;|&am...

Not sure if this will help in your scenario:

Further, if you have activated IT 2001 for decoupled infotype framework (DIF), then the same functions would be used for validation, PBO/PIO, user changes, etc.  Otherwise, it would be more efficient to call the same routines for both ESS and R/3 front end changes. 

See links re:DIF

Weblog42: Decoupled Infotype Framework #1: At a glance

SAPexperts | Avoid Data Inconsistency Between ESS and PA30 in ECC 6.0&lt;/title&gt; &lt;meta …

- for detailed info, you need to subscribe to SAP experts.

DIF Time infotypes: Availability of time infoty... | SCN

Decoupling Infotypes - Developing an Infotype in Personnel Administration - SAP Library

https://s3-eu-west-1.amazonaws.com/gxmedia.galileo-press.de/leseproben/3135/sappress_erp_hcm_technic...