BAPI_OUTB_DELIVERY_CHANGE Issue in multiple call

Hi All,
I am calling  BAPI_OUTB_DELIVERY_CHANGE twice in program.
In first call I am changing delivery quantity to 1 ton .
Then in second call I am updating delivery with true quantity.
Now the issue is when I am calling BAPI second time its giving quantity error ' Stock not available for this material #'.
If I put wait for 10 sec  between 2 call then bapi is executing successfully.
Can anybody tell me how I can avoid wait statement.

I think there may still be some updates happening in the background. You can also try doing like this for the second call.
do 10 times.
call BAPI.
if return message is stock not available only then stay in this DO loop.
for any other message exit the DO loop.
enddo.
This way you will not wait 10 seconds but only that long as it needs to be or a maximum of 10 calls(you can adjust this number also).

Similar Messages

  • Queue Issue, reentrant/multiple calls

    I have a slight problem using queues. I've read the posts that are close to my problem but i haven't figured out how to solve my case.
    I have a "main window" where i want the queue to show constantly. Then i have 5 places that can add values to a single queue to be tested with a specific equipment. Even if i use 1 name for the queue the reference when obtaining the queue changes (read in a post). So i'm not able to modify 1 queue from 4 different places. I don't think it's appropriate to link from the "main window" the queue reference into the 5 places it should modify them.
    So how should i solve my case? With reading the queue status from a Global Variable (not good solution)?
    Attachments:
    1.png ‏19 KB

    When you open a queue by name you get a different queue ref to the same queue.
    So you should be able to load the queue inside your subvi and post messages to the main VI without passing the reference around.
    Be aware queues are bound to the application instance and you can't use them in a different app instance.
    Just make sure that you keep the queue alive. So don't close it immediatly after writing to the queue.
    Ton
    Message Edited by TonP on 07-26-2007 01:20 PM
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • CP-8941 Multiple Call/Call Waiting Settings issue

    Hi,
    i want to change the cisco ip phone 8941 busytrigger to 1 but in all my phones its grayed.
    i upgraded the firmware to SIP 9-2-3-5. and restarted the call manager servers, but still i am not able to change it.
    i am using CUCM 8.6.2.
    is there a way to do this...
    my actual problem is  if
    user1-------calls-----------user2(both phones gets busy)
    user3-------calls----------user2(user3 must listen busy tone, and user2 should be notified of a call from user3).
    but in my case user3 is not getting busy tone instead he is getting ringback and thinks user2 is ignoring the call of user3.
    so can i solve this issue in any other way...

    Hi Mohammed,
    You need to install cmterm-894x-qed.9-2-2-0.cop.sgn from the following link on all the servers and restart the TFTP service and then reset the 8941 IP phones
    http://software.cisco.com/download/release.html?mdfid=283095470&flowid=46243&softwareid=282074289&release=9.4%281%29&relind=AVAILABLE&rellifecycle=&reltype=latest
    Release notes for this cmterm-894x-qed.9-2-2-0.cop.sgn
    http://www.cisco.com/en/US/partner/docs/voice_ip_comm/cuipph/8941_8945/firmware/9_2_2/english/release/notes/8941_8945_922.html
    Multiple Calls Per Line
    The Cisco Unified IP Phones 8941 and 8945 now support Multiple Calls Per Line.
    Each line can support multiple calls. By default, the Cisco Unified IP  Phones 8941 and 8945 support four active calls per line, and a maximum  of 24 active calls per line. Only one call can be connected at any time;  other calls are automatically placed on hold.
    The system allows you to configure the maximum calls/busy trigger to not  more than 24/24 both for SCCP and SIP. The default call/busy trigger  value is 4/2.
    This feature is supported on both SIP and SCCP phones, with Unified CM 7.1(5) and later.
    HTH
    Manish

  • Multiple call of update function module

    Hi Everybody,
    I have made implementation to the definition MB_DOCUMENT_BADI( material Document creation).
    While executing this BADI I am getting short dum with this error  Multiple call of update function module.
    Here is the short dump--
    In the FORM routine Buchen_Ausfuehren (program SAPMM07M), an error
    message was issued by a Business Add-In (BAdI) or function module.
    This is not permitted, because it could lead to data             
    inconsistencies. For this reason, the update of the material     
    document was also terminated with a termination message (dump).  
    Note that this message (M7 372) is not the responsible error     
    message.                                                         
    Please any body suggest the way forward.
    Regards,
    Sandeep.

    Hi Kiran,
    Thanks for the reply.
    I have created one implementation to the BADI MB_DOCUMENT_BADI. This badi will hit while creation of material document.I have write the code in method MB_DOCUMENT_BEFORE_UPDATE such that it will act only for certain movement types specially for t-codeMb1a and MB31.
    What problem I am facing i have used a error message "MB_DOCUMENT_BEFORE_UPDATE" in this method.If we got the erroe message then we dont need to post the material dcoument,but here problem is that if the material document could not posted then it corrupt the material and when we performing 261/101 we got error message like " Inconsistency between MM and ML for material and plant"
    I have used following things like-
    1-while updating the customized table using " Commit Work".
    2-Call function vb_change_batch for updating the batch and not in update task.
    3. Dequeue the table after updating the table.
    Will thos things can create any inconsistency to  the MM and ML.
    Please suggest me uor thoughts.
    Thanks
    sandeep.
    Thanks ,
    sandeep.

  • Forms hanging after multiple calls to Foreign Function Interface

    Hi,
    Can anyone help me with this problem. I'm getting a 'FRM-92100:
    Your connection to the server was interrupted ... Details ...
    Java Exception:java.io.EOFException' error message when i make
    two calls to a c share object file using the ORA_FFI package.
    Forms will hang with that error message when I call the foreign
    function more than once and when the ORA_FFI.LOAD_LIBRARY
    function is executed twice.
    I've tried using the ORA_FFI.UNLOAD_LIBRARY function at the end
    straight after the load library plus my processes and it still
    hangs with that error message.
    I've got a temporary work around which is not ideal but it
    works. I've made another copy of the C shared object file and
    renamed it and made my second call to load this library.
    I would prefer to have one shared object file and make multiple
    calls to it from forms. Any suggestions?
    note : running forms 6.0 on three tier architecture with web
    browser.

    "Mush15" <[email protected]> wrote in
    message
    news:g7hela$flo$[email protected]..
    > Ok the issue is a stack overflow caused by calling the
    function
    > recursivly.
    >
    > I have tried creating 2 functions and have each call the
    other but still
    > recieve a stack overflow.
    >
    > Any ideas help??
    Try incrementing a counter every time you call the function
    and decrementing
    it on the way out. When you hit 2640 times, stop calling it.

  • How to update multiple calling hours based on business partner

    Hi All,
    please help me in this issue : how to update multiple calling hours based on business partner in SAP CRM.
    Regards,
    Siva kumar.

    Check maintainance view V_TB49, add new scheduling type.

  • Can I receive multiple calls on a skype number at ...

    I am trying to work out if a skype number is working for our business.
    If a call is coming in and is taken via skype by a staff member, can we receive another call? Basically having multiple calls to one skype number at the same time, picked up by different staff members via skype.
    If this is not possible, what other options are there?

    Please review our Skype Fair Usage Policy
    https://support.skype.com/en/faq/FA10364/what-is-the-fair-usage-policy-for-unlimited-subscriptions?f...
    Your account may get suspended for package abuse. Once the system detected that your account is abusing any of our subscriptions such as Skype Number, you will receive an email telling you that your account has been suspended for subscription abuse. You can continue to make free Skype calls and send instant messages. However, you will be unable to continue using paid products such as Skype Credit, subscriptions and Skype Premium.
    The suspension of your access to paid products is permanent and you will be unable to transfer any existing products to a new account or receive a refund.
    Did my reply answer your question? Accept it as a solution or give me a Kudo to help others, Thanks.
    If one of my replies has adequately addressed your issue, please click on the “Accept as Solution” button. If you found a post useful then please "Give Kudos" at the bottom of my post, so that this information can benefit others.

  • Since I've installed Mountain Lion, I am having lock up issues with multiple programs. MS Outlook has crashed and I've lost all my folders. HELP?

    Since I've installed Mountain Lion, I am having lock up issues with multiple programs. MS Outlook has crashed and I've lost all my folders. HELP?

    okay I've finally been able to get tor and all the other programs to work according to my plan the only thing that's still making problems is that iptables doesn't work as I want it to, when I start chromium without proxy settings privoxy doesn't seem to forward the information to polipo.. do I need to add another rule to iptables.rules in order for the program to know it has to reroute the information again or how can I get this to work? and is there any way to run rtorrent with proxy support?
    anyway, problem 2 and 3 are still to be solved.
    and does anybody know where i can get a good dansguardian blacklist that was not designed for 6 year old children and for which I don't need to subscribe? I'm still getting these partypoker popups -.-
    //e: with iptables it's the same thing as described in the first post. https works, http doesnt. I get the output "Invalid header received from client." on http sites. still no idea why though.. (and the https-version of torcheck.xenubite says i'm tor unprotected while starting the browser with iptables)
    Last edited by deF291 (2011-04-23 16:16:31)

  • We run an iMac 3.4 GHz I7 for our church worship service; we haven't upgraded to Mavericks because we heard about issues with multiple screens crashing.  Has this issue been resolved?  Thank you!

    We run an iMac 3.4 GHz I7 in our church worship service; we have front screens and a stage display monitor ; we haven't upgraded to Mavericks because we heard about issues with multiple screens crashing.  Has this issue been resolved?  Now that we are 2 upgrades behind, I'm getting little concerned.  Thank you!

    Oh, well that was a whole other kettle of fish:
    Oh the G4 I attempted to install iLife '08 before Lepoard was available. About the only thing that installed cleanly was iPhoto. I ended up reinstalling everything back to iLife '06, and then upgrading back to the current stable version of the iLife '06 version. I didn't attempt a reinstall until after I upgraded to Leopard.
    When I did reinstall, I made a iLife '06 folder, copied all iLife apps into it, and upgraded. Seemed to work, except for the part where iMovie gets left behind and iDVD is only mostly functional.
    When I installed on the other 2 machines, it was after installing Leopard and all upgrades. On those 2 machines, I didn't bother with the copy, I just moved everything to the iLife '06 folder I created, and did a fresh install.
    I didn't have to do anything with the iPhoto Libraries, that I can recall.
    I always do an upgrade, never an archive and install. I've never had a problem with this back to 10.1 or 10.2.

  • Issue with multiple digital signatures disabling fast web view

    Hello, I'm using acrobat 9.1 pro and have some questions regarding an issue using multiple signatures on a pdf.
    Why am I asking the question below? My job involves preparing pdf's for submission to FDA. The FDA requires, among other things, that electronically submitted docs have fast web view enabled.
    I am currently exploring ways of using digital signatures to sign pdf reports and still make sure they are FDA spec compliant. My issue involves a document that would have multiple signature fields. What I do is create at least two signature fields in the doc and then save and optimize while enabling fast web view. When I sign the first box and save, the file retains the fast web view status. Yet, when I apply and signatures past the first one, the file is subsequently set to fast web view off without any obvious way of turning it back on. I am confused as to why it gets disabled only after the second, and not right after even the first one was signed. And, of course, I would like to know if it is possible to maintain fast web view and how to do it. I'll gladly accept "tinkering under the hood" of the file suggestions if they exist as well.
    Please let me know if anything is unclear or you need further information.
    Thanks for your time and help.
    ~Vlad

    Hi Vlad,
    Michael actual had the correct answer. The purpose of a "Linearized" file (i.e. a file that has been Optimized for Fast Web View) is to get the first page to display as soon as possible so you can start reading without waiting for the rest of the file to download. As an aside, the designated first page doesn't necessarily have to be page 0 (PDF's use a zero based counting system for pages), but usually it is. To quote the PDF specification, "The primary focus of Linearized PDF is optimized viewing of read-only PDF documents. It is intended that the Linearized PDF be generated once and read many times. Incremental update is still permitted, but the resulting PDF is no longer linearized and subsequently is treated as ordinary PDF."
    When you sign a PDF file the first time the Save process is a "full save", that is the entire document is rewritten so there are no more than two %%EOF (end-of-file) markers in it. The first EOF designates which page to show first and the second EOF designates the end of the rest of the file (so the browser knows when to stop downloading). However, when you add a second (or subsequent) signature the file is saved as an "incremental save" and all of the new data is tacked onto the the end of the original file. This is so you can do a rollback to the previous signed version and allows Acrobat/Reader to check the integrity of each signature independent of any other signatures. It's the incremental save that breaks the linearized optimization of the file.
    Steve

  • Multiple calling logical database ADA

    Hello,
    I need to call logical database ADA two times in my program. I use calling logical database using LDB_PROCESS function module. I need to call LDB for depreciation areas 01 and 60. If I call second time, I get exception  LDB_NOT_REENTRANT. I found, that for multiple calls of LDB, there should be LDB_PROCESS_INIT subroutine in logical database proram. In this case, program is SAPDBADA and in this program, LDB_PROCESS_INIT is missing.
    Could you pls. help me, how to call ADA logical database two times?
    Thanks&regards,
    Jirka

    The exception LDB_NOT_REENTRANT means: The logical database is not prepared to accept several successive calls within a transaction. So obviously you can't use LDB_PROCESS  for your purpose.
    Perhaps your goal is possible if you use a sequence of commands
    GET <ldb_node_1>.
    GET <ldb_node_1> LATE.
    GET <ldb_node_2>.
    GET <ldb_node_2> LATE.
    etc...
    where  ldb_node_1, ldb_node_2, etc... are some nodes included in logical database ADA. As I am not familiar with this particular LDB I can't tell which nodes are required to achieve your goal.

  • Erratic behavior with multiple calls to the same RFC

    Hi,
    I am running into a strange problem invoking a custom RFC from a .NET application. I would appreciate it if someone has any insight into it.
    The steps to call the RFC are straightforward:
    1. Open the connection to SAP server
    2. Make the call
    3. Close the connection
    As you can imagine, the code is also quite simple. 
    In my simulation program, I have a button on a UI form that one can click and execute the above steps.
    The problem I am running into is that, on multiple calls, sometimes the parameter values that show up on the SAP side are not right. When the input parameter (a structure) is viewed in the ABAP debugger, the field values are all getting exchanged. For example, first name field contains values for the last name. Also, some fields that are supposed to have values do not have any.
    Just before the RFC call is made, when we look at the structures on the .NET side, the field values are the way they are supposed to be.
    I have not been able to establish a pattern. Sometimes, it takes two clicks to reproduce this problem. Sometimes it takes five.
    One of the team members thinks that this starts occurring right after one call fails for some valid reasons. However, I am not yet convinced.
    Having written many custom .NET applications using RFCs an BAPIs, I am fairly conversant with the technology. However, this one just baffles me. It appears something is getting messed up at the RFC layer itself. Does anyone have any idea on what could be happening?
    Thank you in advance for your help.
    Pradeep

    Indeed this is interesting .
    The problem is caused by an incompatible change from .NET Framework 1.1 to 2.0. Howerver, the documentation on the 1.1. API was not clear enough to decide if the incompatible change was adequate or not. Now in detail:
    NCo runtime uses the reflection API Type.GetProperties to read and cache all properties of a Proxy structure. NCo assumes that the order of the returned properties is the same on each call and especially that it is the order of the properties as they appear in source code. This was the behavior in .NET 1.1. It has changed in 2.0, see e.g. the internet forum discussion in http://www.thescripts.com/forum/thread455492.html .
    Calling Type.GetProperty(<PropertyName>) or Type.SetProperty(<PropertyName>)  in your code moves the mentioned properties up in the list returned by Type.GetProperties() later inside of NCo.
    We found the following work-arroud:
    When using late-binding, call a dummy Type.GetProperties()  before any GetProperty or SetProperty.

  • How come every time i'm on the phone and another call enters I answer it but it doesnt tell me anywhere who is who on each line so i can go back and forth?? it only says multiple calls and i cant hang up the other line

    how come every time i'm on the phone and another call enters I answer it but it doesnt tell me anywhere who is who on each line so i can go back and forth?? it only says multiple calls and i cant hang up the other line.

    My carrier is Sprint. But I actually have checked with others and theirs work fine.

  • "Multiple Calls calling" iphone 4/ios5

    What does "Multiple Calls" calling mean? iphone 4 / ios 5 -
    ATT cell service. Was not making or receiving any calls that I know of. Phone was going back and forth betw service & searching....
    ATT customer service had no idea, suggested contacting Apple.

    When I first bought my iPhone 4S iOS 5.0, I was able to set a repeat reminder for a new SMS.  I was able to choose 1/2/5/10/15 minutes for it to chime again if I hadn't checked it.  The setting was in Settings > Messages.
    However, after I upgraded to 5.0.1 the setting is no longer there.  I would love to be able to turn OFF the repeat reminder.

  • Listening in to multiple calls

    I am running a small call centre style business that recieves some skype calls. I wish to listen in to the conversations for quality control.
    So far, I have just been a silent and invisible third member of a group conversation but I want to be able to listen to multiple calls at once without leaving group calls or making it known that I am joining them. Is this possible? Can I switch between multiple calls? Can I make my joining or leaving group calls invisible? Can I join one without someone inviting me into it?

    Hi,
    None of what you ask for is currently possible and I think it's hard to find good use cases apart from your scenario. Do you have an idea in which situations else such functionality could be useful? I don't think anyone would like the option for invisible call participants. Feels a lot like wiretapping and spying into calls.
    Follow the latest Skype Community News
    ↓ Did my reply answer your question? Accept it as a solution to help others, Thanks. ↓

Maybe you are looking for

  • Find out vendor refunds in bank statement

    Hi, vendor refunds and customer receivables are both incoming payment and they both look like a receipt on the bank statement. Can SAP helf the accounting staff distinguish on the bank statement between a customer and vendor receipt? Many thanks for

  • Click af:commandButton from javascript

    Hey I'm having the same issue as you. I want my session to be destroyed when a users closes the window. As onUnload triggers every time you navigate away from the page I can't use it. Instead I'm using the following Js code: <script type="text/javasc

  • How to configure SOAMANGER in SAP

    Hi Friends , I am want to call external services from SAP. To achieve this  I have to configure using transaction SOAMANAGER. When I run this transaction  I am getting an error message . This page can't be displayed Make sure the web address http://p

  • Overruling Packing Instructions in COWBPACK

    Dear, In transaction COWBPACK I can only seem to pack according to Packing Instructions. I want to use Packing Instructions BUT I want to be able to overrule the result of the packing based on the Packing Instruction. Because the Start automatically-

  • Skype Freezes during calls

    For some reason my system freezes whenever skype goes to call. A friend will call or I will atempt a call and as soon as it connects, skype causes my system to freeze. It will freeze just as the call connects. I've tried uninstalling skype and re-ins