cancel
Showing results for 
Search instead for 
Did you mean: 

File Download sample program

Former Member
0 Kudos

hi Everybody,

I did filedownload Sample program,,

I want to save the file , in my machine for that i set

wdContext.currentContextElement().setBehaviour (WDFileDownloadBehaviour.ALLOW_SAVE);

but it is not asking to save the file .....

thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Tony,

Please Check

1. If you have bound the <b>File Download UI</b> <b>Property Behaviour</b> with the context attribute (say <b>DownloadBehaviour</b>) (Note: By default it will be <b>auto</b>)

2. If you have given the Data Type of the context attribute <b>DownloadBehaviour</b> as <b>com.sap.ide.webdynpro.uielementdefinitions.FileDownloadBehaviour</b>

Regards,

Mathan MP

Former Member
0 Kudos

hi Mathan,

Thank u very much....now it is coming

i set in the properties of the FileDownload....

thanks

Answers (2)

Answers (2)

Former Member
0 Kudos

Hai,

See this blog.

/people/bertram.ganz/blog/2007/05/25/new-web-dynpro-java-tutorials--uploading-and-downloading-files-in-sap-netweaver-70

Regards,

Naga

Former Member
0 Kudos