Testing the BAPI_ACC_INVOICE_RECEIPT_POST in SE37

Hi Experts,
I am unable to test the BAPI_ACC_INVOICE_RECEIPT_POST in SE37.succesfully after filling out the obligarory parameters.
I am seeig the following msg "FI/CO interface: Inconsistent FI/CO line item data for updating"
Please tell me what could be worng with my testing..
Thanks
DAn

Hi Experts,
I am unable to test the BAPI_ACC_INVOICE_RECEIPT_POST in SE37.succesfully after filling out the obligarory parameters.
I am seeig the following msg "FI/CO interface: Inconsistent FI/CO line item data for updating"
Please tell me what could be worng with my testing..
Thanks
DAn

Similar Messages

  • Error"SYSTEM Failure" while testing the RFC in SE37  : RFC to JDBC Scenario

    Hi All,
    I am doing RFC to JDBC scenario. When I am testing the RFC in SE37 using the RFC destination created in SM59, I get an error "SYSTEM FAILURE".
    Please suggest.
    Thanks,
    Shyam
    Edited by: Shyam Sreepada on Dec 18, 2007 5:46 PM

    Hi,
    You must run RFC with RFC destination in background mode, I suggest to read following post in order to understand it better.
    Syntax would be:
    CALL FUNCTION func IN BACKGROUND TASK
                       [DESTINATION <your RFC destination>]
                       parameter list
    http://help.sap.com/saphelp_nw04/helpdata/en/8f/53b67ad30be445b0ccc968d69bc6ff/frameset.htm
    If you read it you will find that you can't test it directly from SE37, for this either you need to create dummy ABAP program or another RFC where you will call this RFC with background syntax.
    Regards,
    Gourav
    Reward points if it helps you
    Edited by: Gourav Khare on Dec 18, 2007 6:07 PM

  • Error while testing the BAPI

    Hey all,
    when am testing the bapi BAPI_LOAN_CONTRACT_CREATE (standard BAPI FOR LOAN CREATION) for creation of loan i am facing with an error saying TR0100 : ROLE TYPE DOES NOT EXIST.
    Role Type is an entry for which the master data is TR0100and is in the table TB003
    i have checked the master data for it but everything is fine i have maintainedd all the requisite fields in it .
    Can anyone please advice me as to how do i check further and recify the same and successfully create the loan through this BAPI.
    Any help in this regards is highly appreciated.
    Sincerely
    vinila kanakala

    After testing in se37 i got yhe following error message in bapireturn.  Tell me how to solve as soon as possible.
    T ID                   NUM MESSAGE
    E 69                   879 Role TR0100 does not exist

  • Test FM BBP_PD_SC_CREATE via SE37

    Hello to all,
    i've just read a lot of stuff concerning the possibility to uplaod shopping cards via the function module. I'm new in the project and currently i haven't still a developer key, therefore i have to check via SE37 and make the test,  if the funktionmodule should be work fine and if we here also can use this one for uplaoding requirements from an other system ( maybe for cut over ).
    Concerning the import parameter i've used the great example from Marci:
    "I_HEADER
    GUID 00000000000000000000000000001
    DESCRIPTION TEST
    CURRENCY USD
    PROCESS_TYPE SHC
    I_ITEM
    GUID 00000000000000000000000000000002 <- item guid
    PARENT 00000000000000000000000000000001 <- header guid
    NUMBER_INT 0000000001
    NUMBER_EXT 0000000000
    PRODUCT 00000000000000000000000000000000
    DESCRIPTION MONITOR
    CATEGORY 00000000000000000000000000000000
    CATEGORY_ID 65.10
    QUANTITY 1.000
    UNIT EA
    PRICE 1.00
    PRICE_UNIT 1
    GROSS_PRICE 1.00
    CATALOG_PRICE 0.00
    CURRENCY USD
    PRODUCT_TYPE 01
    LOGSYS_FI CFG300
    BE_LOG_SYSTEM CFG300
    BE_PLANT BUS1
    BE_MOVE_REAS 0000
    BE_PUR_GROUP W01
    BE_PUR_ORG IBRD
    BE_CO_CODE IBRD
    BE_DOC_TYPE ECPO
    BE_PACKNO 00000000
    BE_INTROW 00000000
    BE_PO_PRICE 1
    I_ACCOUNT
    (for each item, you create an entrie that its linked to the item guid).
    GUID 00000000000000000000000000000003
    P_GUID 00000000000000000000000000000002 <- item guid
    DISTR_PERC 100.00
    ACC_NO 0001
    ACC_CAT CC
    SRC_GUID 00000000000000000000000000000000
    G_L_ACCT 500411060
    BUS_AREA VTRS
    COST_CTR 6589
    SDOC_ITEM 000000
    SCHED_LINE 0000
    CO_AREA WBG1
    PROF_SEGM 0000000000
    CMMT_ITEM 500411060
    FUNDS_CTR 6589
    FUND BB
    I_PARTNER
    PARTNER_GUID 000000000000000000000004
    P_GUID 000000000000000000000001 <- header guid
    PARTNER_FCT 00000039
    PARTNER_NO
    ADDR_TYPE 1
    ADDR_ORIGIN A
    ADDR_NO 10735
    PARTNER_ID 1058
    same like i have passed 3 more partner details.
    I_ORGDATA
    GUID 0000000000000000000000005
    P_GUID 0000000000000000000000001 <- header guid
    PROC_ORG_RESP_ID 50000641
    PROC_ORG_ID 50000640
    PROC_GROUP_ID 50000641"
    After correction the org data , we have also enter the leading 'O' within the data ( O 500000640 instead 500000640 ). If not i get an run time error message ---> UNCAUGHT_EXCEPTION.
    So and now i get 2 error messages after testing the function module.
    1.) if  try to get the partner information in the I_PARTNER table
    as follow:
    CLIENT                         020
    PARTNER_GUID                   00000000000000000000000000000004
    P_GUID                         00000000000000000000000000000001
    PARTNER_FCT                    00000016
    PARTNER_NO                     62EECA46C2B54F41E1000000A032B34E
    ATTRIBUTES
    MAINPARTNER
    ADDR_TYPE                      3
    ADDR_ORIGIN                    A
    DEL_IND
    PERS_NO                        10812
    ADDR_NO                        10910
    the error message occurs:
    E BBP_PD               050 Partner of type Requester is not authorized for this document. Check entry
    E BBP_PD               358 Select a location to which a plant has been assigned
    2.) if i don't fill in the I_PARTNER ( for testing ) than i only get the error : E BBP_PD               358 Select a location to which a plant has been assigned
    My question now is, a.) is it possible to make a test for this FUBA only via SE37 ( i guess yes but after this different messages i'm now a little bit confussed and not realy sure at present   )
    And if it also should be work, where can be the reason that the systems ment that there is no location assigned to a plant ( ERP ).
    Remark:
    I created a SC by using the WEB frontend with my user id. That worked fine. Therefore i'm convinced, that my user is correctly embedded in the PPOMA and all attributes are sufficient maintained .The made test in the SRM system via SE37 was still made with the same user, therefore i guess, that the same attributes should be get and therefore i absoluteley didnt understand the last message.
    It were great, if someone has an idear and could give me support :-)..
    thanks a lot .
    Thomas

    > Hi
    >
    > Which SRM version are you using ?
    >
    > <b>
    >
    > The function module which you have referred
    > "BBP_PD_SC_CREATE" is already used in the function
    > module BBP_PD_SC_CREATE_EXTERNAL to create the
    > shopping carts. Have you tried to use the
    > BBP_PD_SC_CREATE FM instead of the external one
    > ?</b>
    >
    > <i>You can use FM BBP_PD_SC_CREATE with this two
    > blogs:</i>
    >
    > https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/
    > 3614
    >
    > https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/
    > 3620
    >
    > <u>Please go through the following threads -></u>
    >
    > /message/36427#36427 [original link is broken]
    > 71#3642771
    >
    > /message/30841#30841 [original link is broken]
    > 26#3084126
    >
    > /message/33461#33461 [original link is broken]
    > 63#3346163
    >
    > /message/29221#29221 [original link is broken]
    > 65#2922165
    >
    > Re: Logon Error for BSP Applications.
    > 2&
    >
    > /message/28079#28079 [original link is broken]
    > 36&
    >
    > /message/33352#33352 [original link is broken]
    > 16#3335216
    >
    >
    >
    > <b>Hope this will help. Do let me know.</b>
    >
    > Regards
    > - Atul
    > Hi
    >
    > Which SRM version are you using ?
    >
    > <b>
    >
    > The function module which you have referred
    > "BBP_PD_SC_CREATE" is already used in the function
    > module BBP_PD_SC_CREATE_EXTERNAL to create the
    > shopping carts. Have you tried to use the
    > BBP_PD_SC_CREATE FM instead of the external one
    > ?</b>
    >
    > <i>You can use FM BBP_PD_SC_CREATE with this two
    > blogs:</i>
    >
    > https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/
    > 3614
    >
    > https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/
    > 3620
    >
    > <u>Please go through the following threads -></u>
    >
    > /message/36427#36427 [original link is broken]
    > 71#3642771
    >
    > /message/30841#30841 [original link is broken]
    > 26#3084126
    >
    > /message/33461#33461 [original link is broken]
    > 63#3346163
    >
    > /message/29221#29221 [original link is broken]
    > 65#2922165
    >
    > Re: Logon Error for BSP Applications.
    > 2&
    >
    > /message/28079#28079 [original link is broken]
    > 36&
    >
    > /message/33352#33352 [original link is broken]
    > 16#3335216
    >
    >
    >
    > <b>Hope this will help. Do let me know.</b>
    >
    > Regards
    > - Atul
    HI Atul,
    i've checked again all import parameter and values as in the example faced.
    Also i've made a setting concerning the plant as default in the PPOMA on organisation level for the department where my user is assigned to. Than i've create two line items for the i_partner table. One for the requester and the second  for the location. In both line items i've filled in the GUID of the partner NO.
    And in this constellation the funktion module works fine without occuring an error message.
    Thanks for the feedback.
    The next step will be to create the frame work by using the FM and the FM to store the test datas. I hope that also will be work as expected.
    Regards
    thomas

  • Can we execute the BAPI in SE37?.

    Can we execute the BAPI in SE37?.

    Yes Satish. We can execute BAPI's via transaction SE37.
    But for explicit commit we have to execute BAPI_TRANSACTION_COMMIT
    To do so:
    1. SE37.
    2. Menupath: Function Module -> Test -> Test Sequences
    3. In the popup screen, give the BAPI Name and then BAPI_TRANSACTION_COMMIT.
    These FM's will be executed in sequence.
    Hope this helps.
    Kind Regards
    Eswar

  • Doubt about How to test the BAPI

    Hi Experts,
    I have one doubt. How to test one BAPI. I have BAPI_DOCUMENT_SAVEOBJECTLINKS
    I am using this BAPI to attach the document to the material. I opened se37 .Here how to test the BAPI wether the BAPI is Suitable to attach the document  or not. Please let me know . Its very urent.
    Helpful answers may be reward points
    Regards
    Khanna

    Hi,
    First you have to create a new document using CV01N tcode. Here leave the document field as blank, document type value can be choosen from F4 help and document part and document version can be given as 0. Press enter and add the necessary values and save. It will then create a new document. Using that document go to SE37 and execute the BAPI. In the BAPI also you need to give the document no that is generated, and document type, document part and document version of the newly generated document. In the OBJECTLINKS table of the BAPI give the material number and other details. Please see the function module documentation of this BAPI also.
    Please reward points if it helps.
    Regards
    Vimal

  • Test the changes

    Hi,
    In order that SRM displays the changed or updated Purchase Requisition
    as follow-on document an enchancementspot must be created within
    the Function Module BBP_PD_SC_GETHISTORY. My problem is how can I test
    if my changes in the enchancement take place ?
    Please help.
    Regards
    ertas

    Hi. Can you not debug the function from SE37 and see if the changes work?
    Regards,
    Dave.

  • Error while testing the endpoints in Service Registry

    Hi,
    I am getting the following error while testing the endpoint in the Service Registry
    Invalid Response Code: (404) Not Found. The request URL was:"http://<server>:8000/sap/bc/srt/wsdl/bndg_DD73518A3AD471F18558001D0910D3CA/wsdl11/binding/ws_policy/document?sap-client=800". Check, whether the URL is correct, and the Web Service that you are requesting is up and running.
    I have created an Enterprise Service at the backend and have published to the Service Registry of the CE server , but while testing the endpoint in service registry i am getting error.
    Can any one please help me to solve this issue.
    Thanks & Regards,
    Hamsa Shree

    Hi hamsa,
    Have you tested the service? If It works, maybe there's something wrong with your destination configuration.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/705459a3-bf1c-2b10-8a9d-d300ada5f0fc
    You may find a solution in the above article.
    Good luck!
    Wenhao

  • Can not test the web service in JDeveloper.

    Hi there...
    I created an AppModule, added two custom methods, and generated a webservice for that. When I want to test the webservice I get the error "The Webservice Tester cannot be invoked because the WSDL document of the selected service cannot be read."
    If I right the webservice and select run, I can view the web page to invoke the methods, However I am wondering why I can't test the service inside the developer.
    The settings of my system are as follows:
    OS: windows 7 64bit
    JDeveloper: Studio Edition Version 11.1.1.3.0 , Build JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660
    I did not install any update for JDeveloper...
    So if anyone is having an idea what this problem is let me know.
    thanks .

    It seems that even if the test web service option does not work and i get the error, it is possible to run the web service, and then by clicking on the link in the log the tester in jdeveloper appears.
    Don't know the reason for such strange behavior.

  • Is there a method I can use to test the space cost of a Java program?

    I am trying to test the space cost of a Java program (or a few lines of executed codes), however...
    Firstly I tried to use the method freeMemory() in runtime class at start and end of a number of lines tested on, and then find the differences between them. But because I don't know when JVM releases memories, this idea seems not working.
    I also tries to use the -verbose:gc to print the GC actions, which is also hard to be automatically collected (Computing the results one by one by hand is too burdensome).
    Is there a method in some classes can be used for doing this? Could anyone help me on this, please?

    Up _+ ...                                                                                                                                                                                                                                                       

  • How Can I Test The Health of my Mac?

    Hello, I have a Mid-2012 13 inch MacBook Pro with 2.5 GHz, and an Intel Core i5 processor. I got this Mac about 14 months ago for Grade 8 high school work purposes (I'm in a special Digital Immersion program where all work is done on Macs). My Mac's performance and speed while using OS X has started to decline over the past few months, in a slow and gradual manner. I am not sure if this is something that I should be worried of, or not. I have 186 GB free from my 400 GB Mac OS X Mavericks partition, and 54 GB free out of 100 in my Windows partition. I use my Mac quite heavily for things like video editing with Final Cut Pro, photo editing with Photoshop, word processing, surfing the web, and the occasional game on Steam. I want to test the health of my computer to ensure it is okay. I used a Geekbench test and found with a single core my score is 2576, and with multi core 5177. The closest model I have found to mine is a Mid 2012 13 inch Macbook Pro, but with Intel core i7 instead of my i5, and this model on average scored about 2900. My hard drive in the past has failed which about 8 months ago required a wipe and reinstall of OS X. So, do I have anything to worry about? And what are some alternative methods to check the health of my Mac

    EtreCheck version: 1.9.15 (52)
    Report generated September 16, 2014 at 4:59:11 PM PDT
    Hardware Information: ?
      MacBook Pro (13-inch, Mid 2012) (Verified)
      MacBook Pro - model: MacBookPro9,2
      1 2.5 GHz Intel Core i5 CPU: 2 cores
      4 GB RAM
    Video Information: ?
      Intel HD Graphics 4000 - VRAM: 1024 MB
      Color LCD 1280 x 800
    System Software: ?
      OS X 10.9.2 (13C64) - Uptime: 3 days 21:25:16
    Disk Information: ?
      APPLE HDD ST500LM012 disk0 : (500.11 GB)
      S.M.A.R.T. Status: Verified
      EFI (disk0s1) <not mounted>: 209.7 MB
      Macintosh HD (disk0s2) / [Startup]: 399.25 GB (186.49 GB free)
      Recovery HD (disk0s3) <not mounted>: 650 MB
      BOOTCAMP (disk0s4) /Volumes/BOOTCAMP: 100 GB (54.19 GB free)
      HL-DT-ST DVDRW  GS41N 
    USB Information: ?
      Apple Inc. FaceTime HD Camera (Built-in)
      Apple Inc. Apple Internal Keyboard / Trackpad
      Apple Inc. BRCM20702 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Computer, Inc. IR Receiver
    Thunderbolt Information: ?
      Apple Inc. thunderbolt_bus
    Configuration files: ?
      /etc/hosts - Count: 20
    Gatekeeper: ?
      Anywhere
    Kernel Extensions: ?
      [loaded] com.avast.AvastFileShield (2.1.0 - SDK 10.9) Support
      [loaded] com.avast.PacketForwarder (1.4 - SDK 10.9) Support
      [loaded] com.globaldelight.driver.BoomDevice (1.1 - SDK 10.9) Support
      [loaded] com.logmein.hamachi (1.0) Support
      [not loaded] com.tomtom.driver.UsbEthernetGadget (1.0.0d1) Support
    Launch Daemons: ?
      [loaded] com.adobe.fpsaud.plist Support
      [loaded] com.adobe.SwitchBoard.plist Support
      [loaded] com.avast.init.plist Support
      [loaded] com.avast.uninstall.plist Support
      [loaded] com.avast.update.plist Support
      [loaded] com.google.keystone.daemon.plist Support
      [running] com.logmein.hamachi.plist Support
      [running] com.memeo.WDMemeod.plist Support
      [loaded] com.microsoft.office.licensing.helper.plist Support
      [loaded] com.oracle.java.Helper-Tool.plist Support
      [loaded] com.surfeasy.ShieldService.plist Support
      [loaded] com.teamviewer.Helper.plist Support
      [failed] com.teamviewer.teamviewer_service.plist Support
      [not loaded] org.eyebeam.SelfControl.plist Support
      [loaded] org.macosforge.xquartz.privileged_startx.plist Support
    Launch Agents: ?
      [not loaded] com.adobe.AAM.Updater-1.0.plist Support
      [running] com.adobe.AdobeCreativeCloud.plist Support
      [loaded] com.avast.userinit.plist Support
      [loaded] com.google.keystone.agent.plist Support
      [failed] com.logmein.hamachimb.plist Support
      [loaded] com.oracle.java.Java-Updater.plist Support
      [failed] com.teamviewer.teamviewer.plist Support
      [failed] com.teamviewer.teamviewer_desktop.plist Support
      [loaded] org.macosforge.xquartz.startx.plist Support
    User Launch Agents: ?
      [loaded] com.adobe.AAM.Updater-1.0.plist Support
      [failed] com.adobe.ARM.[...].plist Support
      [loaded] com.avast.home.userinit.plist Support
      [not loaded] com.spotify.webhelper.plist Support
      [loaded] com.valvesoftware.steamclean.plist Support
      [failed] com.Wondershare.TunesGoWatchDemo.plist Support
      [running] ws.agile.1PasswordAgent.plist Support
    User Login Items: ?
      uHD-Agent
      Bartender
      MyDriveConnect
      iTunesHelper
      VMware Fusion Start Menu
      SurfEasy VPN
      Inklet
    Internet Plug-ins: ?
      JavaAppletPlugin: Version: Java 8 Update 20 Check version
      o1dbrowserplugin: Version: 5.4.2.18903 Support
      Default Browser: Version: 537 - SDK 10.9
      AdobeAAMDetect: Version: AdobeAAMDetect 2.0.0.0 - SDK 10.7 Support
      FlashPlayer-10.6: Version: 15.0.0.152 - SDK 10.6 Support
      AdobePDFViewerNPAPI: Version: 11.0.06 - SDK 10.6 Support
      Flash Player: Version: 15.0.0.152 - SDK 10.6 Support
      QuickTime Plugin: Version: 7.7.3
      googletalkbrowserplugin: Version: 5.4.2.18903 Support
      SharePointBrowserPlugin: Version: 14.1.0 Support
      AdobePDFViewer: Version: 11.0.06 - SDK 10.6 Support
      DirectorShockwave: Version: 12.1.1r151 - SDK 10.6 Support
    Safari Extensions: ?
      wrc
      Searchme-2
      Amazon Shopping Assistant
      Ebay Shopping Assistant
      Slick Savings
      AdBlock
    Audio Plug-ins: ?
      BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
      AirPlay: Version: 2.0 - SDK 10.9
      AppleAVBAudio: Version: 203.2 - SDK 10.9
      iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins: ?
      Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    User Internet Plug-ins ?
      BlueStacks Install Detector: Version: Unknown
      Google Earth Web Plug-in: Version: 7.1 Support
    3rd Party Preference Panes: ?
      Flash Player  Support
      Java  Support
    Time Machine: ?
      Mobile backups: OFF
      Auto backup: NO - Auto backup turned off
      Volumes being backed up:
      Macintosh HD: Disk size: 371.83 GB Disk used: 198.15 GB
      Destinations:
      My Passport- Harman [Local] (Last used)
      Total size: 931.16 GB
      Total number of backups: (null)
      Size of backup disk: Adequate
      Backup size 931.16 GB > (Disk used 198.15 GB X 3)
      Time Machine details may not be accurate.
      All volumes being backed up may not be listed.
    Top Processes by CPU: ?
          4% WindowServer
          4% CalendarAgent
          3% hidd
          1% PluginProcess
          1% Creative Cloud
    Top Processes by Memory: ?
      238 MB Safari
      217 MB com.apple.WebKit.WebContent
      78 MB installd
      66 MB com.apple.WebKit.Networking
      57 MB softwareupdated
    Virtual Memory Information: ?
      632 MB Free RAM
      1.67 GB Active RAM
      496 MB Inactive RAM
      715 MB Wired RAM
      2.77 GB Page-ins
      177 MB Page-outs

  • How can you test the video card?

    I just got a cinema display and I am having trouble calibrating it.
    I just notice that when I open up bridge CS4 it takes awhile for it to refresh. When I go to film strip view and click on a picture it will not diplay it.
    Then I change views and there is a line down the middle of the display where it gets update but the left side does not.
    Any thoughts on what it could be?
    Video card of is it the monitor?
    How can I test it?

    The only ways I can think of to test the card are XBench and the Apple Hardware Tests (insert Install DVD and restart while holding down 'd')

  • Are we Beta testing the N97 for Nokia?

    Because if i was given this as a beta release i would have told them what i thought, the current launch version on the N97 with V10 firmware is barely an Alpha release, this phone was a rush job thrown out on the market to coincide with the launch of the iphone 3Gs.
    This is my fourth N series, N80, N95, N95 8gb (the best N series yet), and now this N97 what should be Nokia's flagship, but being stripped of apps and filled with Trial versions to please the accountants at Nokia.
    Day one and it locked up twice, corrupted my contacts when synced with OVI, and ran down to less than 4mb on the C drive, day 2 i found the GPS was not working, it was a joke, walking down the road under a clear sky and it could not hold a signal lock, driving was worse barely holding a signal for a few seconds and as for sitting spinning it round for an age to get the compass to work........forget it id rather be lost than look like a **bleep**.
    Deleting apps and reinstalling them on the mass memory frees up some space, but why should we have to do this, the whole phone is badly thought out and configured.
    Soon after the stylus supplied with the phone and attached to the phones only tie point scratched my screen, what was wrong with a rear cover with a bump and a thin PDA style stylus, no not good enough for Nokia, a fat thing on a string will do for them. 
    New Firmware release 4 days after UK launch and still not available to most users as it has not been network approved yet, 3 network say its Nokia's job and they are delaying things, Nokia say its the networks delay. Come on if it was needed that quickly why leave most of your customers waiting, or just get to work on a layered OS with a standardised core with a network layer, so everyone can have the updated without waiting.   
    4 weeks in on this phone, i too have the scratched camera lens, still No working GPS, and having some good negotiations with Three to try to reverse the contact upgrade, as i don't think another N97 will last any longer than this one.
    I see Nokia spending Millions on punting the N97, TV, Billboards, Net adds, why push so hard on what is a sub standard product, could you imagine Joe public trying to free off some memory by moving apps, tell the care centres to brace themselves the N97 flood will be coming their way.
    What next, well if 3 don't cancel the upgrade, then Nokia will have to fix my phone again and again and again untill it works as advertised, in the mean time i am off to get in touch with watchdog so they can let Joe Public know what to expect from an N97.
    Rob 
    Solved!
    Go to Solution.

    I don't believe we're beta testing the N97 for Nokia. Beta testing suggests it is in a state prior to production. Nokia's track record (at least to me) seems that leading edge phones never reach a stable plateau.
    What I believe happens is the phone is released and remains unstable until they sort of perfect the platform, then a new handset is released bringing a whole new world of bugs and problems and so the cycle continues.
    By the time the phone is suitable for every day use it is, by today's technological stance, ancient and the damage has already been done to the reputation.
    S40 phones seem to fare much better, mainly because it is much more widely used within Nokia. S60 is up against some fine competition from vendors who will rush fixes out.. Nokia only ever seems to rush phones out. It isn't the same and it shows (see their forcast for the next 6 months)
    I honestly would not be surprised if this flagship phone limps on in a partially functional state until it is superceeded by a budget blackberry clone.
    Sad? Very! Am I being cynical, or telling it like it is.
    I'd be real interested to know if any exec at Nokia used the N97 in the weeks before it was released.. Not that I'm a fan, but we all know Stevie J used an iphone long before it was released.. I kind of get the impression they must all use very basic "corporate" s40 handsets and assume their flagship product must be of the same calibre.
    Next release, why not give 100 people N97 for testing, real testing.  It seems Nokias quality assurance team is out of touch with what a $700 handset demands.. ooooh, I gasp in awe at your 30 MB of free capactity when you remove ALL the applications you can. (It's like having a 2TB hard drive in a computer and continuing to boot from a floppy)
    I appreciate there are product time lines to meet, but if Nokia were aiming to compete with the likes of the pre, iphone and the various android handsets (not even mentioning windows mobile) rushing out a phone like this was very wide of the mark. Concept wise, the N97 is a great design.. the implementation of both the hardware and software just isn't going to cut it in todays market.. 
    (but this is what they want? you'll get bored with the handset and buy a replacement! yeay!)

  • Is there an easy way to run an Ajax function from input type=file to test the file name in DB?

    I've had the <input type="file">  ... <cffile ...> thing going for a few years now. 
    There is a database where the uploaded file names are stored once the files are uploaded to the server.  It sees things in terms of problems and stores uploaded file name accordingly with the ProbID prepended onto the file name; e.g., MyPicture.jpg would end up in the designated directory and databawe as P416_MyPicture.jpg.  This allows user to store pictures with the same name in different problems without a conflict.  There has been an issue with certain characters (e.g., spaces, +, #, etc.) causing problems when they are in file names so we have come up with a way using the <cffile ... rename> to replace these chars with _.  This means that MyPic+.jpg would end up being P416_MyPic_.jpg. 
         This is where the problem appears.  If someone were to upload MyPic+.jpg after someone else uploaded MyPic_.jpg in the same problem, then the + file would overwrite the _ file before the system knew they had a problem.  And there is now way to restore the original file without going to the system backup and doing so – which is a whole other story … especially, if the person doesn’t tell anyone.
         The logical solution would be to be able to test the new final file name (the name after making the substitutions mentioned above) against the existing files in the database before you went from the page where the <input type=file> control to the associated _action.cfm page where the <cffile> object is located.  Given that this seems to be the province of Ajax, this would seem like a natural use of the really interesting technology.  I have can determine the file name from the onChange action on the <input type=File> so that this would be the place for Ajax to come to the rescue by looking up the final file name and then letting the user know whether the resultant name is a unique within the database or not.  If so, I'll just enable the Add button which sets right next to the <input > control and let them upload it.  If not, I'll put up an error message telling them that this file already exists in the system.
         This would be the perfect solution.  It would let me do some Ajax stuff like I've wanted to do for the past year, but never have had the time to do because this is the project that won't go away.  This is, in fact, the last thing of any consequence that remains to do on this 2-1/2 year nightmare – be careful what you wish for.  If I can get this done this week, then maybe I can finally take a weekend off … maybe it will finally come to an end.
         Which finally leads to my question:  I'm looking for some tips on how to get this thing going since I can barely spell Ajax.  I've got a book and looked at some stuff online about CF and Ajax, but a good example or two or three would be worth a day's worth of poking around on the web and in my books.
         Thanks in advance for any suggestions, ideas, help, whatever.
    Len

    Adam,
         Thank you for your suggestion, but, after spending the night working with Ben Forta's CF8, vol 2, Chap 34, working with <cfajaxproxy>, I was able to do exactly what I wanted and it appears, after some testing, to work exactly as I had envisoned it should. 
         I am now calling a JavaScript function (testFileName) from the onChage event on the <input type="file"> or Browse button, which calls my proxy.cfc that contains the server side of the equation.  This funciton testFileName (I've run out of cleaver function/file names).  The query contained therein hits the database to see if the passed in parameters can pull up an existing file.  If they do, the particulars (file name, data attahced, etc.) are returned to the JavaScipt procedure that puts up the error notice.  The user can then chose to either overwrite the file or quit.  Quiting leaves the your on the Attachment PopUp where he/she started with nothing being uploaded. 
         Thanks again for your suggestion.  I appreciate your taking the time to do so.
    Len

Maybe you are looking for