cancel
Showing results for 
Search instead for 
Did you mean: 

Problem when downloading files in webdynpro abap

Former Member
0 Kudos

Hi experts,

i have created an image upload/download program. I can upload files properly. but when i download the files , it will save the files with name ~wd_key without file type.

when i try to open this it shows

when i open with appropriate applications i can view the file. how can i save the file automatically with saved file type and name.

Aegards

Ashwin

Accepted Solutions (0)

Answers (2)

Answers (2)

Gowtham
Contributor
0 Kudos

Hi Ashwin,

What UI element you are using to download the files & share the binding of the UI element as well.

Hope there will be a problem in data binding.

- Gowtham

Former Member
0 Kudos

Hi gowtham,

Thank you for your display.

I think i had bind the attributes properly.

but the problem is still alive.

do u have any suggesions?

regards Ashwin KV

Former Member
0 Kudos

Hi,

For File download node check the attributes as below.

Cardinality 0.1

Attributes

Type

FILENAME

STRING

FILETYPE

STRING

FILECONTENTS

XSTRING

Refer this link Upload and Download Files in Webdynpro ABAP.

Thanks

KH

Former Member
0 Kudos

Hi,

The mimeType property should be set according to W3C standards:

You can find the complete list here:

MIME Types - The Complete List

Best regards,

Gabor

Former Member
0 Kudos

Hi frind,

This is what i did

thank you

Former Member
0 Kudos

Ashwin,

Try to use IE and see if you still have same issue.

Mostly this issue is seen when you use Chrome browser for downloading files.

Thanks

Phani

Former Member
0 Kudos

Hi Phani peddagopu,

i am using IE.

thank u