Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8459

CATS - Determine target hours.

$
0
0

Hi experts,

 

We have a scenario in CATS where in we have to subtract the hours reported in IT2002 from the default target hours mentioned on the initial screen- if the hours reported in 2002 are within the working hours for the employee.

 

I planned to write this logic in the user exit - CATP0001

 

I see that this conditional logic can be written there and the changed target hours passed to export to reflect accordingly, however I do not understand how to get the default target hours being displayed on the cats screen?

 

For ex: Lets say we have 7,7,7,7,7,0,0 - default target hours(Monday to Sunday), based on it2002 for an employee I should change this to lets say 5,7,7,7,7,0,0. I do not want to manually calculate the target hours from scratch as it is a combination of IT0007, IT2003 etc and would be redundancy to recalculate it.

 

In CATP0001 - Is there any chance I get this default 7,7,7,7,7,0,0? and then compute just the reduction and change it?

Or is the default computed after this user exit?
I tried reading (SAPLCATS)CATSD-DAY1 in the debugging mode in the user exit - it does not hold any value yet.

 

Your inputs on this will be very helpful.

 

Thanks & Regards,

Gayathri Shanbhag


Viewing all articles
Browse latest Browse all 8459

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>