on 02-22-2021 12:10 AM
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
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.