Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3570

Re: ODataModel.callFunction not triggering the odata call to backend

$
0
0

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


Viewing all articles
Browse latest Browse all 3570

Trending Articles