Attaching  a MS-word document in the selection screen

Hi,
I need to attach an MS word document in the selection screen, if a user clicks on a button the MS word document need to get opened.
Please let me know how to do it.
regards,
Prabhu

Hi friend,
Try this simple program...
REPORT zawi_try.
TABLES: sscrfields.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN PUSHBUTTON 10(10) word  USER-COMMAND as.
SELECTION-SCREEN END OF LINE.
INITIALIZATION.
  MOVE 'WORD' TO word.
AT SELECTION-SCREEN.
  CASE sscrfields-ucomm.
    WHEN 'AS'.
      CALL FUNCTION 'GUI_RUN'
        EXPORTING
          command   = 'winword'
          parameter = 'C:\a.doc'.
  ENDCASE.
This might be helpful....
Thanks..

Similar Messages

  • My Mac got hacked. I was working on a word document when the computer suddenly started typing meaningful sentences on its own that describes how the hacker is skillful. At the that time I was on a password protected wifi and file sharing was off.

    This is the first time I get hacked this bad. I was working on a microsoft word document when the computer suddenly started typing meaningful sentences on its own that describes how skillfull the hacker is. At the that time I was on a friends wifi network that is password protected (not sure about the encyrption), the Os X Firewall was on. I was using the admin profile, however, file sharing was off. I'm very careful not to install any suspecious 3rd party software.
    So far I have verified permissions and fixed some errors there, and changed passwords.
    Do I have to erase/format my computer and reinstall the Os? If so is it adequte to use the internet recovery tool or will it use old and possibly infected EFI/Root files?
    Would appreciate the advice of all the Mac experts out there. Thanks

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    Third-party system modifications are a common cause of usability problems. By a “system modification,” I mean software that affects the operation of other software — potentially for the worse. The following procedure will help identify which such modifications you've installed. Don’t be alarmed by the complexity of these instructions — they’re easy to carry out and won’t change anything on your Mac. 
    These steps are to be taken while booted in “normal” mode, not in safe mode. If you’re now running in safe mode, reboot as usual before continuing. 
    Below are instructions to enter some UNIX shell commands. The commands are harmless, but they must be entered exactly as given in order to work. If you have doubts about the safety of the procedure suggested here, search this site for other discussions in which it’s been followed without any report of ill effects. 
    Some of the commands will line-wrap or scroll in your browser, but each one is really just a single line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, and you can then copy it. The headings “Step 1” and so on are not part of the commands. 
    Note: If you have more than one user account, Step 2 must be taken as an administrator. Ordinarily that would be the user created automatically when you booted the system for the first time. The other steps should be taken as the user who has the problem, if different. Most personal Macs have only one user, and in that case this paragraph doesn’t apply. 
    Launch the Terminal application in any of the following ways: 
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.) 
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens. 
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid. 
    When you launch Terminal, a text window will open with a line already in it, ending either in a dollar sign (“$”) or a percent sign (“%”). If you get the percent sign, enter “sh” and press return. You should then get a new line ending in a dollar sign. 
    Step 1 
    Triple-click anywhere in the line of text below on this page to select it:
    kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}' | open -ef
    Copy the selected text to the Clipboard by pressing the key combination command-C. Then click anywhere in the Terminal window and paste (command-V). I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting. A TextEdit window will open with the output of the command. If the command produced no output, the window will be empty. Post the contents of the TextEdit window (not the Terminal window), if any — the text, please, not a screenshot. You can then close the TextEdit window. The title of the window doesn't matter, and you don't need to post that. No typing is involved in this step.
    Step 2 
    Repeat with this line:
    { sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix\.cron)|org\.(amav|apac|cups|isc|ntp|postf|x)/{print $3}'; echo; sudo launchctl getenv DYLD_INSERT_LIBRARIES; echo; sudo defaults read com.apple.loginwindow LoginHook; echo; sudo crontab -l; } 2> /dev/null | open -ef
    This time you'll be prompted for your login password, which you do have to type. Nothing will be displayed when you type it. Type it carefully and then press return. You may get a one-time warning to be careful. Heed that warning, but don't post it. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator. 
    Note: If you don’t have a login password, you’ll need to set one before taking this step. If that’s not possible, skip to the next step. 
    Step 3
    { launchctl list | sed 1d | awk '!/0x|com\.apple|org\.(x|openbsd)/{print $3}'; echo; launchctl getenv DYLD_INSERT_LIBRARIES; echo; crontab -l 2> /dev/null; } | open -ef
    Step 4
    ls -A /e*/{cr,la,mach}* {,/}Lib*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta}* L*/Fonts .la* 2> /dev/null | open -ef
    Important: If you formerly synchronized with a MobileMe account, your me.com email address may appear in the output of the above command. If so, anonymize it before posting. 
    Step 5
    osascript -e 'tell application "System Events" to get name of login items' | open -ef
    Remember, steps 1-5 are all copy-and-paste — no typing, except your password. Also remember to post the output. 
    You can then quit Terminal.

  • I need to create a resume on my mac which I can send as an attachment as a word document.  How do I do this?

    I need to create a resume on my mac which I can send as an attachment as a word document.  How do I do this?

    You either buy Microsoft Office, or Apple Pages (which can save a document in Word format), or use one of the free office suites like LibreOffice, OpenOffice, or NeoOffice.

  • How to convert a word document into the PDF format?

    Please instruct me step by step on how to convert several Word documents into the PDF format?

    If properly installed and updated (depending on the WORD version), you can simply do any of the following:
    1. Open the doc in WORD and select Print, choose the Adobe PDF printer, print.
    2. Open the doc in WORD and go to the Acrobat menu in WORD and select create PDF (this uses PDF Maker).
    3. Open the doc in Acrobat and the conversion should be done based on PDF Maker.

  • How can I cut and paste from a webpage to a Word document without the document taking me to the web address when I click on a word in the document?

    How can I cut and paste from a webpage to a Word document without the document taking me to the web address when I click on a word in the document?

    You are trying to copy a link, it is most likely in a different color such as the words "Microsoft's own forums" in his post. In Word highlight the word or words, control click on them, select Hyperlink, then Edit Hyperlink, then delete the link from the top box. It will then have a button asking if you want to "Remove Link", click on it.

  • Pages will not open any of my word documents.  The I works documentation states that it will open them.  What don't I know

    Pages will not open any of my word documents.  The I works documentation states that it will open them.  I have tries using the open under the file menu and I have tried dragginh the file to the pages 09 icon.  Either way I get the following Message "The document “*****.docx” couldn’t be opened.What do I need to do to open them?

    hello, the most likely cause is a firewall/security program preventing firefox from accessing the internet. see [[Firewalls]] for information on how to configure them correctly.
    also make sure that firefox is set to directly connect to the internet in firefox > options > advanced > network > connection - settings... in there "no proxy" should be selected for normal use cases.
    [[Firefox cannot load websites but other programs can]]

  • How can 2 user edit 1 word document at the same time

    hi,
    in office 2013 professional plus, can 2 user edit 1 word document at the same time?

    Hi,
    As far as I know, multiple users can not edit Word file in the same time directly. Could you give me your demand?
    Please check the two follows workarounds if they are helpful:
    http://blogs.msdn.com/b/johnmullinax/archive/2010/04/19/co-authoring-how-two-people-can-edit-one-word-2010-doc-at-the-same-time.aspx?Redirected=true
    http://www.ehow.com/how_7229904_allow-word-document-same-time.html
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Regards,
    George Zhao
    TechNet Community Support
    Hi
    thank you; its worked.
    I'm so excited about this; thank you again.

  • Display a Word Document in the Output

    Hi All ,
    I would like to display a word document in the Output .
    I cheked the demo application 'ZIOS_TEST_SIMPLE_MS' , but i am not able to see the Word Document in the output.
    Do we need to do any settings or configuration to be done to use these controls ?
    Thank You ,
    Radhika.

    You might want to add a browser layer over your flex
    application and let the browser manage the file types. I personally
    use the HTML component from
    http://drumbeatinsight.com/.

  • When importing from a Word document placing the text in InDesign

    When importing from a Word document placing the text in InDesign I can only see the text from the first page of the Word document. I have increased the number of pages in the Indesign document to more than what is in the Word document, still only text from the first page is shown. What am I doing wrong or did I not set a setting correctly?

    When you want to auto flow text while placing, hold down the Shift key when clicking with the Place cursor on the first page. New pages will be generated and text will be auto flowed using the margins set up on the master page.

  • Do I need Pages in order to save my word document to the iCloud?

    I am new to using iCloud and have been trying to save Word documents to the cloud.  Even when the iCloud has been properly activated on my mac, when I try to save my document within Word, I do not get iCloud as an option in the dropdown menu for locations to save to.  I wasn't sure if I need to purchase Pages in order to save Microsoft Word documents.  That doesn't seem to make sense to me, but I'm not sure what else I might be doing incorrectly.  

    E.Donovan wrote:
    Thanks for the help!  So once I've downloaded Pages, iCloud should appear in the dropdown menu as a location to save to?
    As long as you are using Mountain Lion (10.8.x) yes, you'll see this:
    You will need 2 copies of Pages, one for your Mac and one for the iPad.

  • How to attach search help to a particular feild in the selection screen..

    Hi all,
    how can we put a search help for a field in the selection screen.
    i have to attach search help for this.
    SELECT-OPTIONS: s_xabln  FOR  qals-mblnr.             "GRS No

    Find out the respective search help and use like this...
    Parameters : p_pernr type pa0001-pernr MATCHCODE OBJECT prem .
    Here PREM is the search help for PERNR

  • Hello! how can i put and read my words documents in the notes pad of my ipod nano 3trd generation?thanks to all.the notes

    hello! how can i put and read my words documents in the notes pad of my ipod nano 3trd generation?thanks to all.

    The Notes features of the 3G iPod Nano only supports TXT files and not Word Documents.  If you want to be able to read these word documents, you'll need to copy the text from each over to a text file.  See here for more information.
    iPod: Storing and reading notes
    Keep in mind that each txt file has a limit of 4096 characters.  See this article for more information as well.
    Long notes are truncated on your iPod
    B-rock

  • I was working on a word document  and the computer shut down suddenly.

    I was working on a word document  and the computer shut down suddenly. I got a grey screen with a message that your computer shut down because of a proble. It was written in various languages. It asked me to press any key to restart. I tried to restart it but the wheel just kept going on and on. So I shut it down and I tried to restart it. But I still keepgetting the wheel under the apple symbol and nothing else.

    See
    About kernel panics,
    Technical Note TN2063: Understanding and Debugging Kernel Panics,
    Mac OS X Kernel Panic FAQ,
    Resolving Kernel Panics,
    How to troubleshoot a kernel panic, and
    Tutorial: Avoiding and eliminating Kernel panics for more details.

  • When i copy a word document into the body of an email, it arrives in a distorted format.  what can i do to insure it will arrive in the body of the email as it appears in my word document?

    how can i ensure that when i copy a word document into the body of an email, it will arrive in the same format as it appears in the word document.  mine arrive with distorted spacing.  thank you!!

    Sounds like the Word file may have right justification. You can turn that off within Word.
    You can also save the file as a pdf using these instructions:
    http://support.apple.com/kb/PH10738
    and send the pdf instead.

  • Word cannot open this document.  The document might be in use, the document might not be a valid Word document,  or the file name might contain invalid characters (for example,\ /).

    I recently upgraded to a new Macbook Air running Lion, from my 2007 white Macbook running Snow Leopard.  I had Office for Mac 2004 on the 2007, but had to upgrade to Office for Mac 2011 to be compatible with Lion on the Air.  Now when I try to open my documents on the Air that were saved under Office 2004 on the old computer, I get the following message: Word cannot open this document.  The document might be in use, the document might not be a valid Word document,  or the file name might contain invalid characters (for example,\ /).
    Any suggestions?  Thank you.

    Ha,ha,ha.....I figured it out.  But for anyone else who's having this problem, it seems that while Office 2004 allowed dates in this format: 00/00/00, Office 2011 doesn't like it at all.  I just changed the format in the document names to 00-00-00 and all is well.  Documents are opening beautifully! 

