cancel
Showing results for 
Search instead for 
Did you mean: 

Drag and Drop screen on portal for attaching files

bhakti2
Active Participant
0 Kudos

hi,

how to start about finding way to build a screen , where I could drag a file from my local desktop folder and drop it on the portal screen where I gets saved in SAP ?

I have posted this question here -

https://answers.sap.com/questions/440595/srm-rfx-attachments-drag-and-drop.html

is it possible/feasible in webdynpro abap, has anyone attempted or implemented it ?

thanks,

bhakti.

Accepted Solutions (0)

Answers (2)

Answers (2)

amy_king
Active Contributor
0 Kudos

Hi Bhakti,

Only a few UI elements support drag and drop and FileUpload isn't one of them unfortunately.

Cheers,

Amy

bhakti2
Active Participant
0 Kudos

Ok, thanks for ur response Amy

pokrakam
Active Contributor
0 Kudos
bhakti2
Active Participant
0 Kudos

Hello Mike,

thanks for the response. Yes I checked this page on help.sap.com and read the details. This talks about drag and drop of UI elements. "With drag and drop users can select UI element entries or view elements themselves (source), drag them, and drop them onto a different view element (target). Source and target can be either the same view element or two different view elements."

However I am looking for drag and drop of files from my computer onto the SAP screen.

I also looked at the std demo applications.

Could you please help me further on this?

Many thanks,

bhakti.

pokrakam
Active Contributor

Hmm you’re right, it does look like a drop target only accepts WD UI elements. I never used it generically before, so was not aware. You can however embed other web technologies as islands, so that’s always an option. A JavaScript app that accepts a dropped file and passes the file name back to WD should do it.

bhakti2
Active Participant
0 Kudos

hello Mike, how do I embed the other web technologies? specially at user interface level. Could you please give some leads?

thanks a lot

bhakti2
Active Participant
0 Kudos

thanks very much for your help, ill explore this part.