Error when updating PO and Inbound Delivery

Hi,
    I am facing an error in one of my programs where I am making updates to a PO and its Inbound Delivery.
    I am processing multiple POs, the details of which are read from a text file.
    These PO's are processed in a loop, and for each PO, the 'BAPI_PO_CHANGE' is first called and then
    I am using BDC over transaction 'VL32' to update the Inbound Delivery.
    However, when I try to process multiple PO's, it gets stuck when updating the Inbound Delivery of the second PO
    itself. When the BDC for updating the inbound delivery is called, I get an error message informing that the 'PO' is
    still being processed.
    I am not sure why this error is occurring because I am calling the 'BAPI_TRANSACTION_COMMIT' after updating the PO.
    Any suggestions for solving this would be a great help.
Regards,
Sudeep

This because the locks aren't already deleted.
After the "BAPI_TRANSACTION_COMMIT", try this code
do.
CALL FUNCTION 'ENQUEUE_READ'
   EXPORTING
     gclient = sy-mandt
     guname  = '*'
     gname   = 'EKKO'
     garg    = garg                     "YOUR PURCHASE ORDER
   IMPORTING
     subrc   = vn_subrc
   TABLES
     enq     = tb_enq
   EXCEPTIONS
     OTHERS  = 1.
if tb_enq[] is initial.
    exit.
endif.
enddo.
In this way, you avoid locks and you can process the Inbound delivery
Edited by: Simone Milesi on May 5, 2010 10:38 AM

