Why debugging updates data in ME23n but executing directly doesnt?

Hi.
While updating vendor material number through a customize report , ME23n doesnt get updated with vendor material number but text line does but when executed in debugging mode it does.
BAP_PO_CREATE , we placed a bapi commit then a wait upto 2 sec. and also after BAPI_PO_CHANGE same thing thought of giving some time but doesnt work out.
Any specific reason a program behaving differently.
Regards
Mohinder

Hi ,
CALL FUNCTION 'BAPI_PO_CREATE1'
    EXPORTING
      poheader         = wa_po_head
      poheaderx        = wa_po_headx
    IMPORTING
      exppurchaseorder = gv_po_number
    TABLES
      return           = gt_return
      poitem           = gt_poitem
      poitemx          = gt_poitemx
      poschedule       = gt_poschedule
      poschedulex      = gt_poschedulex
      poaccount        = gt_poaccount
      poaccountx       = gt_poaccountx
      potextitem       = gt_potextitem.
  COMMIT WORK AND WAIT.
Then for ensuring ,
IF gv_po_number IS NOT INITIAL.
    CALL FUNCTION 'BAPI_PO_CHANGE'
      EXPORTING
        purchaseorder = gv_po_number
      TABLES
        return        = gt_return
        poitem        = gt_poitem
        poitemx       = gt_poitemx.
  ENDIF.

