Skip to Content

Dynamic file path in fileupload element

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Sep 04, 2014 at 12:03 PM

    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: Web Dynpro ABAP Tutorial: ACFUpDownload and ACFExecute

    hope this helps,

    Regards,

    Kiran

    Add comment
    10|10000 characters needed characters exceeded