Hi experts,
I'm now facing the following error to read the data from the data store in scpi.
Please let us know how to fix it.
com.sap.it.rt.adapter.http.api.exception.HttpResponseException: An internal server error occured: com.sap.it.api.asdk.exception.DataStoreException: java.sql.SQLException: JZ0TO: Read operation timed out.
Here is my groovy script where the read operation issue. The error occurred at the last of line "service.put(dBean,dConfig)".
def service = new Factory(DataStoreService.class).getService();
if(service == null){
throw new Exception("Data Store Service not found");
}
def dBean = new DataBean()
dBean.setDataAsArray(msgText.getBytes("UTF-8"));
def dConfig = new DataConfig()
dConfig.setStoreName(dsName)
dConfig.setId(msgId)
dConfig.setOverwrite(true)
service.put(dBean,dConfig)
Best regards,
Nyein