Similar Messages

  • Run time error while Creating IDN and Inbound Delivery

    Hi All,
    I am getting Run time error while creating Inbound Delivery Notification from Inbound Queue and Inbound Delivery from IDN
    After debugging i come to know that system is looking for Patch Level SAPKNA7026 but in my system Patch is upto SAPKNA7022
    Is there any OSS notes available to deactivate/resolve this run time error ? I tried 0001798794 Deactivation of hierarchical access functionality but system is still giving me run time error
    Regards,
    P@M

    Hi Agrawal
    As you are getting run-time error after entering the sold to party and material and the error is in SAPLV61Z ,
    close the session for sometime and open again and then create sales order and then enter sold to party and material and then check wheather you are getting or not. If you are still facing the problem then take the help of the ABAP & BASIS consultant's.
    Regards
    Srinath

  • Error when updating itunes and now it won't reinstall

    When i was updating there was an error, now i've had to uninstall and it won't install again saying it can't load the C drive library. Any ideas what to do?
    thanks

    Solving the iTunes Installation Problems in Windows
    1. Apple has posted their solution here: iTunes 11.1.4 for Windows- Unable to install or open - MSVCR80 issue.
    2. If the Apple article does not fully resolve the problem for you, then try Troubleshooting issues with iTunes for Windows updates - MSVCR80.

  • R5034 Runtime error when updating ITunes  help - deleted all iTunes/Apple programs and reinstalled ITunes

    R5034 Runtime error when updating ITunes  help - deleted all iTunes/Apple programs and reinstalled ITunes
    help please ?

    solved problems and reinstalled  - 4 hours wasted trying to fix iTunes ...
    Apple could do better to inform users when updating and upgrading  .....

  • I have a 3rd gen ipod touch and i want to update to 4.3.3 and it says error when done downloading and i have the new itunes?

    i have a 3rd gen ipod touch and i want to update to 4.3.3 and it says error when done downloading and i have the new itunes?

    it says we could not complete your itunes store request an uknown error occurred (-9808)
    there was an errorin the itunes store. please try again later. I plug in my ipod to update it and it says that?

  • Error when updating Idocs in Source System - Urgent

    Hi Team,
    When i was loading the data from SAP R/3 to BW, i was facing the error "Error when updating Idocs in Source System" (0 From 0 Records).
    When i check in the Environment>Transaction RFC->In the Source System, it was displaying the error--
    <b>" Import container contains errors (are any obligato) in the Function Module: IDOC_ERROR_WORKFLOW_START_R".</b>
    Can any one please help me to solve this error.
    This is am Urgent requirement for me to deliver.
    Thanks & Best Regards,
    Venkata.

    Hello VenkaTa,
    How r u ?
    The workflow settings are not proper it seems. Ask the BASIS people to correct the Work Flow Settings. Then try Updating the IDOCs manually.
    Also check the Inbound and outbound IDOCs in the Source system. The outbound should contain some warnings or errors.
    Best Regards....
    Sankar Kumar
    +91 98403 47141

  • Issue using DELVRY03 to update wieghts in inbound delivery

    Hi All,
    I am trying to use DELVRY03 to update netweight of inbound delivery. when I do that, its creating a new delivery and net weight is getting fetched from PO automatically instead of the entered one. Can anyone help?
    I have also added qualifier in E1EDL18 as CHG.
    Thanks in advance,
    Kalyan Venigalla.
    Edited by: Kalyan Mohan Venigalla on May 25, 2009 9:32 AM

    hi,
    see code of FM: IDOC_INPUT_DELVRY, maybe qal = 'GWT' from E1EDL18
    will be better?

  • Error when creating document flow for delivery

    Hi,
    I would like to post the GR for Inbound delivery. I receive an error the TO is not confirmed. I have tried to confirm the tranfer order and I receive the "error when creating document flow for delivery . In order to avoid inconsistencies the goods movement posting was cancelled." It seems like the document already exist.
    How can I do to confirm the TO and post the GR.
    Thanks
    Dede

    In Inbound delivery after GR only a TO is created and confirmed.
    So please check the PO history and see a GR is there or not .
    Once a GR is found create a TO and do the confirmation

  • Purchase order and Inbound delivery

    Hi gurus,
    Im trying to create an inbound delivery with reference to purchase order. In the configuration i've created a new delivery type similar to EL and said Yes to all the copy controls that system asks. When im creating the inbound delivery with reference to the PO it is picking up the standard EL delivery type instead of the one that i created. What did i miss here? I want the inbound delivery type that i created be the default inbound delivery type for that particular order type.. pls suggest
    cheers
    Joseph

    Hi Joseph,
    Just check whether the newly created delivery type is assigned to the Confirmation Category LA under the below path:
    SproMaterials ManagementPurchasingConfirmationsDefine Internal Confirmation Categories
    Regards
    Ramesh Ch

  • Error message while creating an inbound delivery to generate an idoc

    hi,
    i am getting the following error message while creating an inbound delivery(vl31n) where the message has to be sent ot decentralized warehouse mangament using idoc .
    ." No recipient could be determined for object BUS2015 method SAVEREPLICA"
    Procedure for System Administration
    The system attempts to determine a recipient for object BUS2015 method SAVEREPLICA using the filter object types WHSE_NO. The system cannot determine a recipient. Define a filter object type WHSE_NO with a valid filter value for recipient determination for object BUS2015 method SAVEREPLICA.
    need help
    regards
    leo

    Inbound delivery is not part of Sales and Distribution. You might want to move your post to either the Logistics Materials Management (MM) forum or the Workflow forum.
    Also sometimes search for OSS notes by the message class and number helps.

  • Error when updating Playbook OS version via Blackberry Desktop Manager

    Greeting,
    I have a batch of old playbooks which having the stack charging issue, but I found that I can update the OS to the newest version (2.1.0.1917) via Blackberry Desktop Manager, then the charging algorithm will be changed to the updated one and go over this dead battery issue. I was able to do so successfully in the past week smoothly on several devices.
    But since this Monday, the Desktop Manager is saying "An updated Blackberry Desktop Software component must be installed before you can continue" when downloading the Desktop software and will appear "There was an error updating your software, an error has occurred while downloading the Blackberry Desktop Software.Please try again." and preventing the process. Seems there are some change on the server side starting this week which has caused this problem, but there's no error code to locate the exact issue.
    I tried on 2 different computers as well as completed uninstalling and re-installing the Desktop manager, also tried to disable the automatic update as been advised in some threads. So no clue how to deal with it for now. It will be highly appreciate if some one can share some idea.
    I've attached the step by step screenshots for reference, where you can find here:
    http://forums.crackberry.com/blackberry-playbook-f222/error-when-updating-playbook-os-version-via-bl...
    Thanks,

    BLock wrote:
    Sorry I can not help you with your problem but perhaps you can help me.  
    Can you advise where I can find info on "disable the automatic update"?
    just ignore the update if you dont want it on the playbook
    for reloading the OS
    First I would like you to do a Back Up of your PlayBook using your computer and BlackBerry Desktop Software.
    This can be downloaded for free from http://us.blackberry.com/apps-software/desktop/
    After the Back Up is complete I need you to unplug your PlayBook and then push and hold down the Power Button until the unit Force Powers Off.
    Now, while Desktop Software is still open on your computer and the PlayBook Powered Off, Connect the PlayBook to your computer.
    You should see and error screen from Desktop Software pop up that has the options to Retry, Update, or Cancel.
    QUICKLY choose the Update option.
    This will erase all the information off of your PlayBook and Re-Write the Software back onto it. Once it's complete your PlayBook will need to go back through the setup wizard, and you can then perform a restore using Desktop Software to return your information. The only thing that won't come back after the restore are the apps that you downloaded from App World but they can be easily Re-Installed using the My World feature in App World.
    Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
    Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
    Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals
    BESAdmin's, please make a signature with your BES environment info.
    SIM Free BlackBerry Unlocking FAQ
    Follow me on Twitter @knottyrope
    Want to thank me? Buy my KnottyRope App here
    BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V

  • Error Loading Hierarchy Error when updating Idocs in Source System

    Hello  Friends,
         I am loading  hierarchy data  using Info pac into  0FUNDS_CTR . I have selected  a hierarchy under hierarchy selections tab  in the Info pac .
    All Partner profiles in WE20 seems OK .   But When I loaded data , throwing errrr message  as below
    Error when updating Idocs in Source System
    Diagnosis
    Errors have been reported in Source System during IDoc update:
    System Response
    Some IDocs have error status.
    Procedure
    Check the IDocs in Source System . You do this using the extraction monitor.
    Error handling:
    How you resolve the errors depends on the error message you get.
    When I checked in TC WE05 says that  IDoc: 0000000000355113 Status: Error during syntax check of IDoc (outbound) with status 26 .
    Please advice .
    Many thanks

    Hi  Krishna4bi,
    Actually we will monitor idoc status in BD87 in SAP BI As well ECC , while extracting the data from source sytem  if any idoc struck we will manually process in BD87 , But you are telling that while loading the datasource the error occurred , so please check once in ECC side . Otherwise see how many packets are still process, make it red that infopackage and do manually update.
    Hope it helps,
    By,
    Praveen Yagnamurthy,
    SAP BI Consultant,
    Blue Marlin Systems-INDIA.
    http://bluemarlinsys.com/bi.

  • Error when updating

    I get an error when updating. The message states,
    Adobe Photoshop Elements 12.1 update
    There was an error installing this update. Please quit and try again later. Error Code: U44M1I200
    Photoshop Camera Raw 8.5
    There was an error downloading this update. Please quit and try again later. Error Code: U43M1U49
    Do you know what causes this issue?

    Please see- https://helpx.adobe.com/photoshop-elements/kb/elements-12-1-update-error.html
    This error code occurs when multiple instances of Updater are open. Please refer to following forum link for more details: http://forums.adobe.com/message/4913117#4913117#4913117
    Thanks
    Andaleeb

  • Linking field between purchase order and inbound delivery

    Hi
    I have to enter some data in the purchase order and it has to automatically updated in the inbound delivery.
    For eg: if we enter bill of ladding number in purchase order, it has to get automatically populated in inbound delivery.
    Regards
    shaker

    Hi,
    Is the example provided by you, just for example purpose or is that the field you want to copy? If that is the field you want to copy from PO to Inbound document, then how would you know the BoL no. / details at the time of PO creation?
    However if it is just an example & you want to copy some other field, then you might want to evaluate the below exits:
    MM06E001  User exits for EDI inbound and outbound purchasing documents
    LMELA010  Inbound shipping notification: Transfer item data from IDOC
    Check with your abaper.
    Regards,
    Vivek

  • Error when updating! Help please!!

    I've been having a problem with the artwork updating on my 5th iPod. I kept getting an error when updating in iTunes whenever I added artwork to songs. So I was told to go into iTunes and go under iPod options and UNCHECK the box to display the artwork on my iPod. Then click okay. Then, go back into it and CHECK the box TO display the artwork and I get an error; "..Unknown Error occurred (-50)". Same error. And yes I have pressed the center button on my iPod to scroll through the different things. And I have restarted the program and computer. Tried disconnecting hte iPod, closing the program, restarting computer, restarting iTunes and reconnecting iPod and every combination of the steps (I've done many searches on this subject here) and same result. I've tried other different things but it all ends up to this error. Can some one please help me
      Windows XP Pro  

    Hi Melophage,
    I managed to do a OS X Recovery Reboot by restarting my computer and holding down Command and 'R'. I reinstalled OS X, and now my computer is working again.
    However I'm going to take my computer into the Genius bar for review.
    I have a Macbook Pro from 2012 (with a 2.6 GHz Intel Core i7 Processor) and was attempting to update OS X (I think Version 10.8.5).
    Many thanks for your message.

Maybe you are looking for