Added outputs getting vanished because of BAPI in SAVE_DOCUMENT(DELIVERY)

Hi Experts,
We have requirement to update Sales order price whenever PGI happens. In order to do that 'BAPI_SALESORDER_CHANGE' was been used. New issue rose.
1. In delivery Extras-> Output header-> Added new output
2. Came back to delivery screen and clicked PGI button, in SAVE_DOCUMENT we have BAPI call.
3. Due to the call, we are getting error in newly added output. Newly added output is getting disappeared.
Work around I got is
1. Save the change as soon as new output is added
2. Make changes in delivery quantity/UOM and press enter
Once you do wither of two above steps I get delivery output changes, but user doesnt want to either of 2. He won't perform any thing but he needs outputs.
Please suggest how I can do.
PS: The way I found was using COMMIT_WORK, which is not at all good solution. 
Thanks,
Krishna

Hello ,
why dont you use BADI LE_SHP_GOODSMOVEMENT -->it will trigger only when you do PGI.
and in that badi implementation you should call your SO change routine like
perform so_price_change on commit..(this call will change/update your SO )
regards
Prabhu

Similar Messages

  • XML doesnt gets validated because closed element

    Hi,
    I have a working map which looks like below:
    My question is about the party part. What i do i check for every GLN value in the source is the value is bigger than zero. If that is true then map the value to the gln in the destination element AND add a qualifer value which is hardcoded in the value mapping
    functoids.  
    Everything is working fine but the end xml doesnt get validated because of the next reason:
    error btm1046: Output validation error: The element 'party' has incomplete content. List of possible elements expected: 'qual'.
    I think it has to do with the closed party tag which is caused by one of the fields in the source that has a value 0. 
    How can i fix this issue so that my xml gets validated.

    Hi,
    Please check the 'qual' field in your destination/output schema is a mandatory field. The error you are receiving is because in the output the last party tag is empty wherein it is expecting the element tag 'qual' to be present. Hence, failing in the validation.
    Check if you can set that element 'qual' non-mandatory.
    Rachit
    Please mark the post answered your question as answer, and mark other helpful posts as helpful, it'll help other users who are visiting your thread for the similar problem

  • I just upgraded to the latest version of iTunes and it duplicated virtually every track in my music library. I need a quick way to delete the duplicates. Sorting by "Date Added" will not help because they are all listed as added on 12/12/2011.

    Library Duplicated
    I just updated to the latest version of iTunes and it duplicated virtually every track in my library. I need a quick way to delete the duplicates. Sorting by "Date Added" will not work, because every track is listed as added on 12/12/2011 even though this happened today 12/19/2011.

    I've written a script called DeDuper which can help remove unwanted duplicates. See this  thread for background.
    tt2

  • New iMac 27"  and just plugged in a Apple USB superdrive and get message, "Because a USB device was drawing too much power from your computer, one or more of your USB devices have been disabled."  I am trying to load Office mac2011  what to do?

    I have a new iMac 27"  and just plugged in a Apple USB superdrive and get message, "Because a USB device was drawing too much power from your computer, one or more of your USB devices have been disabled."  I am trying to load Office mac2011  what to do?

    If you just bought the iMac and the Sjuperdrive take the superdrive back and get a refund. The by any other brand external DVD drive that connects by USB and try that. Most come with a Y USB cable to allow you to connect to 2 USB ports to supply enogh power to the drive IF Needed.
    Or take both back and get a refund on both, you have 14 days to return it no questions asked, and buy another iMac and some other brand external DVD drive.

  • I need a help !!! Please  ,I dropped my iPhone 5 in toilet and I didn't get fast  maybe 5mins before I get it because I didn't notice drop it and it won't work now  it's almost 1week I'm waiting it  still  it don't work ...

    I need a help !!! Please  ,I dropped my iPhone 5 in toilet and I didn't get fast  maybe 5mins before I get it because I didn't notice drop it and it won't work now  it's almost 1week I'm waiting it  still  it don't work ... But when I plug my charger it goes light and show up apple logo and die again I don't know what to do and it's so expensive here at Japan pls.. Help maybe there still way to get it work again
    Thank you ,Rean

    At this point it's clear that it's been damaged and will need to be take or sent to Apple for replacement.
    Regards.

  • Tthe flood filter is in my plugins folder along with the other plugins I have, but not in cc 2014. It's also in Adobe bridge associated with cc 2014, but not in cc 2014 Photoshop. i hope you get this because i forwarded  your info to HCS and now I'm all m

    the flood filter is in my plugins folder along with the other plugins I have, but not in cc 2014. It's also in Adobe bridge associated with cc 2014, but not in cc 2014 Photoshop. i hope you get this because i forwarded  your info to HCS and now I'm all mixed up as to this gets forward.

    Unfortunately, you are not addressing Adobe here in the user forums.
    However, there are many highly experienced volunteer users here willing to help.
    Can you please clarify:  are you saying that your Flood filter (whatever that is) is in your Bridge folder but not in Photoshop?
    UPDATE:  I Googled your Flood Filter and discovered it's not an Adobe filter at all.  Have you contacted its manufacturer, Flaming Pear?  What do they say?

  • HT203167 I bought walking dead the game multi pack but I wasn't able to play with it. I tried to remove and reinstall it but things get worst because the paid app was lost and what's left was the free version. Any suggestion how to recover it?

    I bought walking dead the game multi pack but I wasn't able to play with it. I tried to remove and reinstall it but things get worst because the paid app was lost and what's left was the free version. Any suggestion how to recover it?

    How to Get a Refund from the App Store

  • How do I get "Vanishing Point" to work properly on iMac Retina 5k

    How do I get "Vanishing Point" to work properly on iMac Retina 5k? When I "render grid to photoshop" the grid is not in right place and scale. I'm using latest version of CC.

    OMG! What a load of crap and thank you for posting this. I spent 3 solid hours to do something that I have done hundreds of times before, apply a Vanishing Point filter. I kept thinking I had some non-default setting on and was literally screaming at my new iMac. I NEVER thought it would be the cause. It was actually easier to reinstall CS5 on an older Mac and just do the stuff I needed. This is crazy. I fully get why Adobe doesn't support this yet but to not make a huge deal out of it so people know about it is just wrong. When I searched for Vanishing Point on the Forums, this thread showed almost the bottom of the first page. It should be stuck to the top until they fix it.

  • EDI Message output gets processed for held PO

    Hi All,
    When I save my purchase order as a HELD PO (EKKO-MEMORY=X), EDI Message output gets processed.
    Can you please provide me any inputs to disable this.
    Regards
    Deepak

    Hi All,
    Can anyone provide any inputs on this.
    Regards
    Deepak

  • There is a show on the US itunes and it isnt on the canadian one and i want it so how can i get it because i have canadian itunes

    There is a show on the US itunes and it isnt on the canadian one and i want it so how can i get it because i have canadian itunes?

    You cannot use other countries itunes stores.
    Sorry

  • I purchased gems from a game and didnt get them because my method was declined i want to remove the order so i dont pay for it and so i can update my other apps and i want to remove the method i will be thankfull if someone help me

    i purchased gems from a game and didnt get them because my method was declined i want to remove the order so i dont pay for it and so i can update my other apps and i want to remove the method i will be thankfull if someone help me without updating the payment method i cant update my apps in my iphone i want to remove the method and remove the order i dont want it

    Click here and ask the iTunes Store staff for assistance.
    (125742)

  • I currently have the Mac OS X v10.5.8 and want to get the new operating system but I don't know how to do it. I don't have the Mac App Store and can't get it because of my version. What do I do?

    I currently have the Mac OS X v10.5.8 and want to get the new operating system but I don't know how to do it. I don't have the Mac App Store and can't get it because of my version. What do I do?

    The Early 2006 model 1,1 Core Duo can only run a maximum of 10.6 Snow Leopard. The models Late 2006 Core 2 Duos 2,1 through Early 2008 4,1 can only run a maximum of 10.7 Lion. The Late 2008 model 5,1 Aluminum Unibody through the Mid 2010 White Unibody model 7,1 can run 10.8 Mountain Lion.
    To see which model you have go to the Apple in the upper left corner and select About This Mac, then click on More Info. When System Profiler comes up check the Model Identifier and post it back here.
    The Snow Leopard 10.6 DVD should still be available from Apple for $20. You will have to call Apple Customer Care 1-800-692-7753 or 1-800-676-2775 to purchase it. It may still be in the Legacy Products list.
    If they no longer have any in stock you will have to buy it from eBay or Apple resellers that still have stock. But you will have to pay a premium since the DVDs are no longer being made. Snow Leopard DVDs are already up to $100 on Amazon.
    http://www.ebay.com/sch/i.html?_nkw=10.6+snow+leopard&_sacat=0&_odkw=mac+os+10.6 &_osacat=0
    Once you are at 10.6.8 Lion is still available from Apple. You will have to call Apple Customer Care 1-800-692-7753 or 1-800-676-2775. to purchase it. Then within 3 days you will get an email with a code which you can use to download Lion from the App Store.  The price is still $29. You must have at least a model 2,1 MacBook.
    Lion will require at least 2gb of RAM but really needs 4gb to run smoothly.
    As for third party programs see this list for compatibility with 10.7 http://roaringapps.com/apps:table
    Also Lion doesn't run any Power PC programs. To see if you have any Power PC programs go to the Apple in the upper left corner and select About This Mac, then click on More Info. When System Profiler comes up select Applications under Software. Then look under Kind to see if any of your applications are listed as Power PC. Universal and Intel will run under Lion.
    Before Mac switched to Intel processors in 2006 they used Power PC processors from 1994 to 2005. Power PC 601 through 604, G3, G4 and G5. Applications written for the Power PC processors need the application called Rosetta to run on Intel processors. This was part of the Operating System in 10.4 and 10.5 but was an optional install in 10.6. With 10.7 Lion Apple dropped all support for Power PC applications.

  • I recently gifted a song to my sister, and just found out she didnt get it because she changed her email. how do i resend the gift?

    irecently gifter a song to my sister and just found out she didnt get it because she changed her email provider. how do i resend the gift?

    If you share an Apple ID, both of your phone numbers should be linked to that ID. You should be able to use your phone number as well. My wife, my daughter and I all share an Apple ID for purchases, and we each text from our iOS devices using our own iPhone numbers.
    When iOS 6 came out, you were able to link the phone number with your Apple ID to use for Messages and FaceTime. You will need to sign out of messages on all devices and then start the process all over again.
    Take a look at this.
    iOS and OS X: Link your phone number and Apple ID for use - Support

  • Troubleshooting of 370 A tektroniks curve tracer. Output get disabled when we increase the current to the device.how to troubleshoot?

    Output get disabled for Tektronics 370 A curve tracer when i apply current to the device from curve tracer. Please give me some iea to troubleshoot the problem.

    hello,
    i don't have tools needed but , i see one thing is that you enqueue 
    every time you are greater 3 that means about every 2-3 ms so consumer is really   sought
    is it really what you want ?
    may be you want to start on a treshold so you can use a treshold fonction 
    if i don't make mistake your square is 10 hz and the daq is configured 25000 sample 25000 hz
    so you aquire 1s of signal every 100ms , there is something to correct
    make tests and tell us
    Regards
    Tinnitus
    CLAD / Labview 2011, Win Xp
    Mission d'une semaine- à plusieurs mois laissez moi un MP...
    RP et Midi-pyrénées .Km+++ si possibilité de télétravail
    Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
    Don't forget to valid a good answer / pensez à valider une réponse correcte

  • What channels are added in getting HD Extrememe over the channels in TV Essentials​?

    What channels are added in getting HD Extrememe over the channels in TV Essentials. Is there a coherent and specific list of the channels added anywhere? I surfed the Verizon website and materials and only got frustrated.

    Go to: http://www22.verizon.com/Residential/FiOSTV/Channe​lLineup/ChannelLineup.htm?zipCode=15102
    Once there, type in your zip code and select your appropriate county. From there, you can click on "Essentials Plan," see what is offered there, and then click on "Extreme HD Plan," and compare the different channels.
    Hope this helps.
    Give Kudos to those who deserve.
    "Any man can stand adversaty, but if you really want to test a mans character, give him power." - Abraham Lincoln

