cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to upload file using UploadSet

Former Member
0 Kudos
712

view.txt

controller-1.txt

uploadset.png

Hi All,

I am using 'UploadSet' in my custom UI5 application to upload files from the desktop. While doing the 'Post' operation, it does not hit my breakpoint at ET_DEAL_FILESET_CREATE_ENTITY method or the CREATE_STREAM Method in the backend. Also, in the Network tab, I can see the error as - "HTTP Status 405 - Bad Method". I can't see any errors in the /IWFND/ERROR_LOG. Do I need to use xcrf token here?

When I upload a file, it is stuck in the status-'Pending'.

Please advise.

Rregards,

Meenakshi

Sandra_Rossi
Active Contributor
0 Kudos

Better embed short code and screenshots directly in your question rather than attaching files, it avoids the pain of clicking every link separately.

Accepted Solutions (0)

Answers (1)

Answers (1)

junwu
Active Contributor

please do some basic study first, how upload works? which method getting called at backend?

https://community.sap.com/search/?ct=blog&q=ui5+file+upload