BAPI_SALESORDER_CHANGE , not deleted in VBAP, but got deleted in VBEP, VBUP

Hi All,
Through BAPI_SALESORDER_CHANGE the sales order item line is being deleted. But, due to some reson, only entries in VBEP and VBUP are got deleted. VBAP table still showing the item line. This is resulting inconsistency of data between tables, and there by resulting an Update termination error.
Thank you,
Rajesh.

>
Rajesh Turlapati wrote:
> Hi Kritesh,
>
> Actually the code will do bulk deletion, (deletion of multiple order lines in one order),. Few order lines are got deleted properly in all the tables. But few order lines are not get deleted in only VBAP (In VBEP and VBUP, the item lines got deleted). If the order is opened through VA03,  the order lines are still shown.
>
> Below is the code we are using,
>
>
>     CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
>          EXPORTING
>               salesdocument    = i_vbeln
>               order_header_inx = l_vbak_inx
>               order_header_in  = header
>               simulation       = i_simulate
>          TABLES
>               return           = l_return
>               order_item_in    = l_vbap
>               order_item_inx   = l_vbap_inx
>               extensionin      = l_vbap_ext.
>
>
> Thank you,
>
> Rajesh
Did you populate ORDER_ITEM_INX-ITM_NUMBER and Updateflag? 
The BAPI call seems to be fine and i dont see any problems there.

