cancel
Showing results for 
Search instead for 
Did you mean: 

Download file on local computer

Former Member
0 Kudos

Hello,

  

I would like to download a file on specific location , when user clicks on a button web dynpro application.

Could you please give hint for doing this.

Thanking you,

Regards,

Satya

Accepted Solutions (1)

Accepted Solutions (1)

guillaume-hrc
Active Contributor
0 Kudos

Hi,

FileDownload

Check: http://scn.sap.com/thread/1728599

FileUpload

Documentation states that (in newer versions of browsers) you cannot set the filename from the backend:

http://help.sap.com/saphelp_nw70ehp2/helpdata/en/b3/be7941601b1d09e10000000a155106/content.htm

Best regards,

Guillaume

Former Member
0 Kudos

Hi Guillaume ,

My requirement is not with UI . Whenever user selects particular object , all documents linked to this object from KPRO content server should be downloaded to local directory of user.

I have used class CL_WDR_ACFUPDOWNLOAD_HNDL to dowload.

But It is not working for me. are there any pre requirements to dowload.

 

Thanking you.,

Regards,

Satya

uday_gubbala2
Active Contributor
0 Kudos

Hi Satya,

Are you sure that you have taken care of all the below prerequisites as mentioned in here:

  • Installation of a Sun Java plug-in (Java 5 or higher)See also SAP Note 1178747
  • Presence of a valid white list XML file.Under Microsoft Windows this is %APPDATA%\SAP

Also try going through this eLearning presentation by Thomas Jung to see if you are missing out anything else.

Regards,

Uday

Former Member
0 Kudos

Hello Uday,

    This download is happening from standard SAP application. I have seen file is downloaded into temp folder.

I have used same code , how it is done is Standard SAP . But still my file is not downloaded.

Thanking you,

Regards,

Satya

Answers (0)