Skip to Content
0
Jan 25, 2020 at 05:39 PM

smartform pdf display sapui5 /error : no handler for data

602 Views

Hi UI5 and Odata Masters,

I am trying to Implemented SAPUI5 Smartform PDF display, when I call the OData I am getting below error, however in SAP ECC(Hub System) with the same call OData I am able to get PDF as file(Popup-->open).

below is the Read I am performing

var sRead = "/pdfSet(customer='" + value + "')/$value";

oModel.read(sRead, { success: function (oData, oResponse) { alert("Read Sucess”); },

error: function (oerror) { alert("Read failed"); } });

I have followed the below Link and Implemented Smartform PDF display SAPUI5 and Implemented

Improved and Recommended approach to Display PDF. The same error is also posted by “Mathias” in the same block.

https://blogs.sap.com/2014/02/03/display-smartform-pdf-in-sapui5/

Can any please help me .