Maybe you are looking for

  • Report Based on SQL view not pulling in all parameters

    Post Author: ronhawker CA Forum: .NET I based a report on a SQL view below:SELECT     TOP (100) PERCENT CorpDirectory.Position, CorpDirectory.PhoneDirect, CorpDirectory.Email, CorpDirectory.Store, CorpDirectory.Name,                       CorpDirecto

  • Adobe Reader will not set as default application for .pdf in windows 8.1 pro x64

    When I install adobe reader the icon/app changes from windows reader to Pick an app, I choose change and select adobe reader, the icons on my desktop flicker but nothing actually changes.Control Panel\All Control Panel Items\Default Programs\Set Defa

  • External Hard Drive - Not Sure How to Use It

    Hi. My MacBook Pro's main hard drive is pretty much full. I just bought an external hard drive. Is there a way I can (in addition to backing up my most important files) somehow transfer certain files from the computer to the external hard drive (to f

  • Strange Mail problems after Mac OS X 10.4.6 Update

    All of a sudden, Mail has started behaving strangely on me and I believe this could be caused by the Mac OS X 10.4.6 Update that hasn't been released yet. Whenever I create a new message and click "Send", instead of sending the message, Mail turns it

  • Save pdf documents.

    Hi, I want to force the browser to ask whether to save or open pdf documents like other documents and not automatically open the pdf documents in the browser. I pull pdf files from a folder and display on the webpage. When the user click on the link,