cancel
Showing results for 
Search instead for 
Did you mean: 

Problem: Extend ODATA service Approve Timesheet show new field

Former Member
0 Kudos

Hello Experts:

I am having a problema with the extension of an ODATA for showing a new field in the APPROVE_TIMESHEET APP. I want to add new field information in the details table of the app.

First thing I have done is to extend the corresponding ODATA service of APPROVE TIMESHEET app in the SEGW transaction, in the correct entity TIME_DETAILS_EMP, adding my new field, called ZZ_STATUS_HR.

After that I have added in the corresponding structures with an APPEND structure the new field.

After that in the WEB IDE I add the column and the cells in the extension points SAP indicates for this App. Replacing the S3view I obtain the titles in the extension point of “columns” section but I can’t see my added information for the table in the “cells” section. Here is the code in the WEB IDE:

Then I put a breakpoint in the clas CL_HCM_TIMESHEET_APPRO_DPC_EXT in the method TIME_DETAILS_EMP_GET_ENTITYSET to check if the table is has data to show in detail view.

I can see that ZZ_STATUS_HR field has data but I cannot see in the app

Here we can see the result in the fiori app without my Z field ZZ_STATUS_HR

I have left any step in the process?

Thank you very much for your help

Best Regards

Accepted Solutions (0)

Answers (2)

Answers (2)

Sab
Explorer
0 Kudos

Hi Mart,

Were you able to sort this out? Can you help with the solution you followed. We have a similar issue and exactly the same situation as yours.

Thanks

Sab

0 Kudos

This message was moderated.