Hello,
in my Gateway service, I have a function import CheckLeaveRequest which, among others, has the input parameter StartDate of type Edm.DateTime:
The service was generated when we were still on GW 2.0 SP6. Back then, everything worked fine when calling the function import
...CheckLeaveRequest?StartDate=datetime%272014-07-31T00%3A00%3A00.000%27&...
Later, we updated to SP7. By then, the function import was still working correctly as long as the service was no regenerated!
However, if the service is generated now, the function import does not work anymore, because the date and time input parameters are not getting converted! The input of method EXECUTE_ACTION now looks like this:
Before, in line 2 the value was already in internal ABAP format: 20140731.
Things I already tried that didn't help:
- Update to GW 2.0 SP8
- Use data element TIMESTAMP instead of BEGDA
- Use Edm.Date instead of Edm.DateTime - that gave a syntax error in the model class (I guess because Edm.Date isn't supported anymore)
What is the trick to make the Gateway Framework convert my request parameters again?
Thanks,
Björn