Skip to Content
0
Sep 20, 2023 at 12:17 PM

Target was not found. Cannot read properties of undefined (reading 'getMetadata') Error

368 Views

Hi,

I have created a Fiori List Report using VSCode and have added the functionality to upload an excel file. When I test my application via SE80 then it works fine but when I run the application via the Fiori tile then it throws the following error.

Target was not found. Cannot read properties of undefined (reading 'getMetadata') Error

I used the following blog to enable the excel upload functionality -

https://blogs.sap.com/2022/01/27/excel-upload-using-rap-part-2/

Attaching the screen shots of the how both ways the output is displayed also attaching the developer tool comparision.

comparision-via-fiori-app-vs-test-execution-via-se.jpg

developer-tool-comparision.jpg

Regards

Geet