Similar Messages

  • Cannot update data in a demantra worksheet..

    Hello all,
    I am not able to update data in a demantra worksheet - referred to Oracle Metalink
    https://metalink.oracle.com/CSP/ui/flash.html#tab=KBHome(page=KBHome&id=()),(page=KBNavigator&id=(bmDocID=459527.1&bmDocType=PROBLEM&viewingMode=1143&bmDocDsrc=KB&bmDocTitle=Worksheet%20Data%20is%20Not%20Being%20Saved%20to%20the%20Database%20-%20Error%20:%20Update%20Data%20Failed,%20Can't%20Create%20%3Cb%3EW...&from=BOOKMARK))
    DocId= 459527.1
    I have the same error message and I followed the steps exactly but I cannot seem to get rid of the error
    Cannot create Wf process. Update Data id: ....
    I have the components correctly defined, display units seems ok. Not sure why the Update Data is failing somewhere??
    Cheers

    Hey there!
    Make sure you restart web server (tomcat) after any changes you make in the business modeler, and before checking the worksheets. Make sure component has units associated, and series associated too.
    Hope this helps,
    Aaron

  • How do I update Date Time Digitized to match an updated Capture Time for a DNG file?

    I am updating capture time based on GPS Time (a bit OCD, I know) but when I change Capture Time the Date Time Digitized value does not change. This in in LR 4.3 and is not affected by whether on not the Catalog is set to 'Write date or time changes into proprietary raw files'. Maybe this is a problem for DNG files only.

    GreSep wrote: I saw another LR discussion that said that with LR 4.3 updating Capture Time would also update Date Time Digitized but it does not do so for me on my DNGs (and as of last month ALL my images were converted to DNGs).
    One or two intermediate versions of LR 3 (perhaps Lr 3.6) set DateTimeDigitized when you gave the Metadata > Edit Capture Time command. But for people managing scans in which the capture time of the original image was different than the scan time, this behavior overwrote their scan times, so Adobe backed out of that change.  Before and since those versions, the Metadata > Edit Capture Time command just changes the EXIF:DateTimeOriginal and related fields in XMP and IPTC.

  • HT201272 I want to update my IPad 2 but my setting don't contain software update.

    Hello
    I want to update my IPad 2 but my setting doesnt contain software update parts. How can I update software?

    The option to update without the computer (Over the air) was made available with iOS 5. If your iDevice is using a version of iOS lower than 5, you will need to use iTunes on your syncing computer to perform the upgrade. Use the Apple link below as a guide for the upgrade.
    http://support.apple.com/kb/HT4972
    Also read the instructions from the section entitled "Update your device using iTunes" at the link below.
    http://support.apple.com/kb/HT4623
    Information regarding transferring purchases from your iDevice to iTunes on your syncing computer can be found at the link below.
    http://support.apple.com/kb/ht1848

  • I competed updating my ipad2 to ios6. I have 11 apps which has updates I need to perform. But, the procedures of 'agree' and update keep going in a loop and I was not able to update any of the 11 app I need to update. Why the up date procedures keep loopi

    I completed updating my iPad2 to ios6. I hv 11 app which need to be updated and these are flagged. But the updating procedures keep looping itself and I was not able to update any of the 11 app.? Why the update procedures keep looping and how to get out of it.

    Okay - let's cut to the chase...
    If the Menu Bar (File, Edit... Help) shown in my screenshot below is not visible, use CTRL+B to display it. Then click on Help/Check for Updates. If one is available, you will be able to select it at this time.
    Note the item at the bottom of the list; About iTunes. Selecting that will show you which version of iTunes you are using.
    An alternative method to display the Menu Bar is click on the box in the top left of your iTunes window...

  • I just found my old ipod touch (i think 1st generation) and would like to let my toddler use it instead of my phone.  I am trying to download apps but it say I need to update to 4.3 but it won't let me update.  I have the most recent itunes. any idea why?

    I just found my old ipod touch (i think 1st generation) and would like to let my toddler use it instead of my phone.  I am trying to download apps but it say I need to update to 4.3 but it won't let me update.  I have the most recent itunes. any idea why? I saw a thread saying to purchase the newest software (that was posted a few years ago) I paid 4.95 for the software and it's still saying it can't be updated.  Am I just SOL??

    The 1G iPod can only go as high as 3.1.3. The 1G does not have an internal speaker or volume buttons on the upper left edge.
    Identifying iPod models
    To more easily find compatible apps:
    iOSSearch - search the iTunes store for compatible apps.
    Apple Club - filter apps by iOS version.

  • I tried to update my iPhone 4S but I nowkeep getting an error saying I need to restore my phone before it can be used because it's in recovery mode! But if I restore it I lose all my media and data and I don't want to do that! Is there anything I can do??

    I tried to update my iPhone 4S but I now keep getting an error saying I need to restore my phone before it can be used because it's in recovery mode! But if I restore it I lose all my media and data and I don't want to do that! Is there anything I can do?? Somone please help, i'm freaking out over here!

    Anything that was on the phone is already gone. You have no choice but to restore. If you were backing up and syncing the phone on a regular basis, you should be able to restore your backup with minimal data loss.

  • HT1766 i update my phone today but i loss backup important data & there is no backup in icloud

    i update my phone today but i loss backup important data & there is no backup in icloud

    This feature is only availabe if you are currently running ios 5.
    Update as always.
    Turn on computer.
    Open itunes
    Connect iphone

  • I just updated my iphone4 to iOS5.1 and now I cant use my 3g, everything on my cellular data's right but I cant activate my 3g anymore, can you help me please? thank you! i really need it

    I just updated my iphone4 to iOS5.1 and now I cant use my 3g, everything on my cellular data's right but I cant activate my 3g anymore, can you help me please? thank you! i really need it

    Did you try to reset the phone by holding the sleep and home button for about 10sec, until the Apple logo comes back again? You will not lose data doing a reset.
    If this does not work, set it up again as new device, without using the latest backup afterwards.
    How to back up your data and set up as a new device

  • HT4972 i am trying to download some apps onto my iphone 3gs and it keeps saying i need to update it for this but ive trying and there is no update option on the phone or through itunes, it keeps saying its up to date, can anyone help please?

    i am trying to download some apps onto my iphone 3gs and it keeps saying i need to update it for this but ive trying and there is no update option on the phone or through itunes, it keeps saying its up to date, can anyone help please?

    Would this matter then? can you not update the 3g to the lastest software?

  • I have an iMac OS X Version 10.5.8 but I also have a MacBookPro 10.7.5 version, why software updates are not the same? For example, when I want to know how much memory can not store in the same way in either computer.

    I have an iMac OS X Version 10.5.8 but I also have a MacBookPro 10.7.5 version, why software updates are not the same? For example, the way to see how much memory I have in my iMac is diferent than MacBookPro. And where I can see the memory of the disc I've got in my iMac? Than you very much.

    If you want everything the same on both computers you need to be running the same OS X version. You can't because your iMac is a PPC machine, not Intel.
    But to see information about your hard drive is the same for both. Simply select the drive icon on the Desktop. Press COMMAND-I to open the Get Info window. Disk information is in the upper panel.

  • Retrieve contact list  via the API not with the last updated date but created date?

    I can connect via the API and retrieve a list of contacts  but it seems that the only paramater i can pass is to search since the last Update  Date.
    Is it possible to search on the Created date and to have a date range as well?
    I found the xml result is slow to come as it gives all entries since the "lastUpdateDate" entered.

    A change in score does not cause the Date Modified field to change on the contact record. This field only changes when some data in one of the fields has changed.
    However, some of the confusion can come from the fact that lead scores have a Profile and Engagement portion. So if you have certain fields on the profile section being modified, that would cause a rescore at the same time. Engagement criteria such as form submits often cause the contact record to be modified while website visits and email clicks/opens do not.
    Hopefully this helps clarify,
    Bojan

  • Hello , why my iPhone'iOs has hotspot befor update to 8.0 , but now it don't be active , by any carrier in our country ...!!! how can i activate it ?

    hello , why my iPhone'iOs has hotspot befor update to 8.0 , but now it don't be active , by any carrier in our country ...!!! how can i activate it ?

    Hi s.kouris,
    I'm afraid that unless you are able to contact the previous owner and have him wipe the device, or provide you with his Apple ID password so you can delete the iCloud account, you are out of luck.
    With iOS 7, an Activiation Lock was added to deter thieves. This lock prevents anyone but the owner of the device from deleting the iCloud account and restoring the device:
    http://support.apple.com/kb/ht5818
    Unless you are able to reach the original owner and get the device wiped or the iCloud account deleted, you are stuck with a brick.
    Sorry,
    GB

  • Can't update the flashplayer becasue it states I need to close firefox? Not sure why, I have an updated version of flashplayer but when I go in through firefox it tells me I need to update it, but won't because I am in firefox.

    Can't update the flashplayer becasue it states I need to close firefox? Not sure why, I have an updated version of flashplayer but when I go in through firefox it tells me I need to update it, but won't because I am in firefox. This seems to be a problem when I am in FB.

    You must close Firefox to install the update after it is saved to your hard drive. Follow the instructions below.
    There are 2 versions of Adobe Flash. Both must be installed and updated on Windows systems. In Firefox it would show as Shockwave Flash in your plug-ins, if you had it installed.
    *an ActiveX version for IE only
    *a plug-in version for Firefox and most other browsers
    #'''Install or Update the [[Managing the Flash plugin|Flash]] plugin''' to the latest version.
    #*Download and SAVE to your Desktop so you can find the installer later
    #*If you do not have the current version, click on the "Player Download Center" link on the "'''Download and information'''" or "'''Download Manual installers'''" below
    #*After download is complete, exit Firefox
    #*Click on the installer you just downloaded and install
    #**Windows 7 and Vista: may need to right-click the installer and choose "Run as Administrator"
    #*Start Firefox and check your version again or test the installation by going back to the download link below
    #*'''Download and information''': http://www.adobe.com/software/flash/about/
    #**Use Firefox to go to the above site to update the Firefox plugin (will also install plugin for most other browsers; except IE)
    #**Use IE to go to the above site to update the IE ActiveX
    #*'''Download Manual installers'''.
    #**http://kb2.adobe.com/cps/191/tn_19166.html#main_ManualInstaller
    #**Note separate links for:
    #***Plugin for Firefox and most other browsers
    #***ActiveX for IE

  • Execute Command "Update Data" of dynamic graphic xls with Java?

    hi, i want to write datas in tthe xls sheet, i have in other sheet from same file xls a dynamic graphic, and i want to update de graphic with the new datas writed, how can to execute the command "Update Data" in the dynamic graphi sheet??
    tnk for your help.
    HL

    You missed a space in the string after your WHERE clause.
    put an extra space after the 'WHERE' in your execute immediate statement.
         EXECUTE IMMEDIATE
              'UPDATE '|| affectedtable|| ' SET '|| affectedcol || '= :nvalue'||
              ' WHERE '|| affectedcol || '= :ovalue'
              USING newvalue, oldvalue ;

Maybe you are looking for