Open dataset for file output does not work

I have the following code
OPEN DATASET MY_FILE FOR OUTPUT IN TEXT MODE ENCODING NON-UNICODE.
MY_FILE is a selection parameter for the filename but when I put any file name, say C:\tmp\test.txt, the code does not create the file for writing. If I create the file manually from windows so that I am sure it exists (Right click-> New -> Text File -> test.txt), SAP still does not open the file for writing.
Am I doing something wrong?
I have searched the net and the forums but I can't seem to get a useful answer...
Thanks in advance!
Kyle

Hey Prabhu,
Thanks. I kinda missed this from the documentation:
The file must be accessible from the application server. You cannot use OPEN DATASET to process files on the current presentation server (whether PC or workstation). The function modules WS_DOWNLOAD and WS_UPLOAD exist for this purpose.
[http://help.sap.com/saphelp_40b/helpdata/en/34/55cad198482bc0e10000009b38f91f/content.htm]
Points have been awarded. Thank you.
Kyle

Similar Messages

  • I keep getting the message: "what should firefox do with this file" in Windows XP every time I want to download a file, e.g., adobe, excel, etc. How can this annoying message be deleted? The check box to "open file automatically" does not work!

    I keep getting the message: "what should Firefox do with this file" in Windows XP every time I want to download a file, e.g., adobe, excel, etc. How can this annoying message be deleted? The check box to "open file automatically" does not work!

    cor-el,
    Thanks for your prompt reply. However, the sources you gave do not seem to apply exactly to my situation. I have attached some screenshots that show what the dialogue box looks like for a pdf download, and what my settings in the Apps panel of Options are. You will note in the first screenshot that I have checked the box to handle this file type automatically; however, the next time I try to download a file of that type, the same dialogue box appears looking exactly like the one shown, so checking the "automatic" option appears to do nothing. The files to be downloaded from my Gmail messages are not generic or altered file types - they are shown as pdf, doc, docx, etc. So while your intent was good, your post did not help. Thanks anyway.

  • Hi, I have a MAC (version 10.10.2) and installed Creative Suite one year ago. Now I want to open the Illustrator, but it does not work. It says I should install old Java SE 6-Runtime-Version to open „Adobe Illustrator CS6". Where can I find it? Thanks for

    Hi, I have a MAC (version 10.10.2) and installed Creative Suite one year ago. Now I want to open the Illustrator, but it does not work. It says I should install old Java SE 6-Runtime-Version to open „Adobe Illustrator CS6“. Where can I find it? Thanks for your answer! Jana

    Prompted to install Java SE 6 Runtime | Mac OS 10.9
    Mylenium

  • Opening my Photoshop Elements 11 does not work. I always get following message: "Could not open a volume of work, because the file is locked or you do not have the required permissions. Undo the protection of the file on using the command 'Properties' in

    Opening my Photoshop Elements 11 does not work. I always get following message: "Could not open a volume of work, because the file is locked or you do not have the required permissions. Undo the protection of the file on using the command 'Properties' in Windows Explorer." What is wrong? I cannot unterstand what I have to do!

    Could not open a scratch file because the file is locked or you do not have the necessary access privileges. (…) | Mylen…
    Mylenium

  • RH 5.5 output does not work properly in RH 7

    I inherited a WebHelp project created in RH 5.5. I have RH 7.
    When I open the files, make modifications, and recompile them, the
    output does not work properly once I put it on our hardware box.
    Those infamous red squares are present and there seems to be a lot
    of .js files being called, but even when I do a straight 1:1 copy
    and include all the files, and delete the red squares, it still
    doesn't work right.
    Also, oddly, when I open the original (5.5) files in my v7 --
    even without making ANY changes at all -- the TOC has
    disappeared.

    When you view the upgraded source files in RH7, are the red
    squares seen the editor?
    When you generate to a local folder and view the output
    there, are the red squares present? Are there any other issues with
    the generated output?
    Have you applied all three patches to RH7? Help About should
    show 7.0.3.

  • My dvd slot for imac10,1 does not work. It rejects the disc. Problem after reinstall of backup from hdd.

    My dvd slot for imac10,1 does not work. I had a new harddrive installed in November and the MacStore installed my backups from an external harddrive. I do not use it other than to upload programs, so I have not tried using it until tax season, but it rejects the disc. The ata file indicates no dvd firmware, but the serial-ata does indicate firmware for a dvdrw. What might I do about this to bring the dvd back, least expensive to most?

    Yesterday I started having the same problem. Can read disc (play movies and music) but blank disk are ejected or idvd cannot see the blank disk. I have a almost 12 month old 27" i7 imac.

  • 4.1EA. Open Body button in toolbar does not work

    Hi, All!
    4.1EA. Open Body button in toolbar does not work. In object tree click on some Package. Next - in toolbar click on OpenBody button. Body is not opened.

    Ow, that's a bad one, good catch.
    As a workaround the 'gutter blue arrow' hyperlinks DO work.
    Once I DO manage to get the body open, the button works for me without fail, even after an application restart. And I'm able to open other package bodies. So I can reproduce this bug once, but only once.
    Do you see the same?

  • Logfile monitoring for MSSQL ERRORLOG does not work with sapccmsr

    Hi
    We are running MSSQL2005 and wants to monitor the ERRORLOG for certain patterns, using the logfile monitoring feature of SAPCCMSR.
    We are using logfile monitoring with sapccmsr for a lot of other logfiles without problems, but for ERRORLOG is does not work!
    To be more precise: The agent does not report alerts for the text patterns specified. The agent runs fine and in RZ20 we can see that the logfile are checked every minute (but without finding the patterns).
    The strange thing is that:
    - It works for all other logfiles
    - If we do a "type ERRORLOG >> <new file>" and runs the same monitoring on this "copy" of the ERRORLOG then it works
    Any ideas?
    Best regards
    Tom Bo

    Hi,
    Please look at SAP note 1013331 https://service.sap.com/sap/support/notes/1013331.
    In special the changes after patch collection 2007/5.
    Practical you have to use a unicode CCMS Agent to monitor the ERRORLOG file of SQL2005, and add the "ENCODING=UTF-16" parameter in the template file....
    hope this helps..
    Regards
    Rolf

  • Can't get to settings to turn on wifi because "sign in to icloud" pops up and asks for pw which does not work because i can't get to wifi  ?p

    can't get to settings to turn on wifi because "sign in to icloud" pops up and asks for pw which does not work because i can't get to wifi  ?

    The problem is I cannot turn on wireless setting.  The "sign in to icloud  -- enter appleid password" popup will not go away. when i enter the pw and click ok, the same balloon pops up again.  If I click "cancel" it pops again. Since I am not on the internet (because I cannot turn the ipad wireless on) the sign in to icloud obviously will not work.  Vicious circle.

  • [BUG] "Open declaration" in some cases does not work

    If object name has the different register of letters then "Open declaration" in context menu does not work. But in the same case "Popup describe" in context menu works fine.
    Oracle SQL Developer 3.1.07
    Version 3.1.07
    Build MAIN-07.42
    Edited by: Roman on 19.04.2012 3:48

    I also would like to see some explanation when is it planned to make this feature work :)

  • The Open URL or File function is not working when I publish as a exe?

    The Open URL or File function is not working when I publish as a exe.  I have tried putting the exe in the same location as the files with no luck.  How do I get the buttons to function properly with a exe file.

    Have you set the Publish folder as a trusted location in Flash Global Security?
    If not, please read this post:
    http://www.infosemantics.com.au/adobe-captivate-troubleshooting/how-to-set-up-flash-global -security
    It may explain your issue.

  • What can I do for the following situation: I think my insert slot for the headphones does not work; when I put in any cable that should and can go in all I hear is low frequent static sounds.

    What can I do for the following situation: I think my insert slot for the headphones does not work; when I put in any cable that should and can go in all I hear is low frequent static sounds.

    You might try talking to the Apple store manager and see if you don't get more help...you might also contact Apple.com/support and see if they can give you a contact with the Apple Italy offices.
    Sounds like you have two levels of failure, the first shop that did the repair and broke a wire, and the second that has disabled something else and isn't helping.
    Apple officially refurbished equipment is usually good quality.  Surprising this has happened but you need to press on with complaints and try for resolution.

  • [svn:fx-trunk] 7473: Fix for 'ant asdoc' does not work.

    Revision: 7473
    Author:   [email protected]
    Date:     2009-06-01 12:09:26 -0700 (Mon, 01 Jun 2009)
    Log Message:
    Fix for 'ant asdoc' does not work.
    It should now work from both svn and package zip.
    Bugs: SDK-15306
    QE Notes: None.
    Doc Notes: None.
    tests: checkintests
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-15306
    Modified Paths:
        flex/sdk/trunk/asdoc/build.xml
        flex/sdk/trunk/build.xml

  • HT3702 how do I cancel an application that I am being billed for monthly that does not work

    How do I cancel an application that I am being billed for monthly that does not work anymore?

    How to report an issue with Your iTunes Store purchase
    iTunes Store: Purchasing and managing auto-renewing subscriptions

  • Open dataset with Chinese file name does not work

    HI Guru,
       I have an issue now, when I try to open dataset '/test/file.txt'  it works, but when I tried to open a file name contains Chinese file name like open dataset '/test/文件.txt'  , it failed again and again, no matter in text mode or legacy text mode  or binary mode also I tried encodings.    I need to read/write files to application server.  the backend OS is HP Unix 11.
      thank you in advance.

    Moving this thread from WDA to ABAP General becuase it has nothing to do with WDA.  Please in the future pick your forum appropriately.

Maybe you are looking for

  • Issue with gamecenter?

    I updated my OS on my iPod touch 4th gen on a Mac,  I run off a windows xp professional laptop.  It did erase all my apps, music, etc. but thought it would not be a big deal since I had a backup on my laptop's external drive.  I was able to reload al

  • ProC compilation in Oracle 8i

    I have a compiler script that I used in Oracle 8.0.5. After changing environment configuration file (from env_precomp.mk to env_plsql.mk) and editing my makefile, I used the same script to compile the same programs in the Oracle 8i environment. But I

  • Default values in se16 selection screen

    Hi, when we open SE16 along with table name , In the selection screen of that table i want some default values apper for one particular field. How can i do that???

  • Acrobat will not download, message Reliable source serving corrupt data

    I have purchased a subscription to Adobe Acrobat for my new Lenovo Think Pad. I white listed to the website in my anti-virus. But even then, the program will not download and I get the message Reliable source serving corrupt data.

  • Adobe Fill & Sign for iPhone

    Hi there, I just back from the official product launch of Adobe Acrobat DC in Hong Kong.  During the launch, one speaker said that he got the job from Adobe in eight months ago and the witness of his employment contract is signed by his wife during o