cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Issue with External Data Resource Not Returning Data in CDS View after Adding to Project

mostafa4
Explorer
0 Likes
325

Hi, I am facing an issue with fetching external data from the SAP system’s catalog of services.

Here’s the scenario:

  1. I added the service by creating a new service of type ABAP catalog and connected it using on-prem connection through Cloud Connector. Once created, a destination was generated 

  2. destination.PNG

     

  3. Then, I went to the Storyboard and added an external resource from the SAP system. I selected my service ZC_PURCHASEORDER_FS_SRV. In this step, I can see the live data,Capture.PNG

  4. After that, I pressed "Add to Project".

  5. I created a service and imported a projection using the CDS file created in the external service.

  6. When I run the project using CDS W, I get no data returned.Capture1.PNG

  7. mostafa4_0-1744036896528.png

     

So, I’m wondering if I missed a step or if there’s something else that could be causing the issue as it worked with me in sap build apps. Has anyone encountered a similar issue, or could you point out what I might be doing wrong?

Thanks in advance for your help!

Accepted Solutions (0)

Answers (1)

Answers (1)

markwright1967
Explorer
0 Likes

Hello ,

Did you get any answers on this? I have the same problem. In the Logs I see that I get no connection to the External source and see that Mocking is set instead, which is different that that in the Video. This then gives as you have also posted : 

{"@odata.context":"$metadata#A_SalesOrder","value":[]}
Kind regards
 
Mark