BSP page only works for me

Hi,
I have a very weird problem with a BSP-page I created.
The situation is the following:
- I can run my BSP page the way it should (it uploads a file of name e.g. TEST.CSV to the application server, and first checks if the files selected is really TEST.CSV.
1 - When somebody else tries to acces my bsp page, and logs in with their own SAP login, they get the error, saying that the filename is not TEST.CSV
2 - When I login with my SAP login (working in situation 1) on their PC, it gives the same error, saying that the filename is not TEST.CSV
3 - When somebody uses my PC (from working situation 1) and logs in with their own SAP login, it still gives the same error
so: only when I login with my own SAP login on my own PC, the PC does what it should do.
What can be the problem?
the other users should normally have more authorizations than I have, so I guess that's not the problem...
ANY! ideas are welcome!
thanks a lot, points will be awarded of course!

Ok guys, I have found what is the problem: Internet Explorer.
Everything works perfect on Firefox, but in Internet Explorer, it always goes to the "wrong_file.htm" page like you can see in the code below. Some of the elements used must me firefox-only, although this really surprises me.
Any user can run the BSP perfectly on any pc, using firefox. Using IE, it doesn't work.
(Schrijven naar de UNIX server werkt dus perfect Eddy)
  find multipart containing file
clear error.
    num_multiparts = request->num_multiparts( ).
    while i <= num_multiparts.
      entity = request->get_multipart( i ).
      value = entity->get_header_field( '~content_filename' ).
      filenamecheck = entity->get_header_field( '~content_filename' ).
      if not value is initial.
      found a file!
        navigation->set_parameter( name  = 'content_filename'
                                   value = value ).
        content_type = entity->get_header_field( 'Content-Type' ).
        navigation->set_parameter( name  = 'content_type'
            value = content_type ).
      get file content
        file = entity->get_cdata( ).
      get file size
       content_length = xstrlen( file ).
        navigation->set_parameter( name  = 'content_length'
            value = content_length ).
check if filename is correct
        TRANSLATE filenamecheck TO UPPER CASE.
        if filenamecheck ne 'CG_BRA_PRO_FIN.CSV' .
        error = 'X'.
        else.
data: data_TAB type table of string, LIN TYPE LINE,fname type string.
split file at CL_ABAP_CHAR_UTILITIES=>CR_LF into table data_TAB.
fname = '/usr/sap/CG_BRA_PRO_FIN.CSV'.
OPEN DATASET fname FOR OUTPUT in TEXT MODE encoding default.
if sy-subrc gt 0.
WRITE: / 'Error opening file'.
endif.
LOOP AT data_TAB INTO LIN.
TRANSFER LIN TO FNAME.
ENDLOOP.
CLOSE DATASET FNAME.
        exit.
    endif.
endif.
      i = i + 1.
    endwhile.
   if error eq 'X'.
navigation->goto_page( 'wrong_file.htm' ).
else.
navigation->goto_page( 'end_upload.htm' ).
endif.

Similar Messages

  • Exporting PDF files on CS5 - hyperlinks to URLs only work for first page

    I'm new to InDesign and am working through the "Classroom in a Book" training workbook for CS5, I 've got to lesson 14 and have found that when exporting to PDF (interactive) format, the hyperlink to a URL only work for the first page of the document.
    I made my own document with links on multiple pages, and the same thing happened. I followed the lesson to the letter (3 times!)
    I also tried setting up individual links for individual pages and that did work, so how do I get one piece of text to link to one URL on multiple pages of a document (ie on a Master page) ???

    Thanks Peter,  I've actually got CS5.5, so I presume this patch is already updated on this version, because when I tried the 7_0_4 patch it wouldn't run; giving the message: "Some updates failed to install, and "update is not applicable". So I tried the latest update: 7_5_2 patch, but I'm still experiencing the same problems with hyperlinks not working from the Master pages.

  • Safari and firefox stop working after a few minutes of browsing, regardless of what site I'm on. I have to restart my computer to get internet access again but it only works for a few more minutes, then I have to restart again. Please help!

    Safari and firefox stop working after a few minutes of browsing, regardless of what site I'm on. I have to restart my computer to get internet access again but it only works for a few more minutes, then I have to restart again. I don't get a spinning ball, it just stops working at whatever page it's on. I can close the program just fine but when I re-open it, either safari or firefox, it freezes trying to load the hompage. This started a few days ago after trying to stream a movie on my computer. I'm on a Mac Air OS X Version 10.6.8 and have downloaded all updates. When I go into finder, it says I have over 80 gigs available. Is there some other memory cache that I need to check? Thanks so much for your help.

    ejwoodall wrote:
    It's not a router problem as I explained in my post. If it was a router problem then I wouldn't have the problem everywhere I go. It is an issue with the software.
    Then I guess the millions of people running 10.5.7 with no issues are just hallucinating that their machines are working fine?
    I'm not trying to belittle your issues; you're certainly having them and I know first hand how annoying an intermittent AirPort issue can be. (In fact, mine was due to an AirPort driver bug that no one else seemed to suffer from.)
    The single best diagnostic you could do is take your system running 10.5.7 to an Apple Store, and try using their in-store network.
    If your machine performs flawlessly, it may be a router issue.
    If your machine has connectivity issues there, it may be a hardware problem with your machine.
    There have been numerous people in multiple threads over the years who swore that an update was buggy because things used to work, but returned later to sheepishly admit that they took their machine in, a problem was found and fixed, and now their Mac works flawlessly with the newer software.
    But simply reinstalling 10.5.5 in no way means the explanation of how firmware bugs may be at play here is incorrect.
    In the context of that explanation, all you've done is possibly reinstall software that asks to add "2 + 3."

  • Hide "more" button in a list view, only works for first item in the list

    I have the following code in a list view that outputs several dozen items in a web app.  The code only works for the first item, how can I make it loop through and execute the test for each item in the list view?  The {tag_hide more button} is a checkmark field that yields a numeric 1" if checked otherwise yields a numeric "0".
    <div id="more-option">
            <p class="right"><a href="{tag_itemurl_nolink}" class="btn btn-small btn-very-subtle">More &rarr;</a></p>
          </div>
          <div class="more-selection" style="display: none;">{tag_hide more button}</div>
          <script>
    if ($(".more-selection").text() == "1") {
        $("#more-option").hide();
    </script>

    What's the URL for the site where you are using this?  Offhand, it looks like it should work with your first example so you are either placing the script before those elements are loaded or you might try wrapping your current javascript inside the:
    $(document).ready(function() {
    --- your existing javascript here
    This make sure the code runs once all the html is loaded on the page.  Without seeing a URL and debugging with the js console in Chrome I can't give you a solid answer.
    But, I do know that you can probably do this with a lot less markup.  Once we figure out what the actual problem is I have a better solution mocked up for you on jsfiddle.
    When looking at my HTML code on jsfiddle, please realize I setup some dummy HTML and removed your tags and added actual values which would be output by your tags.  The main thing I did was remove the whole div.more-selection and instead, added a "data-is-selected" attribute on your div.more-option element.  Then, in my javascript for each div.my-option element on the page, we loop through them, find the value of that data attribute and hide that div if it's less than 1 (or 0).
    Here's the fiddle for you to look at:  http://jsfiddle.net/thetrickster/Mfmdu/
    You'll see in the end result that only two divs show up, both of those divs have data-is-selected="1".
    You can try pasting the javascript code near the closing </body> tag on your page and make sure to wrap my js inside a <script> tag, obviously.  My way is neater on the markup side.  If you can't get it to work it's likely a jquery conflict issue.  My version is using the $(document).ready() method to make sure all the code is loaded before it runs.
    Best,
    Chris

  • 2 finger swipe only work for safari

    just installed Lion on MBP,  2 finger swipe back and forward only work for safari & ical, not even finder?

    Change the setting for Swipe Between Page to "Swipe with two or three fingers" works for me in Finder now :-)

  • Video adapter only works for slide shows.

    We received the Apple video adapter today. It appears that it only works for slide shows? It might also work for Keynote, but we don't use that much and haven't installed on the iPad. For our purposes, we'd like to be able to display from other programs- Numbers, Pages, and a PDF reader. This seems counterintuitive to business use if the adaptor isn't fully functional. We are hoping that a software upgrade will make the adaptor functional.

    The iPad Dock Connector to VGA Adapter can play content to a VGA display when using the following apps:
    Videos
    Photos—Slideshow playback only
    YouTube
    Keynote
    Safari—Video content on webpages
    Whether Apple will add additional support in the future is unknown, but you can indicate your interest to Apple via their feedback page:
    http://www.apple.com/feedback/ipad.html
    Regards.

  • My spell check only works for about half of an article. Is there a way to fix this?

    When I'm on a wiki, looking at an article, I sometimes see a couple spelling errors that just bug me, so I sometimes go in and fix them. However, when I pull up the editing page, the spell check only works for about the first half of the article. I can't find the errors if they're in the second half of the article. Is there a way to fix this?

    You can try basic steps like these in case of issues with web pages:
    Reload web page(s) and bypass the cache to refresh possibly outdated or corrupted files.
    *Hold down the Shift key and left-click the Reload button
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Command + Shift + R" (Mac)
    Clear the cache and the cookies from websites that cause problems.
    "Clear the Cache":
    *Firefox/Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Firefox/Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • There were some updates on my Apps.  I updated them on my iTunes but my iPad did not get the same downloads/updates thru iCloud.  Does the iCloud only works for "New" Apps or Books downloaded from the store but not the "Updates"?

    There were some updates on my Apps.  I updated them on my iTunes but my iPad did not get the same downloads/updates thru iCloud.  Does the iCloud only works for "New" Apps or Books downloaded from the store but not the "Updates"?

    Purchased music does not count against your iCloud storage and you cannot get rid of them in the purchased tab.
    What is backed up
    You get unlimited free storage for:
    Purchased music, movies, TV shows, apps, and books
    Notes: Backup of purchased music is not available in all countries. Backups of purchased movies and TV shows are U.S. only. Previous purchases may not be restored if they are no longer in the iTunes Store, App Store, or iBookstore.
    Some previously purchased movies may not be available in iTunes in the Cloud. These movies will indicate that they are not available in iTunes in the Cloud on their product details page in the iTunes Store. Previous purchases may be unavailable if they have been refunded or are no longer available in the iTunes Store, App Store, or iBookstore.
    Look here for help on managing iCloud storage.
    http://support.apple.com/kb/HT4847

  • My ringer is no longer working for text and email notifications. Only working for phone calls. I have gone through all the settings to see where something is off. Not finding anything. I have tried changing the tone and it just vibrates on everything.

    My ringer is no longer working for text and email notifications. Only working for phone calls. I have gone through all the settings to see where something is off. Not finding anything. I have tried changing the tone and it just vibrates on everything.

    Ok so I happened to figure it out while on the phone to apple support. Even though the guy was very nice, I think I knew more than him! He was explaining very basic resolution principles I played about. I had the second option in displays resolution. All I did was unplug the HDMI cable, click on 'best for display' then plugged the HDMI in and my resolution on the normal monitor changed to the normal blue, then went black momentarily and then changed to a strange resolution but another window appeared that said SONY BRAVIA HDMI at the top! Hey presto! Don't know why it didn't do it yesterday - I probably left the HDMI cable in or something! Oh well. Problem solved!

  • With my i phone 4 , the Push notifications doesn't work for apps like (fb viber , whatsapp etc ) it only works for the official apps like message  even when im using the phone, has  this probleme with the iOs 6.0.1 and also with the iOs 6.1

    With my i phone 4 , the Push notifications doesn't work for apps like (fb viber , whatsapp etc ) it only works for the official apps like message  even when im using the phone, has  this probleme with the iOs 6.0.1 and also with the iOs 6.1

    This isn't an issue. Notice the screen prior to the one that shows usage has an iCloud section and a Manage Storage button. For this button to activate ios needs to download a few kb from icloud. Switching back to this screen forces ios to download those few kb.

  • Time Capsule only works for one device at a time, how to make it capable to be used for multiple devices at times

    Time Capsule only works for one device at a time, how to make it capable to be used for multiple devices at times.
    Please help to set it up, thanks in advance

    You need to give more info..
    Firstly only works for what.. networking.. backup.. wireless. You need more nouns.. more adjectives... describe what you want and what fails.. then we can figure out why.
    Most likely you have bridged it when it should be in router mode..
    Most likely you are using Lion or ML which has the airport utility bridge the TC by default.
    Change it to working as a router. That might help.
    If you press reset button it will default back to router btw.
    If you are on Lion.. use a real utility. http://support.apple.com/kb/DL1547

  • My Ipod touch does not work properly.When i charge it,it only works for 5 min.n gets discharge.I showed it to the apple store in banglore n the person told me its fine n It is working properly.Bt its not working properly.Can someone help

    My Ipod touch does not work properly.When i charge it,it only works for 5 min.n gets discharge.I showed it to the apple store in banglore n the person told me its fine n It is working properly.Bt its not working properly.Can someone help

    If after you charge it for about three hours and it only last about five minutes the battery is probably dead or there could be another hardware problem.  I would go back to the Apple store and ask them specifically how can it be OK if the fully charged battery only lasts five minutes.

  • My applications always quit...iChat only works for 4 minutes at a time HELP

    ok so i bought leopard today
    i installed it but i skipped that step when leopard checks the volume of your comp or whateever (not sure if that will affect what im about to say)
    now i have leopard...i love it but my applications just KEEP quitting out and my iChat only works for 4 minutes and then my friends stop recieving my messages
    should i uninstall and re install?? how would i go about doing that??
    anything just please help

    One possibility is that your hard drive is failing. If you don't have backups of any data you don't want to lose, that needs to be your number one priority. Get that data backed up. Once you have done that, you can start exploring options.
    Open Disk Utility, select your hard drive and take a look at the SMART status:
    If it says anything other than Verified, the drive is definitely failing. If it says Verified, all that means is that it isn't failing in a way that the drive can detect.

  • ITUNES ONLY WORKS FOR 5 MINUTES AT A TIME

    iTunes stopped working about a month ago, but then I fixed it using the msconfig solution. It worked for a while now I have the same problem, i can fix it, but then iTunes only works for about five minutes before closing. This is the only way I can fix it; first, by re-installing iTunes, then, doing the msconfig solution and restarting the computer. Then after about 5 minutes it closes. To open it again I have to go through the whole proccess. I cannot figure out how to permanently fix it.

    Sounds like you have some malware that is interfering with iTunes.
    What do you have to turn off in msconfig to get iTunes working?
    It's pretty involved to remove it. If you have purchased security software like Norton or McAfee, I suggest contacting them for help.
    Otherwise try this
    http://mysite.verizon.net/dbjcgj/id1.html

  • Creative Zen Nano Plus Media Explorer only works for administra

    Creative Zen Nano Plus Media Explorer only works for the administrator account; for other users the message "The Zen Nano Plus is not connected. Please connect your Zen Nano Plus to the computer." is displayed, but it *is* connected and works under other programs.
    Version is .0.03.
    Thanks for any assistance.
    Edit: System is XPMessage Edited by zigkill on 0--2006 06:23 AM

    RMskater wrote:I think you need to change the permissions to "Everyone".
    How exactly do you do this? I checked this out tonight - when I logged onto my PC using my son's Limited User account (XP Home, BTW) I could connect his N200 and see it in Device Manager and Windows Explorer but both Creative pieces of software (CMS and N200 Media Explorer) did not see that it was there!
    I tried setting the Run As... properties for the CTMS.exe file to run as one of the Admin user accounts but kept getting an error about being unable to find a specific file (which is in the Media Explorer folder!). When I went back to using the current user the error stopped. Perhaps I need to set the Run As.. options on that file as well?
    As we don't use DRM'd music this isn't going to be a problem but it would be good to find out the cause of this once and for all.
    I'm going to see if WMP0 has problems as well or if it's just the Creative ap
    ps.
    PB

Maybe you are looking for

  • Vendor Bank details for India

    Hello, how do I have to maintain the vendor bank details for an Indian bank? How are the country-specific settings for India in OY17? We have the following informations from our vendor: Bank name Steet City Swift Branch 1. USD A/c 2. EUR A/c Which in

  • Internal error 2356. Has anyone seen this

    I have done everything to reinstall itunes. When it is just about finished installing a message reading: Internal Error 2356.Data1.cab and Installation of Quicktime did not complete succesfully. I tried installing quicktime alone and with itunes, nei

  • IPhone5 Screen Freeze

    Hi all, This is my first post so I will try and be as clear as possible so hopefully someone will be able to assist. I have purchased an iPhone 5 (original so not S or C) for my girlfriend from Ebay which was refurbished by a reputable dealer. This i

  • Queue based publication items

    has anyone used these and what for? (sort of) managed to get these to work as a replacement for all of our fast refresh publication items, and get real time synchronisation without the MGP process running, but had to put in some serious work arounds

  • Handling Date

    Scenario: I have news archive html form that'll search news from this date to this date. I have given option list as day, month, year I am getting value of month as number and started from 0 (i.e. jan) 2. in servlet file I am getting the parameters o