cancel
Showing results for 
Search instead for 
Did you mean: 

Preview xml file

Former Member
0 Kudos

Hello everybody!

I am new in ABAP programming, and I would like to know where I should make a screen/dynpro where the users can select any file path, and they can click a Preview button to see the file before download it. ABAP or web dynpro? I have a program in ABAP where the users can download the file, but they cannot see the file before download it. I am thinking in change ABAP for Web Dynpro. Could you please let me know? Thanks in advance!

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos
former_member197475
Active Contributor
0 Kudos

Hi,

Check the below Wiki for your requirement.

Upload and Download files in Webdynpro ABAP - Web Dynpro ABAP - SCN Wiki

Call the method WDR_TASK=>CLIENT_WINDOW->CLIENT->ATTACH_FILE_TO_RESPONSE, which will automatically give you an option to either Open or Save.

BR,

RAM.