SAP Timesheet problem
I'm configuring SAP Timesheet and I have a problem: I can see the calendar view correctly, but when i tap on a single day and go to the screen of time entries for that day, i can't see time entries!
I have tested from the Gateway the service and this works:
it gives me list of month days
but this one return nothing (empty list):
If I go in SAP system and test methods in the class /GBHCM/CL_MGW_RDT_TCS they works correctly, giving me list of time entries!
I'm connected in SAP systme with the same user of the RFC connection between Gateway and SAP that execute RFC's...
I have no errors in the gateway error log and no authorization problems (cheched with ST01).
Another problem is whn I try to create a new time entry from the app: it gives me an error, and in the gateway error log I can se an error like this:
Backend error occurred. T100 Info:ZCAT-003.
Piero Silvestrini replied
Ok, I found the cause: debugging the execution of GET_ENTITYSET method of the class that implements the service, I found this code:
* Mobile scenario supports only these entries
CHECK <ls_catsrecord>-wagetype IS NOT INITIAL OR
<ls_catsrecord>-abs_att_type IS NOT INITIAL.
I need a value for one of these filelds, but in the example that I was testing these fields were empty!
I'm asking why SAP doesn't talk about these constraints in the app guide!