Skip to Content
0

Fiori My Timesheet - How to include custom fields that cannot be part of TCAFI

Mar 20, 2017 at 11:54 PM

97

avatar image

Hello, experts.

I am aware that there is a limitation on the number of custom fields to be added to the Time Sheet application to 10 fields for CATSDB since the table TCAFI pretty much dictates it. But CI_CATSDB allows us to add more than that. Since those added fields become part of the 'TimeEntryDataFields' of entity TimeEntry, I am scratching my head to figure out if the steps as described in following site works for me to add the extra fields of CI_CATSDB in the Fiori My Timesheet application:

https://uacp2.hana.ondemand.com/doc/a63e9737464f4675a3f38e829a1c1200/1.0%202016-07/en-US/frameset.htm?1e638f548239c264e10000000a44176d.html

What I experimented to do so far was to enhance two FMs: HCM_HCM_TIMESHEET_GET_TIMEDATA and HCM_CATS_GET_PROFILEFIELD by inserting my logic via implicit enhancement framework. I am able to show my 11th field, save it to CATSDB and even display it on the overview page. But I cannot edit it. My value disappears. I was hoping that there might be an oData service call when I click the record but my F12 troubleshooting tool on Google does not reveal anything to suggest that.

(I raised an OSS message but was simply told that the 10 fields thing was the standard thing and would need to seek for consulting help. But why 10??? Why does SAP hard-code those 10 fields? Unfortunately we cannot reduce the number of our custom fields and need more due to our business reason.)

So... Should I enhance HCM_S_TIMESHEET_TIMEDATA or HCM_S_TIMESHEET_TIMEENTRY_ENTY (what is the difference? I am confused) to add my 11th field even though it is already in the entity?

I was hoping that someone had gone through my problem and had figured out how to resolve it. Please help.... Thank you very much in advance.

Sincerely,

Noriko

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers