How to open *.doc files on the fileserver in ABAP ?

Hi, everyone.
I met an issue about how to open a word file located on another fileserver which is inside a same net workgroup with SAP server.
I know ABAP could call OLE function to activate WORD but
what must I conduct to let it open a given word file ??
Any help appreciated.
Thank you.

you can use
CL_GUI_FRONTEND_SERVICES=>EXECUTE method to do this.
just pass path along with document name to "DOCUMENT" parameter of this method.
Regards
Raja

Similar Messages

  • How to open a file with the extension x3f (sigma)

    how to open a file with the extension x3f (sigma)?

    RAW data from the following Sigma cameras is currently supported:
    DP1
    DP1s
    DP2
    SD9
    SD10
    SD14
    If your camera is among these, then simply import the photo as usual. https://helpx.adobe.com/lightroom/help/importing-photos-lightroom-basic-workflow.html

  • Cant open doc files from the server on MacBook Air after upgrading to Maverick

    Cant open doc files from the server on MacBook Air after upgrading to Maverick, I can only open up docx file. Thank you!

    Thanks for the suggestion! I don't use Phantasm or VectorScribe (or any Astute Graphics plugins for that matter). I do, however, have a Wacom tablet and have a few plugins that concern using Blurb Book Creator as well as LiveSurface Context.
    I did the very unfortunate and foolish act of upgrading to Maverick without a backup, so postponing isn't an option for me.
    I geuss my question at this point would be, would it be worthwhile to wipe all the adobe products from my harddrive and re-install them? Or would that be a useless endeavor.
    I don't have an external hard-drive so backing up and re-installing the entire OS would be a bit much. Any suggestions?

  • How to open KM file in the same window

    When we open KM file by /irj/go/km/docs/... link it is previewed in a new Internet Explorer window.
    We changed Targed property to Self for iView navigation in LayoutSet render but the image file is still opend in new Window.
    How to workaround this?

    We changed Target Window Type property value of ResourceRenderer of Navigation iView  to Self.
    When an authenticated user  tries to open KM file it is opened in the same window if file URL include /irj/servlet/prt/prtroot....
    If file URL contain /irj/go/km/docs/.. it is opened in new window.
    When an anonymous user  tries to open KM file it is opened in a new (popup) window.
    We need that anonymous user can open km files in the same window.
    How to work around this?
    We use light framework.

  • Since installing Open Office 4.0 I cannot open .doc files on the fly, used to work before.

    I've recently upgraded to Open Office 4.0. Now cannot open .doc attachments from Thunderbird. I can download to disc and open into Open Office Writer with Power Desk or Windows Explorer in the usual way. I've checked tools/options/attachments and it's set to Open Office Writer. I think this is irrelevant, but when I had Open Office 3.0 I had Writer set as a separate program, but I am now using just the master front end.
    Works OK with .pdf or .jpg files.

    just delete the entry from the attachments windows and then try and open a doc file. The entry will be recreated using your responses.
    I am guessing the existing Writer is not the correct Writer.

  • How to open a file with the same name?

    Hi, now I practicing making web pages where I put sample codes in one directory and I copy them to edit.
    The probrem is, I couldn't open one file while I'm opening another file with the same name.
    Is it possible to open  a file with the same name in Dreamweaver?

    That could be a very error prone practice.
    May I suggest you take advantage of DW "Snippets" feature instead.
    Simply save any blocks of code you will reuse regularly as snippets,
    and give each one a descriptive name you like.
    Then you can simply place your cursor in code view where you wish the code,
    and click insert on the selected item from the snippet panel.

  • How to open a file in the default application for it directly from QuickLook?

    Is there a way to issue an Open command straight from QuickLook?
    Problem:
    I have a directory containing symlinks to the PDF files I usually refer to. I cannot copy the files locally and I must use symlinks.
    When I need to open one of the files, I can't rely on Finder icon previews as these do not show for symlinks (I think that's absurd, don't you? Is there any reason why they would not?)
    Not knowing how to pick the file I am interested in, I select them all and OPTION+SPACE QuickLook them. Immediately following OPTION+SPACE I press COMMAND+ENTER and finally see them all tiled across the screen (notice: COMMAND+ENTER is not bound in Finder as far as I can see, why not allow users to press that directly?)
    Here's the problem:
    Once I choose the file I want, with the mouse of the arrow keys, I don't see how I could open just that file in the owning application (say: Adobe Reader).
    That, to me, is dumbfounding. COMMAND+O opens ALL files I selected to begin with but I think QuickLook should allow for opening the file currently being previewed with an UI element or a keystroke, shouldn't it?
    It is so strange that it almost can't be, maybe I am just missing the obvious... in that case I apologise.  Feel free to report this to Apple if you think they can work on this.
    For the record, it's the 29th of Aug 2012 and I am on 10.6.8.

    Small update.
    I created a database with a western european characterset We8MSWIn1252
    If I use utl_file to write out the code on the database server it gets produced correctly in Ascii format with the accented charcacters.
    As soon as I try and write out the code using owa_util.Mime_header and htp.p the code is written in UTF8 format.
    I did try and write out the header specifying a western european characterset but it seems that if it encounters an accented character it automatically switches to utf-8 mode. If there are no accented charcters the file is produced in ascii format.
    Really stumped on this one.

  • How to open two files in the one window in PSE11?

    In older versions of PSE I was able to open two picture files in the same window by just resizing them smaller so that I could deal with them side by side........I couoldn't do it in PSE=10, and I upgraded to PSE11 and still don't know how to do it.  Can somone assist me?  Thanks..

      In the Organizer select two thumbnails and hit the F12 key to compare them. But I guess you mean in the Editor application. In Expert Mode it‘s possible to work with floating windows rather than fixed tabs but you first need to set your preferences. Go to:
    Edit >> Preferences >> General (Windows)
    Photoshop Elements Editor >> Preferences >> General (Mac)
    Then put a checkmark in the box against “Allow Floating Documents in Expert Mode”
    Click OK
    You can now open your two images and use the layout button at the bottom to choose various configurations or to cascade.
     

  • How to open a file with the assosiate program on suse????

    i came to know that we can open a file with assosiated program on windows using "cmd /c start filename".
    and i want the same functionality on suse linux.
    in forums i found that "kfm filename" will do fine on linux.
    i tried it on suse but no use at all.
    i would appretiate the quick response and i would be very thankful
    for the same.
    Thanks alot in advance.

    take a look at java.awt.Desktop in the JDK SE 6 http://java.sun.com/javase/6/docs/api/java/awt/Desktop.html.
    See these two methods:
    - void edit(File file)
    - void open(File file)

  • How to open appleworks file in the WINDOWS.

    I use the MAC 8.6. I want appleworks file can use in the windows. How i can use applework file in the windows.
    Thank you very much for your help.

    As suggested in Michael's post, what you do depends on what translators were supplied with the version of AppleWorks you have installed.
    With the file open, go to the File menu and choose Save as...
    In the Save dialogue, look for a popup menu to choose the file format in which you can save the file.
    If there are Windows applications listed in the menu, choose one of them.
    If not, choose RTF (if available, although I recall some problems with moving RTF files from Mac to Windows or vice versa), or Text. Neither of these will transfer graphic objects. RTF will keep some text formatting. Text will transfer only the raw text.
    If the Windows user has ClarisWorks or AppleWorks (same or newer whole number version) installed, you should be able to transfer the files as AppleWorks files, making sure that you add the .cwk suffix to the file name.
    Regards,
    Barry

  • How to open a file in the correct characterset

    Apex 3.1 running on OracleXe
    I have a file which I open using an onlaod before header process (similar to the way excel files are opened).
    I set the Mime Type in the header process on an apex page
    OWA_UTIL.mime_header ('Application/Octet', FALSE);
    -- Set the name of the file
    htp.p('Content-Disposition: attachment; filename="'||:P12_FILENAME||'"');
    -- Close the HTTP Header
    owa_util.http_header_close;and then generate a query via a stored procedure which I write out using the following routine
    (It is done this way as the file needs to be written to the client machine rather than the database server).
    Procedure Dump_Query_To_File(P_Query                In Varchar2,
                                 P_Display_Titles       In Varchar2 Default 'N')
    IS
        l_output utl_file.file_type;
        L_Thecursor Integer Default Dbms_Sql.Open_Cursor;
        L_Columnvalue Varchar2(4000);
        L_Status Integer;
        l_query VARCHAR2(4000) := p_query;
        L_Colcnt Number        := 0;
        L_Separator Varchar2(1) := '';
        L_Desctbl Dbms_Sql.Desc_Tab;
    begin
        Dbms_Sql.Parse(L_Thecursor,   L_Query,   Dbms_Sql.Native);
        dbms_sql.describe_columns(l_thecursor,   l_colcnt,   l_desctbl);
        For I In 1 .. L_Colcnt
        Loop
            If P_Display_Titles ='Y'
            Then
                If I < L_Colcnt
                Then
                    Htp.Prn(L_Separator || '"' || L_Desctbl(I).Col_Name || '"');
                    L_Separator := ';';
                Elsif I = L_Colcnt
                Then
                    Htp.Prn(L_Separator || '"' || L_Desctbl(I).Col_Name || '"');
                    htp.ps(chr(13));
                End If;
            END IF;
            Dbms_Sql.Define_Column(L_Thecursor,   I,   L_Columnvalue,   4000);
        End Loop;
        L_Status := Dbms_Sql.Execute(L_Thecursor);
        WHILE(dbms_sql.fetch_rows(l_thecursor) > 0)
        LOOP
          l_separator := '';
          FOR i IN 1 .. l_colcnt
          Loop
              Dbms_Sql.Column_Value(L_Thecursor,   I,   L_Columnvalue);
              If I <= L_Colcnt
              then
                  Htp.Prn(L_Separator || L_Columnvalue);
                  L_Separator := ';';
              end if;
          End Loop;
          htp.ps(chr(13));
        End Loop;
       dbms_sql.close_cursor(l_thecursor);
    End Dump_Query_To_File;When I vew the file in notepad I can see a string Annulé
    but when I open it in wordpad this gets converted to Annulé.
    Ideally what I need to do is open the file using characterset WE8MSWIN1252
    and write to the file using the same characterset.
    My database is in AL32UTF8 (ie XE universal Edition).
    So far the information I have is that owa_util only accepts charactersets when the mime type is of type text.
    This however still results in the file being written with the incorrect characterset.
    Edited by: Keith Jamieson on Oct 27, 2010 12:16 PM

    Small update.
    I created a database with a western european characterset We8MSWIn1252
    If I use utl_file to write out the code on the database server it gets produced correctly in Ascii format with the accented charcacters.
    As soon as I try and write out the code using owa_util.Mime_header and htp.p the code is written in UTF8 format.
    I did try and write out the header specifying a western european characterset but it seems that if it encounters an accented character it automatically switches to utf-8 mode. If there are no accented charcters the file is produced in ascii format.
    Really stumped on this one.

  • How to open a file, change the name and write file

    Hi,
    I want to open an existing .dat-file in Labview, manipulate the data and save this data into a new file with a different file name.
    Though the name should be different I would like to use the old name and add something to it.
    (In my programm the .dat file containes the date and time the data was
    measured and I would like to keep this information in the filename.)
    For example: the original title is file1.dat now I want to save it as file1_manipulated.dat
    Is that possible? What is the best and easiest way to do it?
    Thanks a lot
    Chris

    Hi Mike,
    thanks for your help.
    This will give me my path in string format. But to open a new file and then write my data into it, I need a path format (see right side of png)
    Is that right?
    I attached a png, so you hopefully get an idea where this is going. (I know this won´t work yet)
    I open a file and this filename depends on the date and time the data was recorded. So I can´t work with a stringconstant.
    Sorry for this beginner questions - this stuff is absolutly new to me.
    Thanks in advance
    Chris
    Attachments:
    newfile.png ‏11 KB

  • How to open a file in the finder using only the keyboard?

    Hello,
    I use the arrow keys a lot in the finder (I do a lot of renaming) but I can't find a way to open a document with the keyboard. Only the mouse double-click seems to work.
    Anyone knows a shortcut?
    Thanks

    Hi k.panic,
    Thanks for that one. I had not used that shortcut before.
    Guess I could do more reading. There's a lot to learn.
    Mac OS X keyboard shortcuts
    Dan Rodney's List of Mac OS X Keyboard Shortcuts and Keystrokes

  • How to open *.doc files in my browser?

    I create a region which display documents.
    It works greate with *.pdf, *.jpg.
    I want to know is it possible to view Microsoft Word files?
    How to determine which type of files I can open in browser!
    I use FF
    Regards, Kostya!

    I think this depends on your browser settings. Try this:
    1. In your Windows Explorer open the Advanced menue
    2. Go to "Options" and click the tab "File Extensions"
    3. Find the extension .doc and click on "Advanced" button
    4. Check the check box "Open in the same Window"
    5. Confirm
    Denes Kubicek

  • How to open a file in the same position on display when closing

    Not sure if this is the right place, so I apologize in advance:
    Whenever I open my text edit files, they always open in the same place in the display; how can I get these files (or any files for that matter) to open at the display position where they're last closed? 

    Unless the App stores window position data for a file, which I doubt, there isn't a way.
    Apps can store their default window position. Normally that is done by opening a document window in the app, moving and resizing it, then closing the window.
    There isn't an OS-wide setting for window positions.

Maybe you are looking for

  • Availability control is not able to  activate in ko22

    Hi frds, my problem is i am going to creat availability control to order in 2012 i gave amount after order oerview also i gave amount but if we r not activate the budget control. because that is display mode. in ops9 we had given activat type 1.that

  • Moving cursor problem

    Recently the cursor on my Macbookpro started to take on a life of its own. A short while after powering up, it starts to jump around randomly and replicates a right-click (secondary menu) and can often select items from the menus that pop up. It make

  • Is my laptop good enough for adobe premiere cs6?

    I wish to learn video editing, especially adobe premiere. I have copy of cs6 and noticed that my graphic card does not appear in the Adobe list so wanted to know what you think about my laptop before considering if I have to buy another one. My dell

  • Re Order Pages

    i have a 700 page document, which are patents a company has done. I need to re order the pages so instaed of the title number, the date is used which is in a different text field. The only problem is the date is formatted 10-sep-03 will I have to re

  • About ordering replacement for faulty earbuds...and serial numbers...

    hello... i saw this user called "tsik" in this forum who says : "yes they are you just need to fill out a form online and they will send you a new pair in a day or two " about faulty earphones..... well..can some1 post the link to this form?? apple's