Open txt file in CV02n for URL path

Hi
I  stored atachment Text file in SAP content server for SRM SC document.
and i have below HTTP url.
http://1xxxxxxxx:1090/ContentServer/ContentServer.dll?get&pVersion=0046&contRep=BBPFILESYSTEM&docId=E03E3F4E929E9BF1B4100026B98BDDE2&compId=linknew.TXT
I want to open the file in notepad from CV02N without opening browser. How to do this.
I used data carrier INTERNET and TYPE as UR, In this case its opening browser and opening text file.
But i dont want to open browser, instead i want to open only text file.
I already did customizing in ERP system for TXT file and if i checkin text file in CV02N i am able to open it in notepad.
simmilarly i want to open URL path file also.
Pls sugges me how to do this
Regards
Chandra
Edited by: princeck on Feb 24, 2011 10:09 AM

Make sure the filename has an absolute path. If the path is relative it will point to a different location depending on where you run the program from.
When you run it from within Xcode itself the binary is buried way inside the project hierarchy (you can see where it is by selecting the program in the  Products folder and doing a Show in Finder).
The safest bet is to always specify a specific directory for any writes you do.
regards
As an example for this program in Xcode (assumoing you will be able to see the images)
The binary is located here

Similar Messages

  • Open txt file with Notepad

    Hi,
    using what abap func  can i open txt file (i have its full path)?
    clarification: i want the Notepad to popup at user screen.
    Regards
    Uri

    >
    uri karagila wrote:
    > 10x,
    >
    > in this case my next question is, how can move the file from server to local client hard disk?
    >
    > Regards
    >
    > Uri
    If you've opened notepad, you won't be able to save the file ON the server, so your question doesn't make sense.  Please search, read a book, SAP documentation etc. before posting further basic questions.
    matt

  • Problem with reader version 11.0.2 when it starts up and I open a file, All hangs for 30sec

    I am using windows 7 on a 64bit laptop.
    When I open a file the sytem hangs for over 30sec saying 'program not responding' the wakens up and works fine till I open another file?

    Thanks for your feedback. I have now tried that but does not appear to change the situation noticeably.
    I have tried raising priority using a program for managing the 2 memory cores and this appears to improve
    things considerably as one might expect but probably only masks the basic problem.
    I am assuming that I have added the reader_sl.exe program file to the start-up sequence, since this is
    not as straightforward with windows 7 as it was with previous versions.

  • Since Lion, text edit can't open txt files

    Since upgrading to Lion on my 2.4 Ghz iMac, TextEdit won't open .txt files (even ones it has just created). I get the following error message: The document “[filename].txt” could not be opened. TextEdit cannot open files of this type.
    When Lion was first installed, it was opening my .txt file with Console, until I told it to use TextEdit. Now I get the error above. The files are fine (they work on other computers, word, console, etc)
    I know I can download a different (and possibly better) text editor, but I like TextEdit and also am worried that this is a symptom of a deeper issue.
    So far, I've restarted and repaired all permissions on My HD. Not sure what could be causing this as reading .txt files is pretty essential to TextEdit.

    I guess my installation got messed up by chance: I reinstalled Lion and things seem to be working well now. Not sure what the problem was.

  • Excel 2007 throws "this action is valid for the products which are currently installed" while i try to open .txt file format.

    Hello,
    We have Windows 2008 r2 TS, on which we have MS office 2007 Standard installed. There are almost 50 users on this particular machine.
    The problem is we get an error message when we try to open a .txt file in Excel (Right click on .txt file--> Open with --> Excel). Error message is as follows  "this action is valid for the products which are currently installed".
    Previously this was faced by all users so we completely reinstalled it, which worked, except for 1 user.  Currently i have recreated the profile for that particular user but that also didn't helped.
    A drag-drop approach works but user don't want it that way.  
    Now am clueless in terms of where should i look into. Any help would really be helpful.
    Thanks,
    Amol S

    Hi Amol S,
    As per the description, I understand that you are trying to register .dll files in your computer now.
    I suggest you to go through the following article to know more about registering .dll file.
    Refer to the Link:
    https://support2.microsoft.com/kb/844592?wa=wsignin1.0
    Unregister or Register DLL or OCX files:
    The Regsvr32 tool is a command-line utility that can be used for registering and un-registering OLE controls like DLL and ActiveX (OCX) controls in the Windows operating system. If you find
    that some of your Windows functions are note working properly, you may need to register your
    dll files.
    Register dll file
    To register a dll or
    ocx file, open a command prompt windows as an administrator, type the following and hit Enter:
    regsvr32 “path & filename of dllor
    ocx
    Unregister dll file
    To un-register a dll or
    ocx file, open a command prompt windows as an administrator, type the following and hit Enter:
    regsvr32 /u “path & filename of dllor
    ocx“
    Note: This will register or unregister the
    dll file.
    Hope this information is helpful. Please do let us know if you need further assistance, I’ll be glad to assist you.
    Regard,

  • How do I access a .txt file in Xcode for an OSX command line tool?

    I'm in school learning C and C++, and we have to read from and write to .txt files regularly. But I can't figure out how to open a .txt file in Xcode.
    if FILE *buffer = fopen(filename,"r"); where filename is a pointer to a char array holding the name of the file, it works perfectly fine in the terminal. It compiles, in both Xcode and GCC, but when I try to actually open the file in Xcode, my program can never find it and quits the application (so it doesn't crash).
    Long story short, what do I have to do to get my programs in Xcode to read from a .txt file?
    I tried putting a copy of input.txt in every folder within the project, including it in the source files, adding it to target (which I don't wholly understand), I don't know what to do.

    Make sure the filename has an absolute path. If the path is relative it will point to a different location depending on where you run the program from.
    When you run it from within Xcode itself the binary is buried way inside the project hierarchy (you can see where it is by selecting the program in the  Products folder and doing a Show in Finder).
    The safest bet is to always specify a specific directory for any writes you do.
    regards
    As an example for this program in Xcode (assumoing you will be able to see the images)
    The binary is located here

  • Retrieving .txt file from jar for an applet

    I guess this is a newbie question but i checked the tutorial sessions and i am doing exactly what it says there but still...no luck:
    I'm trying to access a .txt. file stored in the .jar file where my applet .class file is stored. I'm using:
    String s = "myfile.txt";
    // get current Class loader
    ClassLoader cl = this.getClass().getClassLoader();
    FileInputStream is = new FileInputStream((cl.getResource(s)).toString());
    BufferedReader in = new BufferedReader(new InputStreamReader(is));But when the applet is viewer from the browser or from the appletviewer, i'm getting the FileNotFoundException:
    java.io.FileNotFoundException: jar:file:\C:\FeatureSelection\sFeatureSelection.jar!\myfile.txt (The filename, directory name, or volume label syntax is incorrect)
    I tried to use the following instead:
    FileInputStream is = new FileInputStream((myApplet.class.getResource(s)).toString());orFileInputStream is = new FileInputStream((getClass().getResource(s)).toString());but the same exception is still there.
    The jar file and the html file are all stored in this directory C:\FeatureSelection\
    The signed jar file is called sFeatureSelection.jar
    Any help would be greatly appreciated!
    Thanks.

    One way to get at files in a jar is to put the jar in the CLASSPATH and then just refer to the resource by its path in the jar. If the same path occurs in two different jars, then you only get the first one, based on the order of the jars in CLASSPATH, I think.
    The classloader is involved, which can be confusing, but an easy way to try this is:
    String s = "myfile.txt";
    URL u = this.class.getClassLoader().getResource(s);
    Object o = u.getContent();Now, you only really know that something matched that path and now it is in a URL.
    I think the Object will be a stream and you have to read() it or something.
    BTW: I encourage you to examine the URL, but it is not necessary to do so.
    If you have somehitng like a GIF image, then here is an example of how to work with that:
    http://www.devx.com/tips/Tip/5697
    Here is a way to get the bytes without involved the ClassLoader:
    http://www.javaworld.com/javaworld/javatips/jw-javatip49.html
    Take your pick.

  • External loading .txt file can I link URL in txt file?

    So, I can't remember and it's not working. I basically want to add this to my text file:
    <a href="http://www.gap.com" target="_blank">Go here</a>
    which obviously doesn't work. what's the easiest way add HTML tags to a TXT file without changing the way the files being loaded too much?
    var filename:String="text/home.txt";
    var loaderText:URLLoader = new URLLoader();
    var myRequest:URLRequest=new URLRequest(filename);
    function loadFile(filename:String):void {
        myRequest.url=filename;
        loaderText.load(myRequest);
    loadFile("text/press.txt");

    textfield_InstanceName.htmlText =  which for me would be: content_mc.pageText_txt.htmlText=pageText;  in the complete event.

  • Unable to open .txt files because I "don't have permission"

    I've had this problem on and off for the last month, but now it seems that every .txt file on my computer is affected. When I attempt to open a text file I get the notification that I don't have permission. I've gone into "Get Info" and checked that I have Read/Write permissions and that the individual text file isn't locked. Everything seems fine there. I've also checked individual folders and the Documents folder itself check that nothing is locked.
    The only strange thing I've noticed is that sometimes when I save a txt file it will create multiple versions w/ crazy file names.
    Any thoughts would be appreciated before I schlep my computer down to the Mac store.
    thanks

    What files are you trying to move?

  • MAXIMUM NUMBER OF OPEN TXT FILES(notepad) IN JAVA

    I have a java application, the program visits about 200-300 links and parses the data and writes them to about 40 to 200 txt files, sometimes when it has to open 80 or more txt files and write the parsed datat to them the program freezes for 3-5 minutes, is there a limit to how many txt files a java application can open?
    Any ides what causes this problem?
    If it has to open 50 or less txt files then it works fine

    More information regarding my problem:
    Whenever the application freezes for 2-4 minutes and then restarts if I reboot my PC and try again it works fine when I run it 3-4 times and then if I try again the freezing/restart problem occurs again, if I reboot again it runs finr the first 3-4 times and then the problem returns,...
    What do you guys think?
    Thanks

  • Open .xls file from cv02n Transaction

    Hai all,
    I am using an ALV report, in that i am using a button.When i click the button a .xls file from cv02n should be open(for that i am passing document and document type as i/p).
    How can i achieve this? Is there any function module available for this? or any other way ?

    thanks 4 ur reply, but i have found the answer, i m using the following coding
    Process procs = Runtime.getRuntime().exec("cmd /c start D:/Report_Files/SaleParts.xls");
    and it works.
    again thanks for reply.

  • [solved] Zim opens txt file with Wine Notepad

    I'm using KDE4.
    In Zim, Tools / Edit source opens the txt file with Wine Notepad. I guess this is the default association for txt files in GTK. How can I change this without using Gnome?
    Last edited by SanskritFritz (2010-10-18 07:04:58)

    Yes ,desktop and mimelist files in ~/.local. I have survived these anomalies to learn its much less pain to use windoze apps under virtualization environment than under emulation. And poweroff the virtual machine whenever it hangs.

  • Office 2013 applications crash when opening/saving files in OneDrive for Business folder

    My setup:
    Windows 7 64-bit
    Office 2013 Professional
    OneDrive for Business (connected to Office 365)
    Issue Description:
    Example 1:
    1.  I create a file in OneDrive for Business using the appropriate web app (Excel web app, for example).
    2.  I edit the file in the web app, I save the file in my OneDrive for Business
    3.  I sync OneDrive for Business with it's local folder
    4.  Now I open the folder in Windows Explorer and double-click the Excel file
    5.  Excel splash screen shows up for a bit, and then Excel crashes
    Example 2:
    1.  I open Word on my Windows 7 laptop
    2.  I start from a blank document and create some content in the document
    3.  I use the Save As option under the File menu to save the file to my local OneDrive for Business folder
    4.  As soon as I click the Save button on the dialog, Word crashes
    The same happens with all the Office applications.
    Important Note:
    If I run the above examples with Excel/Word in SAFE mode, there is absolutely no issue.
    What have I done so far?
    1.  I have made sure that the DisplayLink driver is the latest version from the manufacturer
    2.  There is no bluetooth send-to add-in in any of the Office applications
    3.  No add-ins are enabled in any of the Office applications (not sure if there are "stealth" ones that are not visible in the Options/Add-Ins dialog?)
    Any assistance with this would be much appreciated.
    JeHarry

    Hi JeHarry,
    Because I didn't have Windows 7, I did a test with Windows 8.1 based on your description. However, in my testing, everything worked well.
    Please repair your Office under Control Panel, compare the result.
    This forum is for SharePoint On-premise, as your issue is about Office 365, I suggest you create a new thread on Office 365 forum, more experts will assist you with Office 365.
    Office 365 forum:
     http://community.office365.com/en-us/f/172.aspx
    Best Regards,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • How to open a file with C# for wp8

    I have a downloaded file (downloaded by my app) for instance a doc or a pdf.
    How is possible to open it from my WP8 application using C#?
    Thanks

    Hi SeDevWP,
    If you have installed a app that can open your file on your phone, then you can open it on your Windows Phone 8 application, for example, if you want to open a pdf file in your application and you have installed the Adobe Reader,
    then you can use the following code to open the pdf file in C#:
    private async void Button_Click(object sender, RoutedEventArgs rea)
    StorageFolder local = Windows.Storage.ApplicationData.Current.LocalFolder;
    StorageFile pdffile = await local.GetFileAsync("file.pdf");
    // Launch the pdf file.
    Windows.System.Launcher.LaunchFileAsync(pdffile);
    For more information, please try to refer to this document:
    http://msdn.microsoft.com/library/windows/apps/jj206987(v=vs.105).aspx .
    If you do not installed a app that can open your file on your phone, then maybe you need to check some third-party library to meet your requirement.
    Best Regards,
    Amy Peng
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Can't open pdf files in Safari for Windows

    Hi, I haven't been able to open pdf files in Safari - each time I click on a pdf link, a new tab opend and then a pop-up window says "can't open Adobe" (or something like that), and then Safari crashes. I've read that the solution is to install Adobe Reader 8, but I can't because I already have Adobe Acrobat which doesn't seem to work with safari. Does anyone know a way to view pdf files in Safari for windows?

    Try to uninstall and after that install Acrobat Reader 8 again.

Maybe you are looking for

  • Adobe Photoshop Touch Question / Issue

    Hello, I bought Adobe Photoshop Touch some time ago for my Samsung Galaxy Tab 8.9 and I liked it so much. Of all the apps I had for photo editing, this one gave me all I need. I used to own Adobe Photoshop CS2 on my old PC so I wanted something for m

  • Adobe Muse 2014 won't open at all.

    I have installed the recent update for all the Adobe CC programs but Muse doesn't open at all. I have tried uninstalling and re-installing all my adobe programs. They all work except Muse 2014. I double click to open and it does nothing at all. Can s

  • Data Not Aggregated properly in the visualization

    Hi Experts, I have created a Simple BO Explorer report with a few facets and the automatic measure 'Occurrences'. The Facets Panel shows proper data. But when I have the Visualize Panel open it shows a different result. I am not sure why this happens

  • SQL script into a CASE statement ?

    Hy, can someone tell me, please, if is it possible insert into a case statement (shell unix script) one or more SQL script ? For example : case aaa in 1 ) sqlplus blabla <<! update ... insert ... 2 ) esac Thank you very much ! Andys

  • Fixed amounts for wagetypes

    Hi Guys, Can you help me with this one? I was asked to change fixed amounts for two wagetypes related to shiftwork in China. I did that in table T510J. The new values work for all pers. areas. However, customer would like to have different values for