User exits in CAT2
Hello,
In short: In CAT2, is there an exit to intervene on the default lines that the system reads from HR master data?
My situation is the following:
When a user fills in his timesheet in CAT2 and hits ENTER key, the system will match up that line with the user's timesheet defaults in his HR master data.
If the user has two default lines, the system may not pick the one expected because, for example, the purchase order in the default line is closed.
The objective is to pick the line anyways and issue an error ("PO is closed").
Any ideas?
I hope I was clear...
Hi
Hope u can use this exit
CATS0001 EXIT_SAPLCATS_001(Set up worklist).
Since i did not work on this i am not sure about the usage. If possble please try and see.
regards
gv
Similar Messages
-
Changing emp time data in CATSDB - user exit for CAT2?
Hi experts,
My requirement is to change the wage type against which the employee working hours gets stored in CATSDB table.
I understood that through CAT2 tcode, the data is getting stored in CATSDb table.
So can anyone tell me the user exit or Badi which will get trigger on SAVE of the CAt2 transaction.
or else, in what way i can achieve my requirement? Pls suggest.no Idea
-
Hi All,
I am working on CATS. In CAT2 transaction, data is accessed from infotypes based on reporting hierarchy.
But I want to display data in CAT2 transaction from custom table. I have changed personnel selection program RPLFST01 but it is not showing me all employees from custom table. Some employees are rejected due to authorizations given to supervisors.
Can anyone please help me in this issue? I have checked all user exits. But all are trigerring in data entry screen. I want to change data in initial screen of CAT2 transaction.
Appreciate your early help...
Thanks & Regards,
MadhuraTransaction Code - CAT2 Time Sheet: Maintain Times
Exit Name Description
CATS0001 CATS: Set up worklist
CATS0002 CATS: Supplement recorded data
CATS0003 CATS: Validate recorded data
CATS0004 CATS: Deactivate functions in the user interface
CATS0005 CATS: Customer field enhancements
CATS0006 CATS: Validate entire time sheet
CATS0007 CATS: Subscreen on initial screen
CATS0008 CATS: Determine workflow recipients for approval
CATS0009 CATS: Customer-Specific Text Fields in Data Entry S
CATS0010 CATS: Customer-Specific Text Fields in Worklist
CATS0011 CATS: Customer functions
CATS0012 CATS: Subscreen on data entry screen
No of Exits: 12
USER EXIT
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sapgenie.com/abap/code/abap26.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
http://www.easymarketplace.de/userexit.php
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sappoint.com/abap/userexit.pdfUser-Exit
http://www.sap-img.com/ab038.htm
http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
USER EXIT
http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
http://www.sap-img.com/abap/what-is-user-exits.htm
http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
Rewards if useful.........
Minal -
Hello,
We have added a custom field (say cust01) to the CAT2 transaction to enter working time and it works fine. However, when absences are entered, we would like to have this cust01 values at the staging table. But based on certain situation we do not want it to be transferred to the time infotype.
Is there any user-exit to analyze the data in staging tables like PTEX... and decide what needs to be transferred to the infotypes.
Thanks in advance for all your information.
Regards,
saploverHi,
Check this thread for the user exits in CATS.
Re: User exit in CAT2
Regards,
Manoj. -
A user exit field in CJ20n to display in CAT2.
Hi;
Let me define my problem. I have a field in CJ20n which is created by user exit in the activity level. The name of the field is "Effort to complete ".
I want to show the value of this field in the CAT2 transaction in the "TOTAL" field or in a better way in an additional field (column) in the upper pane.
Is it technically possible ?
Kind Regards.
Erkan.Activate Enhancement CATS0005 (SMOD) in a customer project (CMOD)
- Add your field to CI_CATSDB, add field to customer screen disabling input and perform minimum development required in EXIT_SAPLCATS_005, EXIT_SAPLCATS_008 and global data include ZXCATTOP (as you wont actually manage this field here)
Activate Enhancement CATS0002 in the same project or another
- In exit EXIT_SAPLCATS_002 fill your field
Regards,
Raymond -
User Exit needed at PBO for transaction code CAT2
Hi all,
I'm enhancing CAT2 screen for the client. I've created a new field for CAT2 -> Data Entry Section and have made that field visible via config. I would like to implement a search help for my new field and would like to manipulate the search help via abap code. I understand that there's a whole list of CAT2's user exit that can be used. However, i need an user exit that is triggered before the Data Entry Section screen appear which is the PBO. I'm not allowed to modify the SAP Standard program and therefore i'm using the user exit.
I've tried SAP Enhancement CATS0005 but it is not triggering my ABAP Code before it enters the Data Entry Section screen. Kindly assist to advice is there's any particular User Exit that i can use for my purposes or another workaround.
Regards,
LooI don't think there is one, but you may either implement an implicit enhancement option (routine GET_NEXT_NUMBER in program SAPLSTRD), or make a custom program which creates transport requests (it is then easier to get the number).
-
Hi Experts,
The requirement is in CAT2 transaction we need to filter wage type field depending upon user.
Need the user exit for the same.
Thanks,
Subhashree.Hi,
Try Using this CATS0003 CATS: Validate recorded data
CATS0005 CATS: Customer field enhancements.
If not you can also try to to enhance using programs ZXPADU01,ZXPADU02
Regards,
Adil -
Need user exit and runtime structure to get all the unsaved entries in CAT2
Hi Friends
As per our requirement, we need to compare all the entered hours from CAT2 vs Project level assigned hours.
If user save the record in CAT2, then no problem.I can get the records from CATSDB table.If user enter the record in first week and goes to next week without saving time entries in CAT2, Runtime structure catsd_imp-sumdays in user exit CATS0009 shows the current screen hours only.But I want to get all the entries entered in CAT2(Unsaved records).Is there any other user exit or badi available to get this functionalites.I tried with CATS0006 ,CATS0003 and so many user exits.But still I didnt get any solution for this.
If anyone come accross this kind of scenario,kindly help me on this.
Thanks
Gowrishankar
Edited by: gowrishankar p on Nov 1, 2010 2:24 PMHi
I didn;t find any badi for this transaction , check this onc CATS0010 once.
Regards
Siva -
Hi,
I need to add fields (lastname, firstname) in the CAT2 time sheet. I have already added fields in CATSDB using user exit '0005'. The fields are comming to the fields. Now I need to get the values of the corresponding records in the time sheet. I tried to use user exit '0002', but it did not work.
Could you please give me suggestion in this regard.
LokmanHI
GOOD
HEREWITH SOME USEREXITS OF CAT2, TRY THEM WITH YOUR REQUIREMENT.
CATS0001 CATS: Set up worklist
CATS0002 CATS: Supplement recorded data
CATS0003 CATS: Validate recorded data
CATS0004 CATS: Deactivate functions in the user interface
CATS0005 CATS: Customer field enhancements
CATS0006 CATS: Validate entire time sheet
CATS0007 CATS: Subscreen on initial screen
CATS0008 CATS: Determine workflow recipients for approval
CATS0009 CATS: Customer-Specific Text Fields in Data Entry Section
CATS0010 CATS: Customer-Specific Text Fields in Worklist
CATS0011 CATS: Customer functions
CATS0012 CATS: Subscreen on data entry screen
THANKS
MRUTYUN -
User Exit Validation for CAT2 using CATS0003
Hi all,
I am using the user exit CATS0003 to validate the receiver cost center, receiver fund, receiver order and the receiver functional area.That is if any one of this fields are initial it will give an error message.
But when I try to change an existing record and try to change the order number (say if its blank - some records are with with blank internal order nos since we just implemented this validation , and I try to input a value in the time sheet ) and when I do check for errors it is still giving out the error message which it is supposed to give when all the fields are initial.When I debug I dont see my order number value which I gave on the time sheet
entry.the filed is just blank/initial so its giving my error message.
I am wondering is there any other user exit should we use to get the changed value to the user exit? If so please let me know.
Please help and thanks in advance.Following is my code
CHECK fields-workdate >= '20060701'.
Regular time
IF ( fields-awart = '1000' OR
fields-awart = '1030' OR
fields-awart = '1035' OR
fields-awart = '1180' OR
fields-awart = '1250' OR
fields-awart = '2000' OR
fields-awart = '2005' OR
fields-awart = '2010' OR
fields-awart = '2015' OR
fields-awart = '2020' OR
fields-awart = '2025' OR
fields-awart = '2030' OR
fields-awart = '2035' OR
fields-awart = '2045' OR
fields-awart = '2055' OR
fields-awart = '2060' OR
fields-awart = '2065' OR
fields-awart = '2070' OR
fields-awart = '2080' OR
fields-awart = '2085' OR
fields-awart = '3000' OR
fields-awart = '3005' OR
fields-awart = '3010' OR
fields-awart = '3015' OR
fields-awart = '3020' ).
no additional account assignments are allowed.
IF ( fields-rkostl <> 0 OR
fields-raufnr <> 0 OR
fields-fund <> 0 OR
fields-func_area <> 0 ).
MESSAGE e027(zmps).
ENDIF.
Extended hours
ELSEIF ( fields-awart = '1020' OR
fields-awart = '1040' OR
fields-awart = '1050' OR
fields-awart = '1060' OR
fields-awart = '1070' OR
fields-awart = '1080' OR
fields-awart = '1090' OR
fields-awart = '1100' OR
fields-awart = '1110' OR
fields-awart = '1120' OR
fields-awart = '1130' OR
fields-awart = '1140' OR
fields-awart = '1150' OR
fields-awart = '1170' OR
fields-awart = '1190' OR
fields-awart = '1200' OR
fields-awart = '1210' OR
fields-awart = '1220' OR
fields-awart = '1230' OR
fields-awart = '1240'). " OR
Give error message when ( Cost center or Fund or Function area ) or
( Cost center or Fund or Function area or Internal order ) is initial.
IF fields-workdate >= '20080705'.
IF ( fields-rkostl IS INITIAL OR fields-fund IS INITIAL OR
fields-func_area IS INITIAL OR fields-raufnr IS INITIAL ).
MESSAGE e030(zmps).
ENDIF.
ELSE.
IF ( fields-rkostl IS INITIAL OR fields-fund IS INITIAL OR
fields-func_area IS INITIAL )." OR fields-raufnr IS INITIAL ).
MESSAGE e028(zmps).
ENDIF.
ENDIF.
ENDIF.Looks like the error checks are being made before the values are transferred from screen to internal table and work area.
If you get the blank value for the field, also try to use function module DYNP_VALUES_READ to read values from screen field inside the user exit. If it comes back with value, validate against that value.
Edited by: Sharad Agrawal on Aug 7, 2008 2:41 PM -
User exit in CATS_APPR_LITE
When transaction CATS_APPR_LITE is executed, the selection is done on the whole population.
We want however to restrict the used population: when executing CATS_APPR_LITE, a Time Approver should only see the employees for whom he is allowed to approve time.
Our implementation proposal is to use a user exit in CATS_APPR_LITE that calls a custom z-table (maintained in a custom transaction) containing for every employee (PERNR) who are his time approvers (one time approver and two back-ups) for a certain period in time.
Our questions are:
- which user exit is there available in CATS_APPR_LITE to call this custom z-table?
- do you suggest a different method?
Thanks in advance!
Best regards,
Vincent MahyHi Vincent
There seems to no user exits to the transaction mentioned. But there is a BADI CATS_REPORTING which is getting triggered while executing the tcode mentioned. Below are some of the methods which could be implemented, please sit with a ABAPer and check which one best suits your requirement,
APPROVE_CATS_CLASSIC Automatic Approval of a CAT2 Data Record?: Yes/No
APPROVE_CATS_SERVICE_PROVIDER Automatic Approval of a CATSXT Data Record?: Yes/No
APPROVE_TRIP Automatic Approval of a Trip?: Yes/No
AT_SELECTION_SCREEN PAI for Selection Screen
AT_SELECTION_SCREEN_OUTPUT PBO for Selection Screen
AUTH_CHECK_CATS_CLASSIC Authorization Check for Working Time Data (CAT2)
AUTH_CHECK_CATS_SERVICE_PROV Authorization Check for Working Time Data (CATSXT)
AUTH_CHECK_TRIP Authorization Check for Trip Data
BEFORE_CATS_DATA_SELECTION Before Selection of CATS Data from Database
BEFORE_DISPLAY Working Time Data before Display on Screen
BEFORE_DISPLAY_APPR Working Time & Trip Approval Before Display on Screen
BEFORE_DISPLAY_DTL Working Time Details Before Data Display
BEFORE_TRIP_DATA_SELECTION Before Selection of Trip Data from the Database
CATS_DATA_SELECTED Process Selected CATS Data
DOCUMENT_FLOW_SELECTED Provide Selected Document Flow Data
INITIALIZATION Report Initialization
LOAD_OF_PROGRAM Constructor for BADI
START_OF_SELECTION Start of Report Processing
TRIP_DATA_SELECTED Process Selected Trips
Regards
Ranganath -
Hi Guys,
I have two custom fields in my CATS time sheet called Zclock1 and Zclock2. For a record that already exists I need to pre-populate these fields when I open the time sheet for an employee using CAT2, Which user-exit should I use?
I tried CAT0002 but this one will trigger only at the time of creating a new record or modifying an existing record.
Thanks,
Royhi Avisek Bhardwaj,
i want to change the data when i use CAT7 to transfer data to CO, before CO document created i must delete some dummy WBS element in a certain user-exit, so i need to find this user-exit to process the data,
i've checked the enhancement CATS0002, but it isn't what i want,
i've found one user exit PCA00001--EXIT_SAPLPC02_001(EC-PCA: Changes to Document when Transferring CO Actual Data)
i do delete dummy wbs element in this user exit but when transferring is finished, i find that the dummy wbs element still appears in the co document. it looks like that user exit doesn't work.
i don't know why,
regards,
buffer -
Hi Gurus,
I need to validate a field in cat2 transaction for a field . if the user enters a value other 1 then i need to validate that field providing an warning message "Number of days should not exceed 1 for a given date".
and then user should input the proper value (i.e, 1).
I incorporated this validation in User Exit CATS0002 CATS: Supplement recorded data.
in which i need did the validation for enrich_table-catsquantity as mentioned below.
IF enrich_table-catsquantity > 1.
MESSAGE w667(lr) WITH 'No.of days'
'should not'
'exceed 1 for'
'a given date'.
ENDIF.
1. If this condition becomes true the message will be triggred. then after executing this message staement will it alow the user to enter proper value ?
2. any other method of validating ?
Please help regarding this.
Thanks
ramuHi Kiran,
This sounds very interesting to me and I would like to learn more about the use case.
But first I need more information about your system landscape.
Do you run the use case on NW 70 EhP 1 or 2?
I strongly recommend NW 7.0 EhP 2 and I am convinced you get it done easily with BRFplus.
Calling BRFplus rules can be achieved by RFC or WebService call or locally in ABAP. Maybe take a look at a package called SFDT_DEMO_OBJECTS.
BR,
Carsten -
ESS CATS user exit not triggered
Hi,
I am making some validations on the time sheet using enhancement cats0006, but that user exit is not triggered in the portal, in ESS.
I have my project activated through tr. CMOD, the user exit is triggered in R/3 using transaction CAT2.
What could be the reason ?
Thanks,
Stefan
Edited by: Stefan Kolev on Jan 24, 2012 10:51 AMSolved
-
Hi,
I understand that the system automatically check the payroll correction indicator but I was wondering if we can implement a user exit that check the "Earliest master data change since last payroll run" in IT0003 (P0003-RRDAT).Hi Vivek,
Thanks for the quick answer. I fully understand what you said but i have another problem. Let me explain.
After a input throught CAT2, the system trigger a PDC recalculation for time, the check for Payroll correction and the earlier master data change since last payroll run. We didn't execute time evaluation (PT60) before Releasing the payroll. Just after release, we execute the payroll, so the check for payroll correction and the earlier master data change disappear. it's the right behavior for sure. But by doing so, the system never trigger the time change via PDC recalculation because we did't run time evaluation. I know that it's more a process thing. then we put the payroll in correction and run the time evaluation. The system trigger the earlier master data change but doesn't trigger the payroll correction check (which is only trigger thru infotype). In that case, when we exit the payroll the system doesn't check that employee.
I would like to use a exit that check the earlier master data change before exiting payroll for that kind of process problem.
regards,
Sebastien
Maybe you are looking for
-
Received photo via text, how do I save it in photo gallery?
I received a photo by text. How do I save it to photo gallery?
-
Hiding the some fields in print PDF adobe form
Hi all Im working on travel expense form in webdynpro ABAP.I have a requirement of hiding some field in the adobe form.Can anyone tell me how to proceed ? Thanks and Regards Reeha
-
Westinghouse 32w3 LCD HDTV + Intel MacBook 1G Problem
I just bought the DVI cables for my macbook, so I can watch dvd's 'n stuff on ye olde tv. Unfortunately, when I set the TV to it's highest progressive resolution (1360x768) the image on the tv is shifted to the left AND there is a weird vertical bar
-
Output device-adobe doc services
Hi , i need an output device to be configured for adobe document services in SAP ECC 6.0. this output device is used for adobe forms. tell me which printer need to be configured in SAPD transaction. with regards, ravi valluri.
-
I know most would have thought about this subject but what are people using for long term image storage. I am getting toward 35gigs of images and for a long time used an external Firewire Mirror RAID to ensure I do not put my images at risk. But this