Similar Messages

  • IPP printing not working on Mavericks, but got it to work with LPD...

    Hi,
    Although I've already solved this problem, maybe someone else can use this fix...
    I got a new MacBook with OSX Mavericks installed, but I was unable to get my printer to work. It's a Lexmark x203n, available as a network printer. It installed correctly, but printing didn't work. I saw the print job appearing in the print queue, however, the printer didn't respond to it.
    On an older system, an iMac, it always worked, and on a Windows laptop I was still able to print, so the printer was not dead. I had already reinstalled my iMac with Mavericks, and the printer was not functioning there as well, so I expected that it was the OS.
    When I wiped my iMac, and reinstalled a very old version of OSX (10.6, let it update to 10.6.6.*), I was able to print with it. Investigating the network traffic using Wireshark, I noticed that the older version used LPD, where Mavericks is using IPP.
    In the printer settings page you don't see any details, so I couldn't compare them. However, I enabled the CUPS webinterface (on the terminal: $ cupsctl WebInterface=yes), and so the different connection ports. I changed the connection to what it is on the older version of OSX, and got it to work.
    Working: dnssd://Lexmark%20X203n._printer._tcp.local.
    Not working: dnssd://Lexmark%20X203n._ipp._tcp.local.
    Maybe Apple Support can pick this up...
    Cheers,
    Ties

    Please post it on apple.com/feedback to be sure someone from Apple reads it.
    The two forms starting with " dnssd:// " mean that you just entered (or found) a different form of the URI to print via Bonjour. Not LPD vs IPP. Apple does need to see this and hear that one worked while the other didn't.

  • Today I installed serif photo plus, and got the computer completely crazy, I've uninstalled that program but I can not delete the photo plus toolbar, how I do?

    Today I installed serif photo plus, and got the computer completely crazy, I've uninstalled that program but I can not delete the photo plus toolbar, how I do?

    There may be an add-on installed for the toolbar. Go to Tools>Add-ons (or about:addons), select Extensions tab and remove the toolbar from there (if it's there)

  • I have a new mac and was in launch pad and deleted imovie by accident because it was showing two copies. I have not emptied my trash, but imovie is not in the trash nor is it anywhere when I search the computer for it. What happened? Where is it?

    I just got a new macbook pro. I was in launchpad and there were two imovie icons so I clicked on one and deleted it.
    It seems as though imovie is missing from my computer completely now. I have not emptied the trash, but it is not in there.
    Where has my imovie gone and how do I get it back? I don't understand why it isn't in the trash or anywhere on my computer.
    Please help

    Hi wjosten,
    Yes, I have checked the app folder and there is no imovie in there, there is also nothing in the trash.
    I have also checked the HD for imovie and it seems as though it's just gone?
    Thanks for your help, if you have any other suggestions I would really appreciate them.

  • I backup to an external hdd with Time Machine, when it ran out of space it did not delete old backups, now my internal hdd says its full when before it had heaps of space. I have searched for extra files but cant find any. Can anyone help, please.

    I backup to an external hdd with Time Machine, when it ran out of space it did not delete old backups, now my internal hdd says its full when before it had heaps of space. I have searched for extra files but cant find any. Can anyone help, please.

    First, empty the Trash if you haven't already done so. Then reboot. That will temporarily free up some space.
    To locate large files, you can use Spotlight as described here. That method may not find large folders that contain a lot of small files.
    You can also use a tool such as OmniDiskSweeper (ODS) to explore your volume and find out what's taking up the space. You can delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one.
    Proceed further only if the problem hasn't been solved.
    ODS can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
    Back up all data now.
    Install ODS in the Applications folder as usual.
    Triple-click the line of text below to select it, then copy the selected text to the Clipboard (command-C):sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    I don't recommend that you make a habit of doing this. Don't delete anything while running ODS as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means.
    When you're done with ODS, quit it and also quit Terminal.

  • TS2734 i lost my ipod. when i went on the cp to go find it but there was no connection yet, so i waited but got bored so i pressed delete device for no reason now i can't even connect to it no more. please help me. please.

    i lost my ipod. when i went on the cp to go find it but there was no connection yet, so i waited but got bored so i pressed delete device for no reason now i can't even connect to it no more. please help me. please.

    If you only deleted the device from the page (an did not wipe/erase it) it will reappear if it connects to the internet before the person restored it or tyrned off the Find feature. See:
    http://support.apple.com/kb/TS4006

  • Epub books show up in ipad on itunes but do not show up on ipad. Also can not delete the books from ipad in itunes

    epub books show up in ipad on itunes but do not show up on ipad. Also can not delete the books from ipad in itunes

    You have no choice but to lose your data back to the last backup you made.
    Here's how to do the recovery.  Note you may have to try to get into recovery mode more than once to succeed:
    HT1808
    I'm sure next time, you'll be more vigilant about keeping current backups.

  • There are 26 songs on my iphone that no matter what I do will not delete or play, they play on my computer but on my phone they wont go away, i tried swiping to delete them and unchecking them but they are still there. Any advice?

    There are songs on my iphone 4 that will no play or delete. They play and work on itunes on my computer but they will not play on my phone and I am trying to delete them. I deleted all the songs, but these will not delete. Any help?

    They are not on the iphone in the first place.  It is just a setting that allows you to see the songs that are available in icloud, but not on your iphone.  If you turn the setting to off, then you no longer see the songs that are in icloud, but NOT on your iphone.

  • Contact disappeared from iPhone but not deleted from Address Book on sync

    FYI, I have an iPhone 3G running iOS 4.2 (the latest), and I have never so much as thought about MobileMe.
    Until two days ago, I have had no reason to doubt that my iPhone's Contact list is the same as my MacBook's Address Book list. I now have no confidence that the same info. exists in both: I know for sure that at least one contact long present in both has disappeared from the iPhone, yet syncing all contacts neither returns it to the iPhone nor deletes it from Address Book! I need help troubleshooting this contact as well as verifying that there aren't other similar anomalies corrupting my data, hopefully without manually comparing all 685 entries...
    Two days ago, a certain number, let's call it (310) 555-5555, popped up in my recents list as a missed call and in my visual voicemail. When I listened to the voicemail, I discovered that (310) 555-5555 was Jane Smith. I remembered entering Jane Smith several months ago, so I thought hmmm, does she have a second number? I tried to add (310) 555-5555 to an existing entry, only to find my iPhone had no entry for Jane Smith anymore at all! I did not delete her myself, and I'm not aware of any 3rd-party app that ought to have affected the entry. I haven't called Jane Smith or (310) 555-5555 in quite some time, so I have no idea how long the entry may have been missing. I searched the whole phone (left of the first home screen)
    At the next opportunity, I looked in Address Book on my laptop, and indeed found the expected entry for Jane Smith, (310) 555-5555. I have no idea how she disappeared from my iPhone -- did I or some third-party program delete her? Or did it happen through some sync issue? -- but I naturally worried that when I next synced, the deletion would sync, too, and I would lose the Address Book entry, leaving me without Jane Smith's number at all.
    Such an event would defeat the entire purpose of backing up my phone contacts to my computer; I just moved to iPhone this spring after being a Palm user since 1997, and the idea that iPhone might not be reliably syncing my contacts is frankly terrifying. I checked and saw that my Address Book listed 685 contacts to iPhone Contacts's 684, so I decided to risk a sync in hopes that maybe I had caused a one-off deletion. I wrote down Jane Smith (310) 555-5555 just in case and hit sync.
    The results of the sync and my subsequent troubleshooting have seriously undermined my confidence in the fidelity of the sync process. The first time, nothing changed--I still had 684 iPhone, no Jane Smith, and 685 Address Book, including Jane Smith.
    Thanks in advance for any assistance.
    Message was edited by: Lindsey Worth

    Before conecting your phone, open iTunes on your computer and go to Preferences, on the Devices tab check "Prevent...from syncing automatically".  Now connect your phone and when it appears in iTunes on the left sidebar click on its name.  Go to the Info tab and confirm than your have checked Sync Contacts with Address Book.  Now further down on the Info tab under Advanced>Replace information on this iPhone check Contacts.  Click Apply and sync your phone.  This will replace the contacts on your phone with the contacts in Address Book.  (When complete you can go back to iTunes preferences and uncheck "Prevent..." to re-establish automatic syncing if your prefer this.)

  • I accidently put vr files in trash but did not delete, now stuck on grey screen after battery dying! Help

    I am not very tech savvy but recently used a program that tells you what programs and files are using up large amounts of space on your computer I think it was called disc utility maybe. I deleted a whole bunch of things but accidently deleted a folder called vr, I realised I made a mistake and went to remove it from the trash when my laptop died, now it won't turn on past the grey screen with the apple logo!
    I didn't delete the files they are just sitting in the trash. Is there anything I am able to do? I don't have any install discs or anything or wifi at my house or have any computer knowledge really. Please help!

    Thank you! But do you think that a defective cable would cause it to not boot the cd now as well as the HD errors?
    Also, this is kind of embarrassing, but if my trackpad happened to be broken to where I couldn't click it (broke a while back, but I use an external mouse so it never really bothered me) can I hold down the mouse button on my external mouse at startup to eject the cd or does it have to be the trackpad. If not, is there another way I can eject the cd?
    Thanks again!

  • 2 different iphones have the same Apple ID, how can I change the apple ID on one of them but not delete the other iphone's data and media?

    2 different iphones have the same Apple ID, how can I change the apple ID on one of them but not delete the other iphone's data and media?

    You don't have to do anything with the first iPod that you don't use anymore. If you are planning on keeping it, put in a drawer in your house and forget about it.
    You don't need a second account to use with the new iPod. I use one Appl e ID and iTunes library for two iPods, and two iPad. I have different content on all four devices. You can select exactly what you want to sync to each device and it can be different content on all devices.

  • How do I delete an e.mail on my 5s that has a mime attachment,the e.mail can be read but not deleted.

    How do I delete an e.mail  on my 5s iphone that has a mime attachement? the e.mail can be read but not deleted. A message comes up saying that it cannot be moved! The e.mail was sent to me and I forwarded it. The e.mail is not in any other folder in the phone or on my mac. But it might be in my backup to the mac via itunes.

    This is for your protection, its not supposed to be easy.
    You should be keeping a record of all your passwords, security answers, etc.
    Rescue email address and how to reset Apple id sec. questions.
    http://support.apple.com/kb/HT5312?viewlocale=en_US&locale=en_US
    If that doesn't work and you can verify the following info, call 1-800-APL-CARE.
    1. apple id username, that is not locked or disabled.
    2. serial number of an apple product registerd in your name
    3. Billing info associated with your account

  • When I import photos taken from my Ipod Touch 4 to My Mac Desktop, I click delete photos on ipod, but they do not delete. Is the only way to delete them individually (I have 1,400 photos!) or is there a way to delete them all in one go?

    When I import photos taken from my Ipod Touch 4 to My Mac Desktop, I click delete photos on ipod, but they do not delete. Is the only way to delete them individually (I have 1,400 photos!) or is there a way to delete them all in one go?
    I realise you can you can delete them on your ipod slowly as you have to click on each one, and you can restore your ipod, but surely there is a way to get around this?
    Software: 4.3.2
    Build Version: 8H7
    Thanks If anyone can help me.

    Download/install an app is a know possible solution.
    3. Install another app from the App Store
    If all user-installed apps are not launching, it could be an Apple ID authorization issue. Download and install an app that isn't already installed on your device to reset this information.
    Note: If you have installed apps using multiple Apple ID accounts, you may need to perform this step for each account.
    Above from Apple's :
    iOS: Troubleshooting applications purchased from the App Store

  • I have brought a iphone 4 and the person i brought it from has not deleted her icloud account i need her pasword to delete it but hse wont give it to me what can i do how can i add my icloud account can you give me a reasonable answer please. thank you

    i have brought a iphone 4 and the person i brought it from has not deleted her icloud account i need her pasword to delete it but hse wont give it to me what can i do how can i add my icloud account can you give me a reasonable answer please. thank you.

    The seller needs to follow this procedure:
    http://support.apple.com/kb/TS4515
    If she refuses, then as Tim suggested the iPhone is probably stolen. You'll need to contact your local police department and ask how to proceed.
    Regards.

  • I have a folder and 3 files stuck on my desktop.  When I drag them to the trash I am asked to enter my administrator's password.  I do this but the files and folder will not delete.  I have checked 'Get Info' on each of them and they are not locked?

    I have an empty folder and 3 .jpg files stuck on my desktop.  When I drag them to the trash I am asked to enter my administrator's password.  I do this but the files and folder will not delete.  I have checked 'Get Info' on each of them and they are not locked and I have full read & write access.  Grateful for any assistance in solving this problem.

    Back up all data.
    Triple-click anywhere in the line below to select it:
    ls -@Oaen De* | open -f -a TextEdit
    Copy the selected text to the Clipboard (command-C).
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V).
    A TextEdit window will open with the output of the command. Post the contents of that window, if any — the text, please, not a screenshot. The title of the window doesn't matter, and you don't need to post that.
    If any personal information appears in the output, anonymize before posting, but don’t remove the context.

