Hello Experts ,
I am currently experiencing an issue in Posting data to TimeAccountDetail Odata API .
When I try it through Postman it seems to work fine..
I get com.sap.gateway.core.ip.component.odata.exception.OsciException when I try posting it through SAP CPI. I believe the issue is with the date format.
I am passing the below payload
<?xml version="1.0" encoding="UTF-8" standalone="no"?><TimeAccountDetail><TimeAccountDetail><TimeAccount_externalCode>614dbcc89cb843129b5c3be26dbd2a22</TimeAccount_externalCode><externalCode>MyTimeAccountDetail</externalCode><bookingUnit>HOURS</bookingUnit><referenceObject>null</referenceObject><employeeTime>null</employeeTime><bookingAmount>20.0</bookingAmount><comment>This is my test leave</comment><bookingType>MANUAL_ADJUSTMENT</bookingType><bookingDate>/Date(1492098664000)/</bookingDate></TimeAccountDetail></TimeAccountDetail>
I have attached the Odata adapter settings
Can you please let me know if I have missed something in the set up.
Appreciate your support