cancel
Showing results for 
Search instead for 
Did you mean: 

How to Sort CATS WebDynpro TimeSheet

Former Member
0 Kudos

Today in the ESS Portal record working times,  when an entry is made using employee timesheet, it always moves to the end of the day.  It seems to sort by last entry put in, gets pushed to the bottom of the day.   Is it possible to sort the timesheet by start time within a day?  The Start Time does not appear as a possible sort value.  Is there a modification or some configuration I am missing?

Accepted Solutions (0)

Answers (2)

Answers (2)

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

If you want to display Start time you can display it ie clock times in Timesheet using CAC2 customization for the cats profile you are using Can you advise if you are using WDA or WDJ CATS version? for ex http://scn.sap.com/thread/3580954 http://help.sap.com/erp2005_ehp_05/helpdata/EN/75/69f77c6f0743e198218ccc5fdc592a/content.htm

troy_cronin2
Active Contributor
0 Kudos

Hi Keith

I hope you are well and many thanks for using the SAP Discussion Forums .

In relation to your query of being able to sort the timesheet recording kindly take a look at the following documentation:

ESS CATS - WDA - Time Sheet Settings

http://scn.sap.com/community/erp/hcm/employee-self-service/blog/2013/01/24/ess-cats--wda--personal-s...

CATS - Regular Setup & Display

https://help.sap.com/saphelp_erp60_sp/helpdata/en/ef/e18d3f7057eb0ce10000000a114084/content.htm

Lastly in terms of a good point of reference there is also another thread which was previously opened on this particular topic of modifying the time sheet screen. I have outlined it below for your convenience & cross reference:

http://scn.sap.com/thread/2119293

Kindly update me as per your findings.

Kind Regards

Troy Cronin - Enterprise Portal Support Engineer

Follow

Former Member
0 Kudos

Thanks, for the quick reply Troy.

I'm looking specifically to see if you can sort by Date/Start Time within a timesheet.  The links you gave me discuss sorting but not specifics around configuration needed or where code would have to be enhanced to make this happen.

troy_cronin2
Active Contributor
0 Kudos

Hi Keith

No problem at all.

Ok you mentioned specifically wanting to sort by Date/Start Time within a timesheet.

Now there is the enhancement documentation available:

https://help.sap.com/saphelp_46c/helpdata/en/bf/174b6e5733d1118b3f0060b03ca329/frameset.htm

Now based upon my understanding the data is displayed according to the order in which it was recorded, this is the intended system behavior. This is also valid since theCAT2 tcode and also the JAVA WD based version. As the ABAP WD based application reuses the structure, this behavior remains the same. This decision was taken due to performance reasons, now that system works in this way for years and it is accepted for most of the customers, the only way to change this standard system behavior is through SAP User Group or http://ideas.sap.com.

Based upon my research this seems to be the only option. If you want to change this behavior in advance you should enhance the method SORT_TIME_DATA of class CL_XSS_CAT_TABLE_TS_BASE. You might see there the code from Note 1300843, which reinforces that sorting the records on Creation Date, Creation Time is the intended design.

Kindly update me as per your findings.

Kind Regards

Troy Cronin - Enterprise Portal Support Engineer

Follow Troy Cronin