Skip to Content
0
Apr 29, 2022 at 01:22 AM

File uploading in DMS via SAP CAP -- Error - File not supported

745 Views Last edit Apr 29, 2022 at 01:36 AM 2 rev

Hello Everyone

I successfully uploaded the file in DMS service using SAP CAP (nodejs) but when I try to open the file ( after downloading using SAP UI5 app ) I got error error "file not supported".

Code Snippet

stream-read.png

file-upload.png

I referred the code mentioned in

https://github.com/gregorwolf/bookshop-demo/blob/main/srv/dms-service.js

Attachments

file-upload.png (266.8 kB)
stream-read.png (204.9 kB)