Skip to Content

How to read file properties such as filename, file size from webdynpro application?

How to read file properties such as filename, file size from webdynpro application? What class or method can we use to get the properties?

I'm trying to read the file properties such as filename, size when the document is accessed via web dynpro application. Through SAP GUI I'm able to get file properties, but from webdynpro how can I get these properties?

Do we have any class that can be reused or any possible way?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Apr 19 at 12:34 PM

    Hi Akshay,

    Take a look at the UI elements FileUpload and FileDownload. Filename is a property of those UI elements. You can determine the file size via

     bytes = xstrlen( file_data ).

    Cheers,

    Amy

    Add comment
    10|10000 characters needed characters exceeded