ESS CATS User Exit
Hi ,
We are using ESS - Record Working Time service to track employee time.
We have used CATS user exits CATS0006. The standard ESS functionality calls this user exit on "check" , "save", "release" "refresh" actions on ESS screen. So the functionality in the user exit is executed multiple times and this does not work in our scenario.
Is a way to perform certain actions upon saving the time to the database from ESS ?? or how can I distinguish between "check" and "save" actions in the user exit.
Pat.
Hi Pat,
You may simply check SY-UCOMM to determine which action has generated the execution of your User Exit.
The value of this system variable will provide you the information of function that was called by the user.
Cheers,
Thierry Bodson.
Similar Messages
-
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 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 -
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. -
Hi All,
I am new to Portal and ESS but need to duplicate a user exit we have on PA30..
I.e. we have an exit that catches when a users benefits are updated and loads a custom table, as well as a few other things, i was hoping the when this info was updated on ESS that it would fire the same exit, but it does not it is directly getting updated without trapping the user exit.
So thoughts on what exit ESS calls when you update PA30 info?
Thanks!
-Jasoni did try implementing that badi, as well as HRPAD00INFTYBL
but i am finding that they only catch on the review and modify step, not the save step.. i may be using the wrong method, but i don't think so.
-Jason -
Hi all,
where do i find user exit for CATS related transactions?
i.e. suppose i want to see CATS0003; how and where do i check that???Create a report with following code. This will give you user exits and BADIs for the given tcode.
*& Include Z_FIND_USER_EXITS
REPORT Z_FIND_USER_EXITS.
TABLES : TSTC,
TADIR,
MODSAPT,
MODACT,
TRDIR,
TFDIR,
ENLFDIR,
SXS_ATTRT,
TSTCT.
DATA : JTAB LIKE TADIR OCCURS 0 WITH HEADER LINE.
DATA : FIELD1(30).
DATA : V_DEVCLASS LIKE TADIR-DEVCLASS.
PARAMETERS : P_TCODE LIKE TSTC-TCODE,
P_PGMNA LIKE TSTC-PGMNA .
DATA wa_tadir type tadir.
Start of Selection
START-OF-SELECTION.
IF NOT P_TCODE IS INITIAL.
SELECT SINGLE * FROM TSTC WHERE TCODE EQ P_TCODE.
ELSEIF NOT P_PGMNA IS INITIAL.
TSTC-PGMNA = P_PGMNA.
ENDIF.
IF SY-SUBRC EQ 0.
SELECT SINGLE * FROM TADIR
WHERE PGMID = 'R3TR'
AND OBJECT = 'PROG'
AND OBJ_NAME = TSTC-PGMNA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
IF SY-SUBRC NE 0.
SELECT SINGLE * FROM TRDIR
WHERE NAME = TSTC-PGMNA.
IF TRDIR-SUBC EQ 'F'.
SELECT SINGLE * FROM TFDIR
WHERE PNAME = TSTC-PGMNA.
SELECT SINGLE * FROM ENLFDIR
WHERE FUNCNAME = TFDIR-FUNCNAME.
SELECT SINGLE * FROM TADIR
WHERE PGMID = 'R3TR'
AND OBJECT = 'FUGR'
AND OBJ_NAME EQ ENLFDIR-AREA.
MOVE : TADIR-DEVCLASS TO V_DEVCLASS.
ENDIF.
ENDIF.
SELECT * FROM TADIR INTO TABLE JTAB
WHERE PGMID = 'R3TR'
AND OBJECT in ('SMOD', 'SXSD')
AND DEVCLASS = V_DEVCLASS.
SELECT SINGLE * FROM TSTCT
WHERE SPRSL EQ SY-LANGU
AND TCODE EQ P_TCODE.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) P_TCODE,
45(50) TSTCT-TTEXT.
SKIP.
IF NOT JTAB[] IS INITIAL.
WRITE:/(105) SY-ULINE.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
Sorting the internal Table
sort jtab by OBJECT.
data : wf_txt(60) type c,
wf_smod type i ,
wf_badi type i ,
wf_object2(30) type C.
clear : wf_smod, wf_badi , wf_object2.
Get the total SMOD.
LOOP AT JTAB into wa_tadir.
at first.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 SY-VLINE,
2 'Enhancement/ Business Add-in',
41 SY-VLINE ,
42 'Description',
105 SY-VLINE.
WRITE:/(105) SY-ULINE.
endat.
clear wf_txt.
at new object.
if wa_tadir-object = 'SMOD'.
wf_object2 = 'Enhancement' .
elseif wa_tadir-object = 'SXSD'.
wf_object2 = ' Business Add-in'.
endif.
FORMAT COLOR COL_GROUP INTENSIFIED ON.
WRITE:/1 SY-VLINE,
2 wf_object2,
105 SY-VLINE.
endat.
case wa_tadir-object.
when 'SMOD'.
wf_smod = wf_smod + 1.
SELECT SINGLE MODTEXT into wf_txt
FROM MODSAPT
WHERE SPRSL = SY-LANGU
AND NAME = wa_tadir-OBJ_NAME.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
when 'SXSD'.
For BADis
wf_badi = wf_badi + 1 .
select single TEXT into wf_txt
from SXS_ATTRT
where sprsl = sy-langu
and EXIT_NAME = wa_tadir-OBJ_NAME.
FORMAT COLOR COL_NORMAL INTENSIFIED ON.
endcase.
WRITE:/1 SY-VLINE,
2 wa_tadir-OBJ_NAME hotspot on,
41 SY-VLINE ,
42 wf_txt,
105 SY-VLINE.
AT END OF object.
write : /(105) sy-ULINE.
ENDAT.
ENDLOOP.
WRITE:/(105) SY-ULINE.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No.of Exits:' , wf_smod.
WRITE:/ 'No.of BADis:' , wf_badi.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(105) 'No userexits or BADis exist'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(105) 'Transaction does not exist'.
ENDIF.
AT LINE-SELECTION.
data : wf_object type tadir-object.
clear wf_object.
GET CURSOR FIELD FIELD1.
CHECK FIELD1(8) EQ 'WA_TADIR'.
read table jtab with key obj_name = sy-lisel+1(20).
move jtab-object to wf_object.
case wf_object.
when 'SMOD'.
SET PARAMETER ID 'MON' FIELD SY-LISEL+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
when 'SXSD'.
SET PARAMETER ID 'EXN' FIELD SY-LISEL+1(20).
CALL TRANSACTION 'SE18' AND SKIP FIRST SCREEN.
endcase. -
Hello,
Could someone please provide sample code for CATS user-exit components
EXIT_SAPLCATS_005 and EXIT_SAPLCATS_008. I have added a field ZZFIELD1 on CATS screen but it is not transferring the data to infotype 2002.
Thank you in advanvance for all your assistance.
saploverthe fields are visible in catsdb
in spro you can add the CI_CATSDB fields to the workarea or with tcode CAC2
and the fields are also visible in the structures that are passed to and from the user exits
but I don't have you're user exit implemented here so I can't check it
kind regards
arthur de smidt
Edited by: A. de Smidt on Jul 24, 2008 1:14 PM
Edited by: A. de Smidt on Jul 24, 2008 1:15 PM -
Hi all,
first of all, I'm not quite sure if this is the right forum, but I'll give it a try anyway. When using ESS / MSS Web Dynpro for entering hours in CATS it seems that none of the user exits, which were created for entering hours in CATS via SAP GUI, are 'used'.
Do we have to do some additional settings, or is this a WD problem in general, or......?
Kind regards,
Micky.Cleaning up my (unresolved) questions.
-
Are there any user exit for ess travel?
Hi all
I want to ask,
are there any user exit for ess travel?
and if I want to know if we already had enhancement for back-end system (sap gui)
is it automatically applicable to ess too?
many thankscheck this
ESS: BAdi for Checking Mileage
Thanks
Bala Duvvuri -
Hi Experts,
Our requirement is to trigger an email notification to the Employee after his time sheet is approved using the CATS approval WF.
We are using the portal to raise the time sheet and approve the same. We want to determine a User Exit/ Badi when the approver clicks on the approved button in the UWL.
We tried looking into the user exits/badi's etc. given but they are defined only for the R/3 system using the CATS transaction and not via the portals.
Could you kindly guide us with any Badi/User Exit that could be used when it is approved via the portal (i.e) when the approver clicks on the approve button in the UWL.
Cheers,
Belinda ClarkeHi,
Are you sure that those possible badis or user exit that you found are not also for Portal? Many times there is no difference whether something is done from backend transaction or a portal application - finally the same code/function is used and thus the same badis & user exits are executed. Of course not always, but plenty of times.
If if you cannot find anything, please check also the possibility to use enhancement. Check which RFC function is called during the approval (put RFC trace on) and put a break point there, and see what the code does and if you could put your stuff into some place.
Pay attention also the CATSDB table. That includes the cats entries and if remember correctly, you can find the work item ID there for each CATS entry. Maybe you can build some kind of report based on this table to send the emails instead of using some user exit or whatever.
Regards,
Karri -
BADI'S & User-Exits for ESS Claims
Hi All,
Can anyone provide me the list of user-exits & BADI that gets triggered when claim is raised from ESS.
Example when user click's on apply button.
I want to do certain validation when employee raises the Claim from ESS.
Useful answer will be rewarded.Solved by my own
-
User exit CATS0003 on loading of record working time screen
Hi Experts
this is continuation to my last thread
ESS CA-TS Missing time sheet,
the requirements remains the same and I just need to confirm below thing
Does cats enhancement user exit CATS0003 will trigger initially at the time of loading the data entry page (record working time screen) in ess? so that before entering the time itself users will get to know that they need to fill previous weeks time before continuing,
experts pls confirm.
JoIf you want the end user to know what attributes to save time on, Try to make use of template
or A worklist!
Other than this you can just use Default values from Cac1 and Infotype 0315, Just check the docs
on this
Also a simple cats0002 can be used to supplement the recorded data -
Hi all
I've got two problems.
1. In the ESS CATS (ESS 60.2) I should close the calendar. It has to be possible to open it when it is needed. Where Can I Do this? I allready searched in den CcCatRcordInterface but I didn't find any code where the state is set.
2. In the Weekview of the cats record part we should have to implement a from and a to time for the time recording. I allredy tried to insert columns and it works, but how can format the cells and how i put also the time data in the backend? Or is it posible to do this settings in teh backend?
We have Portal 2004 SP 17.
Thanks for a quick answer.
pascalHi Sofia
I sent an OSS to SAP. You can't customize it in the backend with Netweaver 2004. All possible user-Exits or BADI's are mostöy for Netweaver 200s Portal.
We also asked developers from SAP. the answer there is that is posible to modify the CATS but it is very complex. How to modify they did not say.
Sorry that I don't have a better answer.
Rg
Pascal -
User exit / BADI for training and event management
Hi all,
Can anybody tell me if there is any user exit / BADI for training and event management module?
Thanks & regards,
LOIHi
BADI's for Training and Event Management
HRTEM00MASTERDATA HR: Training and Event Management - Master Data
HRTEM00NET_ACTIVITY Determine Activities of an Attendee (e.g. ESS PV8I)
HRTEM00NET_WEBST Set Cancellation Reason in ESS PV8I
HRTEM_CORR_NOTIF_REQ Customer Enhancement:Confirmation on Send (R/3 Mail, E-Mail)
HRTEM_HANDLE_BOOKING HR-TEM BAdI: Employee Leaves Company - Update TEM Data
HRTEM_INT_ZW HR-TEM: Badi for Integration TEM - Time Management
HRTEM_READ_OBJECT Customer Enhancement: Name Format
RHPV0001 Customer Enhancement for Additional Checks for Booking
Enhancemnet Spot:
HRTEM00MASTERDATA HR: Training and Event Management - Master Data
~~~Ganesh Kumar K. -
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
Maybe you are looking for
-
Using an iDVD project to create a glass master for replicati
Hello, I hope someone can help me with this question. I am aware that creating a project in DVD studio pro and exporting it to DLT is one way to go for a media source that can be used by a replication company to create a glass master for replication.
-
Show portal top level navigation in tab format to a tree fromat
hi all, whn i assign roles to the portal they are displayed in the top level navigation in the tab format.'' Inspite of showing it in the tab format i want to show it in left croner in the tree format >role1 >attri1 >attri2 >role2
-
I keep getting a warning message when I log in that tells me: Could not look up internet address for archlinux. This will prevent Xfce from operating correctly. It may be possible to correct the problem by adding archlinux to the file /etc/hosts o
-
Is there any FM/User Exit exits in the name "CONVT_NO_NUMBER "
Hi All, Is there any FM/User Exit exits in the name "CONVT_NO_NUMBER " 4.6C and 4.6B version? Thanks
-
Podcasts not playing after iOS8.2 update
I bought my iPhone 6 in December and have been using it happily to play podcasts in the car using a USB cable. All this changed after the iOS 8.2 software update. My car claimed there was no media connected when I plugged my phone in. If I tried play