2010 Aug 05 2:08 PM
Hi ABAP Masters,
I am developing a screen program that gets a file from a local PC (example desktop) and then there is an output field that displays the hyperlink of that file.
Is it possible to create a hyperlink to that local file such that when the hyperlink is clicked the file is downloaded for viewing?
If yes, can you please help me on how to do this?
Thank you so much!
Regards,
Onyx
2010 Aug 05 3:43 PM
use a text edit control:
compare sample program SAPTEXTEDIT_DEMO_DRAGDROP
hope that helps
Andreas
2010 Aug 05 3:43 PM
use a text edit control:
compare sample program SAPTEXTEDIT_DEMO_DRAGDROP
hope that helps
Andreas
2010 Aug 05 5:33 PM
Hi Andreas,
Thank you for your suggestion.
Sorry I am not familiar with text edit control.
Can you give me an overview about this?
Your response is highly appreciated.
Regards,
Onyx
2010 Aug 05 10:01 PM
On double click on the file path you need to capture that path of the file and pass it on to CL_GUI_FRONTEND_SERVICES=>EXECUTE method and it will open the file for you.
2010 Aug 06 7:42 AM
Hi J@Y,
How will I capture the path of the file so that I will pass it on to the CL_GUI_FRONTEND_SERVICES=>EXECUTE module?
Thanks for your help..
Regards,
Onyx