Skip to Content

Unable to get the data in front end in SAP UI5

Hi All,

I am using SAP UI5(Eclipse) to display front end data from my ECC system.

Currently, I am able to see my table, but the problem is that my table is empty. Although when i execute this in backend ( SEGW tcode ), I am able to view my data in XML format.

Also, I am able to view my data through the URL that I am passing to my service variable in the browser. The problem comes when I use my BSP application to execute the data. I can see the mentioned error in debug mode -

"The following problem occurred: Invalid metadata document200,OK,<html><head><link rel="icon" type="image/ico" href="/sap/public/bc/ur/Login/assets/favicon.ico"><style type="text/css">#lifestyle { float:left; border:0; margin:0; padding:0;}#SLB_contentcell { background: #ffffff; width:100%;}#SLB_infobox{ overflow-x: auto; width: 290px;}#boxcontent { margin-left:335px;/* width of the lifestyle photo + 40 pixels for gutter space */ padding:0;}#dynamiccontent{}#dynamiccontent #titlegraphic { padding:0; margin:0;}#dynamiccontent p { margin-top:0;}#copyright { margin-top:20px; height:27px; position:relative;}#copyri.........................."

view.png browser-view.png result.png index.png segw-screenshot.png

I have attached few images. please help me in this.

Regards

Meenakshi Raina

view.png (56.8 kB)
browser-view.png (110.5 kB)
result.png (13.5 kB)
index.png (31.9 kB)
segw-screenshot.png (526.8 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Mar 08, 2017 at 05:47 AM

    just deploy to the abap server to run.

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 09, 2017 at 09:24 AM

    I think you can deploy with help of se38 tcode also, check below link may help you.

    how-to-deploy-sapui5-application

    Add comment
    10|10000 characters needed characters exceeded

    • Meenakshi, we need to check the service response in the network tab, whether that particular service pulling the records from backend or getting any error message, based on that response we can analyse it. So select that service in the network tab and share the response details only.