2017 Nov 07 11:14 AM
Hi Experts
i'm writing a report which should open file with the default pc program..
For expamle:
pdf file shoulds be open with adobe reader, if it's a solidworks extension with solidworks, if cad with cad and so on.... but in the pc and not in sap gui. any help?any suggestions?
Thanks
Marco
To help you search, the following method opens a file with the default application (I let you find complete answers on the web):
CALL METHOD cl_abap_frontend_services=>execute EXPORTING operation = 'OPEN' ...
2017 Nov 07 12:55 PM
2017 Nov 07 6:19 PM
To add to Volker's answer - when you open a file on PC, you are actually using a feature of the OS. So this task is not really "open a file" but rather "execute an external program".
Google search for "ABAP open external program site:sap.com" should provide enough food for thought and for further investigation.
2017 Nov 07 7:35 PM
To help you search, the following method opens a file with the default application (I let you find complete answers on the web):
CALL METHOD cl_abap_frontend_services=>execute EXPORTING operation = 'OPEN' ...
2017 Nov 07 10:57 PM
Spoiler alert! This method was mentioned in one of the top Google finds after using the keywords in my answer. 🙂
2017 Nov 08 6:44 AM
I know, but I found that the current answers were a little bit misleading, as they erroneously tend to SM49/SM69 because of the words ("external program".
2017 Nov 08 3:52 PM
Agreed. The general keywords bring up all kinds of information, some may not be relevant.
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |