Cant open the file

hi guyz,
i am trying to open the  file (.txt) using program but i cant for some reason..when try wid run .....the file is there in specified location...
sy-subrc = 8.
code:
OPEN DATASET p_file FOR INPUT IN text mode .
  IF sy-subrc = 0.
Upload data from FILE
    DO.
      CLEAR tab_data-line.
      READ DATASET p_file INTO tab_data-line.
      IF sy-subrc NE 0.
        EXIT.
      ENDIF.
      APPEND tab_data.  CLEAR: tab_data.
    ENDDO.
    CLOSE DATASET p_file.
  ENDIF.
plz advise

Hi,
It sounds that you are trying to read the file on presentation server as you specified that you had checked whether the file is there or not using RUN.
So if it is regarding presentation server then go for GUI_UPLOAD function module which is used to upload file  present in presentation server.
[Sample code|http://www.experts-exchange.com/Database/Software/ERP/SAP/Q_21278801.html]
For both presentation file and Application file check the below link....
[Presentation & Application files example|http://www.sap-img.com/ab004.htm]
Check this thread as well....
GUI_UPLOAD
Coming to the code what you written.....
You are closing the file iff SY-SUBRC EQ 0. that should not happen as you had opened independent of any condition you have to close that independently.
Hope the information provided would help you.
Regards
Narin Nandivada

Similar Messages

  • CS5 cant open the file as it may not be recognised or missing plugin?? HELP!

    This is the warning message i keep getting the file is a PDF and was saved on the program Nitro Pdf i have since deleted the programme and want to open the file in InDesign but keep getting this box any ideas?

    InDesign cannot open PDF directly without the PDF2ID plugin from Recosoft. You woudl normally PLACE a PDF file the same way you would place an image.

  • Ive installed the programme but cant open the file?

    Ive installed a free trail to my Windows 8 but I have a shortcut on the desktop but it just takes me to the Creative Cloud Apps page on my computer and wont let me open Premier Pro to create a project! PLEASE HELP ME

    On my Start there is only a shortcut to Creative Cloud where it takes me to a list of all the apps Ive installed and how to upload work online, rather than allowing me to open the software.

  • I cant seem to open some photos on Iphoto. I downloaded like 3 months ago from my phone into the iphoto. I could access ALL of my photos back then but when I try and access them now I cant seem to open the file

    I cant seem to open some photos on Iphoto. I downloaded like 3 months ago from my phone into the iphoto. I could access ALL of my photos back then but when I try and access them now I cant seem to open the file. When i open iphoto and open the folder thats on it, i can see ALL the photos that are there but when I click on different ones some appear in the larger screen but A LOT of them dont appear. Iphoto seems to have erased the file or I dont know.
    Also I tried clicking on the photo that doesnt appear and making it "Reveal it on finder" - "original file" and it says 'The operation can’t be completed because the item can’t be found.".
    I really want those photos because they involve a really special family vacation, please help me find those photos

    A LOT of them dont appear.
    What do you see in the window when you click on those?  A blank, black window?  An exclamation mark?  What?

  • I am using I Photo 9.2.3 with OS 10.6.8 When I upgraded to current I photo some of my Iphoto books i put together disappeared.  Cant find them anywhere, including in the time machine...I photo cant open older files...How can a find  th book entitled "Mom"

    I am using I Photo 9.2.3 with OS 10.6.8 When I upgraded to current I photo some of my Iphoto books i put together disappeared.  Cant find them anywhere, including in the time machine...I photo cant open older files...How can a find  the book entitled "Mom"  ?  Does Apple keep ordered books on file?

    Apple keeps books for a short time (used to be 40 days. I've not seen a recent time frame)
    What version did you have?
    Books do nor exist except in the iPhoto database so you can not "find" a book vista TM. You restore a previous library (be sure NOT to overwrite your current library) and switch to it
    LN

  • Cant open pdf file ..it says....the adobe/acrobat reader that is running can not be used to view PDF files in a web browser. please exit adobe/acrobat reader and exit your web brouser and try again

    cant open pdf file ..it says....The adobe/acrobat reader that is running can not be used to view PDF files in a web browser. please exit adobe/acrobat reader and exit your web browser and try again

    -> [[Troubleshooting extensions and themes]]
    -> Clear Cookies & Cache
    * https://support.mozilla.com/en-US/kb/Template:clearCookiesCache
    -> [[How to clear the cache#w_clear-the-cache|Clear the Network Cache]]
    '''Plugins Updates'''
    Your Flash plugin is quite older. You need to update it.
    * Adobe Flash Player 11.0.1.152 (3.59 MB)
    * http://get.adobe.com/flashplayer/
    Your Java plugin is quite older. You need to update it.
    * Java Version 6 Update 29
    * http://java.com/en/download/index.jsp
    * [[Using the Java plugin with Firefox]]
    -> Update All your Firefox Plugins
    * https://www-dev.allizom.org/en-US/plugincheck/
    * http://www.mozilla.com/en-US/plugincheck/
    '''When Downloading Plugins Update setup files, Remove Checkmark from Downloading other Optional Softwares with your Plugins (e.g. Toolbars, McAfee, Google Chrome, etc.)'''
    Check and tell if its working.

  • HT4796 I just downloaded the Windows Migrator and tryed to open it.  A window popped up saying "YOU CANT OPEN THE APPLICATION BECAUSE MICROSOFT APPLICATIONS ARE NOT SUPPORTED ON OS X".  How do i transfer my file?

    I just downloaded the Windows Migrator and tryed to open it.  A window popped up saying "YOU CANT OPEN THE APPLICATION BECAUSE MICROSOFT APPLICATIONS ARE NOT SUPPORTED ON OS X".  How do i transfer my files?

    An .exe application is compiled for Windows. It will not run on a different OS. If you need to run this program, then you will have to install Windows on your Mac. Either as a separate bootable partition, or running in a virtual machine, such as Parallels or VMWare.

  • Cant open PDF file when is on the web site

    Hello
    I cant open the PDF file when this file is on the web site .
    But I can open the PDF file when this file is in my computer.
    I use the adobe 9 on windows XP
    Help me ... Great thanks
    Marc Boucher

    The message error say
    The program Acrobat Adobe/Reader in progress can not be used to open a file pdf in a Web navigator. Version 8 or 9 for Adobe Acrobat/Reader is necessary
    But I have the 9 version of Adobe reader !!!

  • 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?

  • I purchased a file that advised it works with Illustrator intalled via extension manager and it only shows in my 'others products'? I cant even open the file in illustrator or in design? Help    =)

    I purchased a file that advised it works with Illustrator intalled via extension manager and it only shows in my 'others products'? I cant even open the file in illustrator or in design? Help    =)

    What's the product name please?

  • I can't get my music to play in my itunes. It comes with a exclamation mark next to the song numbers and says that the original songs can't be played cause cant find the file. How do I get the songs back? (I found the files)

    I can't get my music to play in my itunes. It comes with a exclamation mark next to the song numbers and says that the original songs can't be played cause cant find the file. How do I get the songs back? (I found the files

    You get exclamation marks or dead tracks because  iTunes can’t find the file. This can happen for a number of reasons:
    The song file or a folder in its path was renamed
    The song file or the folder it is in has been moved
    The song file has been deleted
    The device containing the song files e.g. external drive is not accessible or the drive letter has changed.
    If you use an external drive, a change in drive letter is a common cause and you need to change it back.
    AS a way of working out what has happened, right click on a track and select the summary tab (you will have to go past an error message). The summary tab will tell you where iTunes thinks the track is located. How does that compare with where the track actually is?
    The xml library file is not used by iTunes, it is created to allow other programs to access the library. You can recreate the iTl file from the xml file, but there is no point if the location of the files is wrong.
    There is a simple way of getting you music back in iTunes, but it loses all playlists counts and rating. To do this drag iTunes library.itl and iTunes Library.xml to your desktop. Then open iTunes and an empty library is created. Add you iTunes Media folder to it.
    If you can't work out what went wrong and how to fix it, you may have to do this.

  • Sony NEW RX10 & iPhoto Cant open RAW files

    Hey Guys, I know that not ALL RAW files are equal! I just picked up a NEW SONY RX10 and its shooting RAW files in Sony's ARW format.. I see that the NEW a7's are updated in OSX updates, Im assuming that the a7's and the New RX10 are the same ARW format, but I cant open these files in Preview and Iphoto wont see them either! Im using OSX 10.8.5 (ML) and Iphoto 11 (9.4.3) (720.91) Is anyone else having this issue with a RX10 or newer Sony camera with ARW files... Please reply! I really would like to shoot in RAW and use iPhoto to edit! I guess not ALL SONY .ARW are equal????

    Im assuming that the a7's and the New RX10 are the same ARW format,
    There you go - that is an incorrect assumption (as most assumptions are - as you know when you assume you make an ***ume out of ***ume & assume) - every RAW format for every camera is different and requires specific support for tha tcamera - notice in the support list that many different cameras in the same family are listed seperatly
    Usually Apple releases Sony RAW support pretty quickly since Sony is a major manfactuer of consumer and professional cameras
    Tell Apple - iPhoto menu ==> provide iPhoto feedback
    The Sony software that came with the camera may help (although my experiance is that Sony has poor to non-existance support for Macs) and possible the Adobe RAW converter can help until Apple releases the required update
    And it is very possible that the update will only apply to Mavericks and iPhoto 9.5.x so it is possible that you will have to upgrade your OS and iPhoto (both free) - when you do be sure to backup first
    The current Mavericks list is at http://support.apple.com/kb/ht5955
    LN

  • I have iphone6 and I cant open PDF files which attached to my email

    Dear All
    I have iPhone and I cant open PDF files which attached to my email
    Regards

    thanks for the suggestions weather15 - the firefox help site you directed me to explains what ought to happen but i cant make it work. I shut my firefox browser on my new machine and attach the hard drive from my old machine. I can explore the contents of that drive but when i search it for the suggested folder " %APPDATA%\Mozilla\Firefox\Profiles\" nothing is found. when i try and open firefox from the old drive, the browser opens that is the new version that i have on my new computer with no saved bookmarks! Am I doing everything right?

  • I cant open a file in google drive and it keep redirect me to another page

    i cant open a file in google drive and it keep redirect me to another page. It just keep happening. And is there a way to block a rubbish page to keep connect to my firefox browser. I mean the pugins. it is already happen more than once.

    Change the following --> ''Firefox button > Options > Options (or Tools > Options) > Advanced > General tab > un-check "Warn me when webistes try to redirect or reload the page"''
    *See --> https://support.mozilla.org/en-US/kb/settings-network-updates-and-encryption#os=win&browser=fx13
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You may need to update some plug-ins. Check your plug-ins and update as necessary:
    *Plug-in check --> http://www.mozilla.org/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.org/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.org/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.org/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *'''''Next Generation Java Plug-in for Mozilla browsers''''': [https://support.mozilla.org/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • Photoshop cs3 cant open CR2 files

    i cant open CR2 files in photoshop cs3 ( nope in bridge cs3)
    please tell me what should i do or download?
    thank you

    Troubleshooting 101: What OS? What camera? What version of Camera Raw do you have installed?
    Odds are you either need to update Camera Rae to 4.6 (the last for CS3) or download the DNG Convertor 5.4 to convert recent (as in the latest Rebel or 5D M3's).
    A place to stop regarding compatibility would be the Camera Raw product page and if you had bothered to mention your OS we could point you to downloads as well.

Maybe you are looking for

  • Image swap not working in IE

    I have set up an image gallery using image swap in the behaviours window.  It only shows a thin line where the large picture should be in IE.  It does work in all the other browsers. Please help.

  • Decimals problem after calculation

    Hi All, I am facing an issue with decimals after calculation. Below is my calculation. l_sales_amt_round = lwa_post_data-cccur_sale +                     ( lwa_post_data-cccur_sale *                       wa_post_data-taxper ). Here lwa_post_data-ccc

  • Remote instance of ias6.5 in winnt4 console

    Hello, I'm trying to administer ias6.5 remotely but application server administration tool doesn't show up in the console. It seems like the issue (bug #4634092 ) is resolved in ias6.5 maintenance pack 1. Questions are: 1. how can I get maintenance p

  • Viewing Photoshop Styles

    Is there anything that would allow styles to be viewed without actually loading them in Photoshop? I have a large collection and would like to find some way to look at them without loading them and then deleting them when they're not the ones I want.

  • Mac OS X 10.7.5. No MagicPref, no USBDriver(?) No scrolling any direction. HELP PLEASE!

    My Magic mouse won't scroll. I have Mac OS X 10.7.5 and have no MagicPref and no USBDriver(?) as I have seen other posts that say to check these. I have no scrolling any direction and I have been in 'Universal Acc' and 'Mouse' to make sure that all c