Skip to Content
author's profile photo Former Member
Former Member

Make CATS fields in Read Only Mode

Hi Experts,

Am in SAP EP7.3, ECC6.0, working in CATS application. If an employee tries to amend time for previous week then I need to make all the fields as display only mode and at the same time SAVE and RELEASE buttons should be disabled.

1. Know that I can use User-Exit->CATS0004 can be used for the requirement. But how can I make the whole fields in read only mode.

2. And I need to get time values(Hours) entered for each day and need to calculate the total hours. Can I use CATSDB-CATSHOURS for it??

Please help me and share your valuable ideas.

Thanks and Regards,

Ramakrishnan M

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Dec 31, 2013 at 12:42 PM

    Hi Rama,

    Calculate the total hours CATSD-SUMDAYS or CATSDB is the table and CATSD is the structure.

    Take the help from abap team and suggest the table TC10-TRTYP for display mode time entries for pervious week.

    Once the manager has approved the time sheets , employee did not change his entries for eariler weeks.

    Thanks

    Siva

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 30, 2013 at 05:23 AM

    Hi Experts,

    Any ideas please???

    Thanks and Regards,

    Ramakrishnan M.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi

      For Tcode :CAT2 . we have only one function code = 'TIME'.

      But here we have screen group 'AA' . I guess this screen group for for CAT2 contains all the feilds of time sheet .

      Could you try to check the screen group in loop and made it display .

      And you are telling you need validation on weeks either 8 or 4 weeks .So We must have some importing field to check the number of weeks .

      So check the value and then only raise the error message .

      Are you not able to find any imprting paramters to check 8 or 4 weeks ?

      Thanks

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.