Maybe you are looking for

  • IPhone 4S Photos directly to an external drive

    Does anyone know how to transfer iPhone 4S photos directly to a WD external hard drive without the need to first transfer to iPhoto?

  • Presentation Director for Win 7

    Hi I miss Presentation Director in Win 7. I have problems using an external beamer (Panasonic) with my X301 with Win7 32 through a VGA cable. The images are confused and with mixed colours. Pressing Fn+F7 all I get is a window for choosing options be

  • AddOnRegDataGen.exe in Batch File

    I'm trying to follow these instructions from Frank Moebius: please note that AddOnRegDatGen is batch capable!!! Here you go: Calling convention (cmdline parameters): AddOnRegDataGen.exe <raw xml> <InstallerVersion> <Installer> <Uninstaller> <Add-On-E

  • Gtk-window-decorator transparency / opacity

    hi there, since I replaced emerald with gtk-window-decorator, things work better now. But I have no clue, why I can't turn off the titlebar transparency for inactive windows. No transparency only works for focused windows, but not for unfocused. I al

  • Using a midi controller with Amplitube and Logic 9

    Hi all I'm stuck as helll at the moment can someone please help??? I'm trying to use my Line 6 x3 live as a MIDI controller for amplitube (whilst this is being used as a VST plug-in) for Logic 9. Heres my setup. Line6 x3live connected by USB and midi