Maybe you are looking for

  • Is there a way to get my music from my old library (crashed computer) on my new computer so I can sync that librabry with my new purchases?

    Is there a way to get my music from my old library which is located on a crashed computer - to my new computer so I can sync that librabry with my new purchases?

  • HotSincing the Palm Z22 in 64 bit Vista (and Windows 7)

    There has been much discussion on not being able to Sync the Z22 under 64-bit Windows Vista or 7, using a USB cable. I have found a solution that so far has worked just fine for me. Quoting from the website: "Create an XP Mode for Windows 7 Home Vers

  • Where did Wi-Fi Scan go in OS 10.8.4?

    I realize that Wi-Fi Diagnostics was replaced by Wireless Diagnostics in 10.8.4 but where did Wi-Fi Scan go?  It was a sub-program of Wi-Fi Diagnostics and I would have thought that it would not have vanished completely from Wireless Diagnostics.  On

  • URL Retrieval

    Hi Guys, I know that there are quite a few posts on here and other sites for URL Retrieval however I am having a few problems and I was hoping someone on here could shed some light on the situation. Basically what Im trying to do is to fetch prices f

  • Unable to update applications

    I receive the message " no update available for any application in my library " when I know there are updates. This started right after updating to iTunes 8.2 . I have deauthorized and authorized my computer, purchased new applications and redownload