Open word file in desktop from SAP

Halo ,
I have a requirement in which I have got a word file in my desktop . I have the location path . Is there any FM in which I can give this Path so that it opens up the word file by itself.
Moreover is there any way to execute the file in the application server.
Regards
Arshad

Hello,
You can use GUI_RUN for desktop. provide the file path in command parameter and execute it to invoke the file on desktop.
Also, you can use WS_EXECUTE to open file on application server.
" For desktop:
CALL FUNCTION 'GUI_RUN'
  EXPORTING
    COMMAND          =
*   PARAMETER        =
*   CD               =
* IMPORTING
*   RETURNCODE       =
*For application server:
CALL FUNCTION 'WS_EXECUTE'
* EXPORTING
*   DOCUMENT                 = ' '
*   CD                       = ' '
*   COMMANDLINE              = ' '
*   INFORM                   = ' '
*   PROGRAM                  = ' '
*   STAT                     = ' '
*   WINID                    = ' '
*   OSMAC_SCRIPT             = ' '
*   OSMAC_CREATOR            = ' '
*   WIN16_EXT                = ' '
*   EXEC_RC                  = ' '
* IMPORTING
*   RBUFF                    =
* EXCEPTIONS
*   FRONTEND_ERROR           = 1
*   NO_BATCH                 = 2
*   PROG_NOT_FOUND           = 3
*   ILLEGAL_OPTION           = 4
*   GUI_REFUSE_EXECUTE       = 5
*   OTHERS                   = 6
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Both the function modules are obsolute!
Also, check for there alternatives.
Thanks,
Augustin.

