cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic file path in fileupload element

krishan_raheja2
Explorer
0 Kudos

Hi Friends,

I know the usage of filupload element. It allows to pick the file and upload the contents.

But my requirement is, I want to upload a file whose path will be calculated dynamically. e.g. I will ask user to enter some string and based upon that string I would like to choose a file from a predefined folder. I mean I want to supply the filepath dynamically.

Please suggest the way to choose file dynamically.

Thanks

Krishan

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member184578
Active Contributor
0 Kudos

Hi,

You cannot directly enter string/text to File Upload UI element. When you click on the file upload UI element, you will get the file open dialog. So, you have to create an Input field to enter any text and then read the string/text on Upload button.

And due to browser security restrictions, you cannot do a silent upload in Web Dynpro ABAP. You can use AcfUpDownload UI to achive silent upload with White list configured. And you can only upload to KPRO.

Check this demo for reference:

hope this helps,

Regards,

Kiran