Cat2-Time sheet

Hi All,
           Can any one please help out how to write the user exit program and which user exit in cat2 has to be used for the following scenario:
           Ther requirement is that after enter into the transaction CAT2 and the data is given for the Data Entry profile and personnel number and then enter into the time sheet screen .In the time sheet screen once the time,activity types,network and activity number are entered and saved it.After that if we again enter into the time sheet screen it should not allow to change the time entered.But the standard transaction allow us to change the time.If the user makes any changes and try to save it ,it should show the error message.

Hi preethi,
1. for this purpose,
   (ie. validating at the time of saving time sheet)
   use the enhancement CATS0006
2. in that there is FM
   EXIT_SAPLCATS_006
3. There we can issue error messages
   (so that it cannot be saved)
  thru the TABLES parameter of the FM
  I_MESSAGES
4.
we again enter into the time sheet screen it should not allow to change the time entered
For this, u will have to FETCH THE OLD DATA
using SELECT query from DATABASE TABLE,
so that u can compare them with the
ONE ALREADY SAVED,
and the NEW ONE, which is being entered.
5. Then depending if both are different,
   u can give a error message.
regards,
amit m.

Similar Messages

  • Problem with CAT2 - Time Sheet

    Hi Friends,
    We have recently upgraded the support packs and while testing the CAT2 transaction, when we correct the Time Sheet of an employee, system is giving an error message that " Collision with Full-Day HR record, there is a PTO in place on the same days but system should over write the existing entry in  R/3.
    Can any one give some inputs on this scenerio.
    Thanks in advance.
    Venkata

    Hello,
    Check CAC1 -> Data Entry Checks -> Collision.
    Then check the behaviour you want on this.
    Regards,
    Bentow.

  • CAT2 time sheet template question

    Hi,
    I apologize if this is in the wrong forum.
    We are using CAT2 transaction for employees to keep track of time.  Is it possible for a supervisor to create and save a template in CAT2 that his or her staff can import or share for their own time?  In other words, is it possible to save one template in CAT2 and then have other users import or use that particular template?
    Any help is greatly appreciated.
    Regards,
    Rick

    Thanks John,
    I was afraid of that.  Maybe there is a way to circumvent via ABAP?  If anyone has any insight, I would appreciate your input.
    Thanks,
    Rick

  • Tcode: CAT2 - Time sheet: Maintain Times

    Hi All,
    In tcode: CAT2, then go to Setting -> tab DEFAULT, there's field called Activity Type. The field will display or hidden based on the setting in tcode: SPRO. If user set hidden, we will can't see this field show in the tab.
    In SPRO, the is multiple option for setting for this field ACTIVITY TYPE: (eg: Input, Req, Disp. Hide, etc). Can I know what are the table to stored for this setting so that we know that field is set to 'Input' . Thanks.

    Solved myself. It's from table: TFAWF..:-)

  • CAT2 Time sheet does not contain any data on PPMDT

    Hi Experts,
    I have submitted my timesheet through CAT2 ,this timesheet data is triggered and go throught the task 'TS31000007' .
    but when i open tcode PPMDT ,i am able to see my my timesheet in manager desk.
    issues is when manager was click on timesheet to do some action,Manager got the message like  'no data found'.
    Please help me here,if anyone accross this situation.
    Thanks in advacne.
    Regards,
    Kiran J

    Sounds to me like an authorisation issue. Maybe follow up with your security/authorisation team?

  • CAT2 Time sheet additional field length

    Hi All
    I have added  additional fields in include CI_CATSDB in that fields one fields is reference field in that I have taken field length 60 Char but in the input it is taking length only 35 Char.
    So if any one has come across this issue please help me because I have to enter reference that have more length.
    Thanks and regards
    Balbir

    hi
    in the catsdb table it will accept the length as 60 , but in the screen fld in the structure , it does not allow more than 35 chars, it is a limitation.
    Regards
    Sameer

  • How to add customized column in the time sheet CATS (transaction CAT2) ?

    Hello,
    I need to be able to add some columns in the time sheet CAT2 containing:
    - the name and first name of the person (in addition of the number), in display mode in the CATS time sheet.
    - a  text that I will found by reading some tables and values...
    Does anyone have any idea how to do so ? and if it's possible or not?
    Thanks a lot in advance for your help.
    Best regards
    Fanny GROUX

    Hi,
    Thanks a lot, it's really help...don't know why I didn't see this customized point before in SPRO.
    But I have an other issue, my new fields is added in the CATS screen and now I'm trying to put default value by using the user exit of extension CATS0009.
    When I complete the value of my new fields in structure CATSD_IMP, there are not taking into account and the CATS screen doesn't display the value.
    Am I using the wrong table ? wrong user-exit ? or my code ..
    Thansk a lot again for your help.
    Fanny GROUX

  • Dropdown Custom Field in CATS Time Sheet in ESS

    I have added a custom field in CAT2 transaction with drop down values from the custom table.  When I log on to ESS I was not able to see the dropdown in timesheet for that field. I am able to configure the field to have a search help dialog box.
    Let me know how can I configure the field to show dropdown values in time sheet in ESS? Appreciate your replies.
    Thank you,
    Rohit

    check CL_XSS_CAT_VALUE_HELP*
    or
    use implicit enhancement of CL_Xss_cat_value_help_general for the purpose
    build_f4_help Method in the class CL_XSS_CAT_RFC_COMMAND_TOOLS.
    or note 914125 on how to get different helps
    The table TCATS_SHLP_ITS also can be explored

  • Getting Error in Portal while booking Time Sheet......

    Hi All,
    I am Getting Error in Portal when Booking Time sheet in Record working time Link. Getting below Error.
    "Enter activity type only in conjunction with cost center"...I have entered data in KP26.
    But for the same employee if i am booking the Efforts through R/3 (CAT2 Transaction) not getting the error. Successfully able to release the efforts it is storing in CATSDB.
    PLease advice on this.
    Regards,
    Srinivas...

    Hi Srinivas,
    Please make sure that CATS data entry fields are marked as "input only".
    Regards,
    Dilek

  • Time sheet upload to Service entry sheet

    We have contractors, who works in our project.  They are not on payroll.  We have service PO for them. They are thru some third party vendor.  Vendor gives the Time sheet, and we enter the service entry sheet, make the invoice & do the payment.
    Now the requirement is, that the service entry sheet should be created from Time sheet (third part xls file). Can this be uplaoded to create service entry sheet ??
    Thanks
    amit

    Dear Amit,
    You can use the transaction CAT2, but as far as I know you need to copy / paste teh content from your excel file.
    You may consider using one of the following BAPIs to insert, change or               
    delete CATS data via collective time recording:                                                                               
    BAPI_CATIMESHEETMGR_CHANGE                                                           
    BAPI_CATIMESHEETMGR_DELETE                                                           
    BAPI_CATIMESHEETMGR_INSERT 
    Regards,
    Edit

  • Operation cost and time sheet booking

    Hi,
    In my current project we have SAP PP and SAP HR too.
    My production order is against WBS, I am issuing materials and confirming operations in CO11N to capture material cost and operation cost. then i am doing GR of finished goods and then order settlement and then goods issue ( of finished goods) to project to post the cost to project. Also in HR, time sheet booking is done in CAT2. This will lead to double cost posting to project i.e. once thru PP and then thru HR.
    How to avoid this??
    Regards.

    I am not sure how you have defined your std value parameters in the Routing.
    in the Production order we are trying to capture the cost incurred to the order, these hours are for Product costing purpose need not  be used for Salaries.
    in CAT2 we are trying to post only the manual labour hrs for the Project. thses hrs for Salary wage settlement purpose.
    Regards
    Ratan

  • Wrong Work center picking up Time sheet

    Hi
    Scenario is as follows:
    Earlier Employee has HR assignment to one Work center 1 -WC1
    Later, Employee was Assigned to Work center 2- WC2
    Problem: When booking time sheet in CAT2 ,  for service order, WC1 was picking up, even though in Service order WC2 is assigned.
    We have deleted the Employee HR assignment from WC1 , but still in Time sheet WC1 is coming.
    Please suggest.
    Thanks.

    Is it possible for anyone to tell, from where the work center is being picked up in CAT2. We are processing time sheet booking for service order. The work center in service order is something different than what is picked up in CAT2.

  • CATA: Time sheet: Transfer to target componets

    Could you please please give me an overview of what CATA (t-code) does?
    I have done some config in sandbox:
    I booked time in cat2 with a sender cost ctr + activity type and receiver cost center in ECC 6.0. With out running cata (t-code), I was able to see the actuals in cost center actual line item report and PS.
    I did not understand what was the purpose of CATA ?
    Thank you
    Ravi

    However, I am not sure but, I don't thinks so, because even I am workinng in ECC6.0,  I don't belive that this kind of development sap will do in any near future EHP or version. Please  let me know you are on which EPH in ECC6.0
    Because  than there is no point of approval  Functionality or T code - CAT4. It is one of the most required functionality of Any type of Time sheet.
    There is some thing wrong. Can you double check  and try to  replicate  the same in More reliable environment Quality.
    This is not at all std. SAP behavior.  Doe some analysis in in CJi3 with whose id actual cost got posted etc.
    With Regards
    Nitin P.

  • Time sheet - abap hr

    when i go to txn code:cat2(program: saplcats) for entering time sheet, if any employee works for 6 hours from 23.00 hours it gives the 'to' time as 24.00 hours in the new version and considers as that person only worked for 1 hour on that day and the remaining 5 hours next day.Where as in the old version it gives 'to' time as 5.00 hours and considers that he worked 6 hours that day. Can any one pl explain how the new version has got this additional feature.

    Hi,
    Regarding Time Sheet Issue....
    To fill in time sheets in SAP . Make use of CATSDB to enter data.
    Goto SE38-->Type CATS* and press f4..you would get the list of the programs..to enter and maintain timesheet data.
    I hope it helps.
    Regards,
    Suruchi

  • Transferring Time Sheet Data to Controlling/Financial Module

    All:
    I have an issue I am entering data via CAT2 and have supplied a receiver cost center, using wage type MI10 and entered times 8 hours per day.  I have entered salary data into the basic pay via Personnel Management.  I have approved the time sheet data but it appears that it is only relevant for transfer to the HR module and not the CO module.  Any help would be greatly appreciated.  I am attempting to use these modules to record actual hours worked and associated wage rates then post entries to CO for reporting.
    Thanks,
    Jeremy

    Sorry I wasn't clear it appears that it is not available for transfer to controlling.  It appears it is only building the data structures for transfer in HR and not CO.  I get the message "No data for transfer" it appears once I approve the time sheet data it creates intermediate structures/table for transferring to other modules and is only creating the structure/table for HR.  I can successfully transfer data to HR but not CO.  What data on the time sheet entry triggers it to build the CO structures/tables.
    Thanks,
    Jeremy

Maybe you are looking for