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

Enhancement of the transaction CAT02

I need to add the filed u201CBank OT Hoursu201D as Display Only in transaction CAT02 and add the Scheduled (WT 1051)and Unscheduled OT(WT 1052) hours from infotype 0008 to the "Bank OT Hours"

When the employee press <Enter> to complete time entry, accumulate all the hours entered against A/Atype(AWART) 3001 and 4001. Deduct the accumulated total OT hours from the "Bank OT Hours". Update the u201CBank OT Hoursu201D Display value with calculated value (after substraction)

If the u201CBank OT Hoursu201D is less than 0, create an entry in timesheet with A/Atype(AWART) 3999 and hours in excess of Bank OT (the negative hours).

Please help him out ASAP

Regards

Nagendra

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • Best Answer
    Posted on Aug 25, 2008 at 11:59 AM

    I recommend you to real the documentation in the (IMG) Customizing.

    Regards

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Raymond Giuseppi

      1.I am using CAT2 Transaction only and change mode only,

      2. Now the customer enhancement field in CATSDB table. i neeed to develop the program for updating new field in CATSDB table and execute this program before run the transaction CAT2.

  • author's profile photo Former Member
    Former Member
    Posted on Aug 25, 2008 at 11:56 AM

    sorry the transaction code is CAT2

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 31, 2008 at 02:11 AM

    Hi Nagendra,

    I'm facing the same problem with you. Thought you have already resolved this problem. Would you please kindly let me know which userexit or badi is available for passing the value into CATSDB table customer field. I was trying CATS0002 component EXIT_SAPLCATS_002 but it won't be triggered.

    Any sugeestons would be highly appreciated, thanks in advance.

    Rgs, Michelle

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 31, 2008 at 08:50 AM

    Hi,

    you want to add the filed in header level or item level in transaction CAT2.

    if you want add custom filed in item level use the transaction codes CAC2 and CAC5 and CATS0002 , Include name is ZXCATU02 and strcucture CI_CATSDB.

    or if you want to add the field in header level use CATS0012, Include name is ZXCATU13 and Screen exit name is SAPLXCAT with screen number 3000.

    Code in CATS0002:

    DATA: ENRICH_WA like CATS_COMM.

    CLEAR: ENRICH_WA.

    ENRICH_WA = ENRICH_TABLE.

    MOVE '567' TO ENRICH_WA-zzbank.

    MODIFY ENRICH_TABLE FROM ENRICH_WA INDEX 1.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 31, 2008 at 09:42 AM

    Hi Nagendra,

    Thank you for your quick reply. I was trying to add one customer field to show the WBS element desc in the worklist in CAT2. Another userexit CATS0010 CATS: Customer-Specific Text Fields in Worklist is available for display-only purpose. It works! Problem resolved.

    Rgs, Mic

    Add a comment
    10|10000 characters needed characters exceeded

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.