Hi Jun,
Thanks for your response!
Yeah. I tried without front slash '/' also as suggested by you. It is not working.
oDataModel.callFunction("createEmpId", {
method: "GET",
urlParameters: oUrlParams,
success: fnS,
error: fnE });
Previous to this callFunction, I am triggering read call. The read call is working fine.
oDataModel.read("/ET_EmployeeSet", null, null, false, fnSuccess, fnError);
PC: I am using the below odata control,
var oModel = new sap.ui.model.odata.ODataModel("<domain>/sap/opu/odata/sap/ZOD_EMPLOYEE_SRV");
Thanks & Regards,
Vignesh