Similar Messages

  • Strange question mark error while opening pdf files in adobereader from SAP

    Hi Gurus
    We are having a strange intermittent problem with Adobe Reader. When we try to open PDF files from SAP Frontend we get an error pop-up. The pop-up does not have any text. The title of the pop-up has "Adobe Reader". There is a blue question mark and an OK button.
    This issue occurs few times a day
    This issue does not occur in Windows XP.
    Since past few weeks, we have been trying to find some error/warning/atleast some text in log files of SAP, OS, Adobe Reader, Registry entries, Event Viewer. So far, we have not found anything.
    SAP is not able to help as this issue occurs intermittently and said when they tried, the issue did not occur. They made two attempts and in each attempt they tried 10 times to reproduce the issue. This issue occurs intermittently.
    Environment
    SAP R/3 4.7 EE SAP_Basis 620 Support Package 61
    Windows Vista Enterprise
    Adobe Reader 9.0 and Adobe Reader 9.1 (tried with both versions)
    SAPGUI 710 Patch 12 (latest patch). It also occured in Patch 11. 
    Please suggest
    Thank you
    Pavan

    Thank you for the quick reply.
    We tried many notes from Service Market Place. Also, Windows Team is in contact with Adobe.
    As per Adobe's suggestions, we tried changing preferences of Adobe Reader. We think it might be a problem with SAP Frontend.
    Present status - Issue still exists. nothing works.
    Thank you

  • Can't open word files sent from my 9500 to E90

    Can some one please help me,
    word documents sent to my E90 from my 9500 won't open,
    message says :Unable to open file not supported,
    It all started with data mover, Contact & Calendar entries are fine but document folders are recognised but won't open,
    Nokia suggested using drag & drop, using Pc suit
    with the 9500 connected drag all wanted files from the phone into my Pc then connect the E90 and reverse the process, files appear but I can't open them,
    Then I was told to e-mail from my Pc as an attachment,
    did'nt work either, doesn't matter how you get the files into the E90 you don't seem to be able to open them.
    So, is it possable to get word files into an E90 from a 9500
    Thank you.

    11-Nov-200708:34 PM
    vmoisa wrote:
    Open Word file in 9500, choose "Save as" from the Menu and you will have an option on one of the buttons at the right of the screen regarding the Format. Press that button and choose MS Word format. If you save all your Word files like this you should be able to open them on E90.
    This is from memory alone. If I was not clear enough, please let me know and I will give you more detailed instructions. Good luck.
    Me again, opened and a file in my 9500 and saved it in MS Word 97 then using Pc Suit copied it from one phone into the other, but once again I get the same message (Unable to open.. File type not supported)
    I don't know if all E90's come with the same programs pre-loaded, in mine I have a program entitled Quick Office in which it says you can open and manipulate Word files along with Excel and also Lotus Notes but first you have to purchase and download software from Nokia to activate it,
    I have found that if I go into Quick Office and write a document in word then save it, I get the same message as above when I try to open it,
    As I said in my previous message, I suspect I will have to purchase the Quick Office software from Nokia,
    I look forward to hearing your thoughts,
    Kind Regards.
    As

  • Cannot Open Excel File after exporting from Disco Plus

    Hi there,
    I got a question from one user having issue with opening Excel file after exporting from Disco Plus.
    The report has been using for a while and he is using Excel 2003 version and Discoverer 10g(10.1.2.2), he never got this kind of error before, just recently got error.
    After exporting from Disco Plus he saved file on his desktop and when he tries to open the excel it says "Cannot be Accessed, can be corrupted...." but this is not from network drive since he saved file on local desktop or C drive.
    Also not for all reports, only this particular report and only specific parameter, for example for parameter 2008 Feb opened successfully, but for2009 Feb he gets this error when trying to open excel.
    i tried in excel 2007 also , i dont think this is Excel version error, am not sure.
    Also after go live last week (we upgraded database from 9i to 10g) but i am not sure this causes ,since for one parameter working, for other parameter not working.
    Actually we should get one window for Macro when we try to open excel, but he is not getting it seems.
    Any ideas/thoughts on this would be greatly appreciated.
    Thanks for your help
    --skat                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Rod,
    Thanks for your quick response on this.
    Yes, we can export to other formats as well, but actually exporting is working, after saving the file on our local desktop/drive and when we try to open we get this kind messages or we cannot open the file, we should get message window for Macro to enable/disable but for this report we are not getting this either,
    Also this happens only for specific parameters,like i mentioned above it works I mean excel file opens for one set of parameters but for some other set of parameters cannot open.
    For example :- when we enter FEB 2008 it works, if we enter FEB 2009 it won't open the file.
    This is weird
    I am still working on this issue, may be better to recreate the report again might be helpful,
    Any ideas/comments/thoughts would be great
    Thanks
    Skat

  • FileNotFoundException thrown when opening a file for writing from EJB

    Hi,
    I know it is against EJB rules that access file IO from EJB. However we have a legacy system to working with and we need to generate a text file on file system.
    Weblogic (we are using 10.3) allows open a file for read from EJB. When we tried to open a writer like below:
    BufferedWriter writer = new BufferedWriter( new FileWriter(fileName, false));
    FileNotFoundException was thrown from the native method of open. The fileName is an absolute path and permission is properly set. The same piece of code can execute correctly in a test application with same filename.
    Does anyone know how to achieve this or whether Weblogic just forbids this kind of output access?

    Sorry guys. Just double-checked the source code and found out a bug produced wrong filename, the filename was surrounded by "", so FileNotFoundException is a correct result.
    Weblogic does allow read/write external file.

  • Cannot open Word File because "there are problems with the contents"

    Hi Everyone,
    I cannot open Word File because "there are problems with the contents" unspecified error; Location: 2.  Please help as I need this doc for work meeting this morning.  Nothing special about this doc but links were copied into it???  However I do that all the time.  I have never had this happen before.  I am on a 2010 machine.  I just ran a disk permissions repaired and emptied the trash but still no dice.  I had several other word docs up as well when I got up this morning but they are all fine.  I do not have Time Capsule turned on (which I need to do but that will be another thread/question).
    Thank you,
    sb

    Ok, I found a way to open this but not sure what happened to begin with and the formatting setup is different now, almost like text editor?  Not sure what happened here but hope it doesn't happen again?

  • Hi, I have a version of CS4 on my Mac.  I can not longer open Raw files with it from my Canon 5D.   I never had problems with it in the past.  What can I do?

    Hi, I have a version of CS4 on my Mac.  I can not longer open Raw files with it from my Canon 5D.   I never had problems with it in the past.  What can I do?

    is that the eos 5d?
    if so, you only need cr 3.3 or greater.  what version do you have in your cs4? (help>about plugins>camera raw)
    if you need to update it, http://www.adobe.com/downloads/updates/

  • Photoshop Elements 9 won't open blank files or copy from clipboard

    PE9 for Macwon't open blank files or "copy from clipboard."  I get error messages that say, "Could not complete the command because of a problem using the Adobe color engine," when I try to create a new blank file, and "Could not place because of a program error" when trying to "copy from clipboard."  I tried reinstalling the software, but that didn't help.

    Are you still facing the same problem ?
    can you try it after resetting your preferences.
    To reset your preferences at the time of launching PSE press command+option+shift key combination untill following pop up comes.
    Addi

  • Missing photos when opening multiple files into Photoshop from LR3.2

    When I try to open multiple files (8+ maybe) from Lightroom 3.2 to edit in Photoshop CS5, almost always one or two photos does not open. This means I have to manually find out which photos are missing, and then reopen them.
    Can anyone help me with this problem??

    I have opened as many as 50 from external hard drive with LR 3.2 and Windows XP with no problem.
    It takes a long time to bring in this many if they are 100MB tiffs.  I had to go have coffee and come back later.
    Are you sure you waited until it was finished?

  • Since updating my ipad2 with latest software I can't open Word files - reason??

    Since updating my ipad2 with latest software I can't open Word files - reason??

    Try this:
    1. Close all apps in the Task Bar. Double-click the Home button and hold apps down for a second or two. Tap the minus sign to close app.
    2. Hold the Sleep and Home button down until you see the Apple Logo.

  • How to open m4a file in GarageBand from iTunes music?

    How do I open m4a file in GarageBand from iTunes music (first recorded on iPhone Voice Recorder). I am recording my foreign language teacher and want to be able to replay at slower pace than she speaks.

    ArtDog11 wrote:
    How do I open m4a file in GarageBand from iTunes music
    http://www.bulletsandbones.com/GB/GBFAQ.html#importfromitunes
    (Let the page FULLY load. The link to your answer is at the top of your screen)
    ArtDog11 wrote:
    want to be able to replay at slower pace than she speaks.
    http://www.bulletsandbones.com/GB/GBFAQ.html#changeimportedtempo
    (Let the page FULLY load. The link to your answer is at the top of your screen)

  • Problems opening word files with Word 2011 from a Windows 2012 server volume

    Here is what we are seeing. Open any Word document on our server with Word 2011 (mac) results in an excruciating delay. Even a  simple one page document will take over a minute to open up. The same document opened from the desktop of the mac opens in
    2 seconds. 
    In troubleshooting this I turned on invisibles for my mac and watched the folder on the server where the file resides. Here is what I noticed.
    1. If I open that file from a windows computer there is an invisible temp file created for the file that disappears when I close the document. The file opens on the Windows 7 machine with Office 2010 very quickly (2 seconds)
    2. If I open the file from my mac with the preview of Word 2016 the same temp file is created and the file opens very quickly. (2 seconds).
    3. If I open the file from my mac with Word 2011 it takes over a minute and I don't get a temp file on the server. Closing the document takes just as long.
    So, what I am guessing is that Word 2011 is trying to create the temp file, tries for a minute, and finally gives up and opens the file anyway. When I close the file I am guessing it is looking for that temp file and finally gives up after a minute and closes
    the file anyway. 
    Any insights as to what is going on would be appreciated. Our users are very frustrated with this situations.

    Hi,
    Since the issue only occurs to Word for Mac, I'm not familiar with the mechanism how it opens a file, we mainly supports Office for Windows in this forum. Please post the question in Office for Mac forum for further assistance:
    http://answers.microsoft.com/en-us/mac
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs. Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Since upgrading to OSX Yosemite cannot open word files downloaded from email.

    I have recently installed OSX Yosemite on my late 2010 macbook air. Since upgrading I have been unable to open files in Word that I have downloaded from my email. Old word files seem to work fine. My university has given faculty access to "Office 365" and that is what I use for my email. However whenever I try and download a word file from my email the computer opens word for a second - I can see the first page of the document - and then immediately closes. This happens regardless of whether or not I open the file from my computer in my desktop or in my downloads folder, or just download another copy from my email. The word file works fine on another windows computer, it's only on this mac that Office 2011 crashes every time I try and open this new file. Please advise?

    A web site for the community I live in. I can get into the site but when I try to open a PDF file all I get is a grey screen. I can open PDF files from mail, and other sites.

  • Microsoft Word has disappeared from Macbook, I can't open word files

    Microsoft Word has disappeared from my MacBook, I can't open my Word files and need to asap. How do I fix this?

    Bernadette201 wrote:
    Not simple, on the other side of the world on job search and my install discs not with me. Any other suggestions?
    If Word is actually gone (apps don't just disappear) then you can download a copy of LibreOffice, it is free, and Word compatible.

  • Cant open word files from mac side

    hi all
    have just installed windows 7 and the office suite and all seems to work fine until i try and open any word files that are located in my mac partition. it suggests that i need to open and repair but this doesnt solve the problem. i can open excel and pdf files however. do i need to change permissions or is this something that is not possible to do.
    many thanks for any help
    craig

    I'm having the same problem also. I can't open any office suite files (word, excel...). I think the problem has to do with the os x partition being read-only. When I copy and paste the office files from the os x partition onto the windows partition and open the document, everything works. Any insight would be appreciated. Thanks!

Maybe you are looking for

  • Error message when creating new document

    I am using Photoshop CS5 on OSX 10.6.8. When I try to create a new file or copy and paste within an open file, I receive this error message: "This is not a valid Portable Document File (PDF) document. It cannot be opened." This does not occur when op

  • Suggestions required on All-In-One System

    Dear Guru's, We're having 2 doubt's regarding All-in-One system, 1. Shall we have 2 system landscape for All-in-One systems. System1(DEV Server)-having single instance with 2 clients 100 - DEV and 200 - QAS and System2(PRD server) having single insta

  • Oracle 9i, 10g 에서 트리거가 존재하는지 JDBC나 java api  에서 알아오는 방법이 있는지요?

    trigger 가 살아있는지 정상 동작하는지 알아오는 방법이 있나요? java 에서 점검할수있는 방법을 아시면 알려주십시요.

  • Exporting Class structure

    Is there a way to export your class structure to something like Excel?  Currently, I expanded all the classes with my Data Explorer in Webi, copy all, and pasted them in Excel.  I get all objects this way but they loose their folder structure.  Is th

  • Are .aac bit rates the same as mp3 bit rates?

    Are .aac bit rates the same quality as mp3 bit rates?  That is: 1. Is an .aac bit rate of 128kps the same quality as an mp3 bit rate of 256kps? 2. Is an .aac bit rate of 192kps the same quality as an mp3 bit rate of 256kps? 3. Is an .aac bit rate of