Cannot update batch header during MIGO GR using BADI MB_DOCUMENT_BADI

I am trying to update next inspection date via MIGO when Goods Receipting a production order which is held in the batch header and in a classification we have set up. I have used function modules to try and perform the update.
I have used both 'VB_UPDATE_BATCH' and QEVA_BATCH_UPDATE both by themselves and in an update task to update field QNDAT. (1st one updating MCHA and MCH1 the second one to update MCHA).
I had the code before in POST_DOCUMENT of BADI MB_MIGO_BADI and this made no difference either. Sometimes it updates if I cancel the material document and redo the goods receipt with the same production number but this is very inconsistent. I need this to be done when I am posting the goods receipt.
Does anyone have any ideas as I am at the end of my tether with this one?
Many thanks
Regards
Larissa Maryniuk

used BAPI_CHANGE_BATCH in method CHECK_ITEM of  MB_MIGO_BADI

Similar Messages

  • Cannot update batch header MIGO GR in MB_DOCUMENT_BADI

    I am trying to update next inspection date via MIGO when Goods Receipting a production order which is held in the batch header and in a classification we have set up. I have used function modules to try and perform the update.
    I have used both 'VB_UPDATE_BATCH' and QEVA_BATCH_UPDATE both by themselves and in an update task to update field QNDAT. (1st one updating MCHA and MCH1 the second one to update MCHA).
    I had the code before in POST_DOCUMENT of BADI MB_MIGO_BADI and this made no difference either. Sometimes it updates if I cancel the material document and redo the goods receipt with the same production number but this is very inconsistent. I need this to be done when I am posting the goods receipt.
    Does anyone have any ideas as I am at the end of my tether with this one?
    Many thanks
    Regards
    Larissa Maryniuk

    i did not get total req .
    but i came to know that u want to update batch.
    rt .use this i did in this.
    MB_MIGO_BADI
    use this method  LINE_MODIFY
    where u can modify batch field.
    and if u want to modify batch characteristics
    use
    MBCFC004
    in this
    EXIT_SAPMM07M_004
    if nay clarification plz reply.

  • Cannot update batch header no matter how I try in MB_DOCUMENT_BADI

    I am trying to update next inspection date via MIGO when Goods Receipting a production order which is held in the batch header and in a classification we have set up.  I have used function modules to try and perform the update.
    I have used both 'VB_UPDATE_BATCH' and QEVA_BATCH_UPDATE both by themselves and in an update task to update field QNDAT. (1st one updating MCHA and MCH1 the second one to update MCHA).
    I had the code before in POST_DOCUMENT of BADI MB_MIGO_BADI and this made no difference either. Sometimes it updates if I cancel the material document and redo the goods receipt with the same production number but this is very inconsistent.  I need this to be done when I am posting the goods receipt.
    Does anyone have any ideas as I am at the end of my tether with this one?
    Many thanks
    Regards
    Larissa Maryniuk
    Edited by: Larissa Maryniuk on Feb 7, 2008 4:34 PM

    Have you tried using 'BAPI_BATCH_CHANGE'?   I have used this FM, but not in the MIGO exit.
    Update the batchattributes and the corresponding x parameter.   There is a field for updating the inspection date.  I wonder if it is failing to update for you because the batch is not yet created.  Are there any error/warning messages returned from your FM's?

  • Batch determination during MIGO

    Dear all,
    This is question regarding the Sort rule used during Batch determination during MIGO (GI).
    Below are what i've done:
    1. Maintain Batch search strategy via SPRO
    2. Maintain Batch search condition records via MBC1. Here I maintain the sort rule = ZSORT.
    FYI, sort rule contains characteristic fields: (1)BATCH_CREATION_DATE, (2)BATCH_NUMBER.
    3. Performing GI via MIGO, in Batch determination screen there is a column showing "Characteristic sort." From here, i can view how the characteristic fields and its value being sorted.
    Problem arise, in above screen, i can only see (1)BATCH_CREATION_DATE only display in column "Characteristic sort.". Missing of characteristic field (2)BATCH_NUMBER.
    Could you please comment on what went wrong? Please comment
    This is the setting used for BATCH_NUMBER (TCode CT04):
    Basic data    
    Chars group = BATCH
    Status = Released
    Format  = Char
    Number of Char = 10
    Value Assignment = Single value
    Values
    No maintenance
    Addnl data
    Table name  = MCHA
    Field name = CHARG
    Procedure for value assignment = Not Ready for input
    Restriction
    No maintenance

    Dear all,
    I've got my issue solved. There are 2 areas i applied fixes:
    1. Sort rule's characteristic field should come from the same class as Selection criteria (MBC1)
    2. Sort rule's characteristic field's setting in CT04, it should coming from table field that declared in tab "Addnl data".

  • Upon updating to firefox 6, I get the error message "cannot update because 'libsmime3.dylib' is in use" Now firefox cannot start because it is partially updated and non-functional.

    Firefox fails to open, now that it has been partially updated. Initially, it asked to replace the old firefox, which then proceeded to the next step when this appears: "cannot update because 'libsmime3.dylib' is in use". I have quit all applications and restarted, trying to run the install again as the first thing when the computer comes up. Mac version is OS X 10.5.8.

    Firefox is already running but is not responding
    * https://support.mozilla.com/en-US/kb/Firefox%20is%20already%20running%20but%20is%20not%20responding
    Profile in use
    * http://kb.mozillazine.org/Profile_in_use
    The program must close to allow a previous installation attempt to complete
    * https://support.mozilla.com/en-US/kb/The%20program%20must%20close%20to%20allow%20a%20previous%20installation%20attempt%20to%20complete
    Check and tell if its working.

  • Batch Determination during MIGO Movement 543 O

    Dear All SAP Gurus,
    I want to know about batch determination during MIGO transaction for subcontracting cycle , movemnt type 543 O -consumption for parts provided to vendor.
    In Brief: Suppose clients executing subcontracting cycle and send the RM/PM against subcontracting PO to vendor. At the time of MIGO we have to enter the batch number of RM/PM which we had sent to vendor. But when we serach the batches available at the vendor it shows number of batches. My client want batch determination process so that system will take the batch number accordingle po as we sent material with reference to po.
    Please suggest in this matter or if any one has solution please tell.
    Thanks in advance
    Mahesh

    Hi Mahesh,
    Go to SPRO > Logistics - General > Batch Management > Batch Determination and Batch Check > Batch Search Procedure Allocation and Check Activation > Allocate IM Search Procedure/Activate Check > Here assign Batch Search Procedure "ME0001" to Movement Type 543 O
    Then go to MBC1 and maintain condition record for Strategy Type ME02 i.e. Plant and here keep selection method as "O"
    In MIGO, click on "Stock Determination" button for automatic batch determination.
    Hope it helps!
    Preethi.
    Edited by: preethi R on Nov 24, 2008 2:10 PM

  • I have an iphone 4, with ios 4.3.3. I want to update it but when I connect it to itunes it says that it is the latest version of the software. So I cannot update it, and I need it very bad. Can anyone help me?

    I have an iphone 4, with ios 4.3.3. I want to update it but when I connect it to itunes it says that it is the latest version of the software. So I cannot update it, and I need it very bad. Can anyone help me?

    What version of iTunes do you have installed? If you are trying to update to iOS 6 you need iTunes 10.7 or later.

  • Batch number during MIGO

    hi,
    how to assign the batch number  while doing GR in batch tab at item level.( i want to create batch and assign during MIGO )
    regards
    venga

    Hi
    Activate batch mamagement material level set configuration below path
    SPRO >logistic general >batch management >configure batch determination for inventory management
    batch mamagement tick in material master mandetory
    Regards,
    Vivek

  • Error out from MB01 and MIGO when using BADI "INSPECTIONLOT_UPDATE"

    Hi all:
    We are currently implementing Quality Level with Dynamic Modification Rule using SAP Quality Management module.
    We are trying to change stage level by modifying the field PRSTUFENAE of the table QDQL (Material Quality Level) using BADI: INSPECTIONLOT_UPDATE, new logic is successful for a goods receipt with a single lot if we use COMMIT WORK within BADI, but an error occurs from MB01 and MIGO when we are receiving multiple lots in same goods receipt.
    Have anyone else got across something similar?
    Thank you in advance,
    Regards
    Daniel Guillen

    Hi Paul,
    First of all, there is a How To Guide for RUNLOGIC implementation. It uses BAdI approach as well, but doesn't call WRITE_BACK that can change from version to version.
    Second, you should be able to see that method GET_DELTA is being called under
    IF D_CALC_DELTA eq abap_true and df_bw_delta eq abap_false.
    D_CALC_DELTA is set to TRUE only in Method WRITE_BACK_INT; I hope you aren't using that one.
    DF_BW_DELTA is taken from DM Package parameters. Can you check what you have there or put just a break-point in PACKAGE_LOGIC_1 to see what value those 2 variables have?
    Hope this helps,
    Gersh

  • Update field LSMNG in MIGO transaction using bapi bapi_goodsmvt_create

    Hi ,
       I am using bapi bapi_goodsmvt_create  for creating goods receipt against purchase order in which I have to update field LSMNG i.e. Del. Note Qty. But this field is not there in BAPI input parameters/table fields.
    How i can update this field using the same bapi
    Thanks and regards
    Deepak Sharma

    Hi,
       Can I update this field using BAPI bapi_goodsmvt_create.
    thanks
    Deepak

  • N95 CANNOT UPDATE TO VERSION 30 ERROR WHEN USING N...

    Firstly i have bought a N95 with version 10 on and my product code is 0535053 which says i can update to
    30.0.015
    It was on 02 but seems unlocked as i have used it abroad with different sims
    I am currently in Thailand although it a u.k phone and have tried everything to sort this out
    I have un-installed all nokia programs -re-installed and still it fails to complete
    I have the latest NSU but do not see the amount of time to complete just the amount of data sent and it gets about 50% of the way and then i get the failed message and do i want to retry
    Please help as i think the phone is great but is it much much better with version 30?
    Thanks in advance

    Hey please help still trying

  • HT4623 I cannot update my iOS even when I use the update button from iTunes.

    When I use the update button from iTunes it gives me this message " the iPad soft where update server could not be contacted (that's in boldface). Make sure your network settings are correct and your network connections is active, or try again later." my network settings are active and correct (I think it is correct) and I tried again later many times. Please help me I want to go to iOS 6.1.

    This happens a lot! Go to settings> general> reset> reset network settings. When this is completed, anything stopping the update will be removed. Try it again after that.

  • I purchased my Macbook from someone and I cannot update some of my apps without using their apple i.d. What can I do to change this?

    Please help!

    The first thing to do with a second-hand computer is to erase the internal drive and install a clean copy of OS X. You — not the previous owner — must do that. How you do it depends on the model, and on whether you already own another Mac. If you're not sure of the model, enter the serial number on this page. Then find the model on this page to see what OS version was originally installed.
    1a. If you don't own another Mac
    If the machine shipped with OS X 10.4 or 10.5, you need a boxed and shrink-wrapped retail Snow Leopard (OS X 10.6) installation disc from the Apple Store or a reputable reseller — not from eBay or anything of the kind. If the machine has less than 1 GB of memory, you'll need to add more in order to install 10.6. Preferably, install as much memory as it can take, according to the technical specifications.
    If the machine shipped with OS X 10.6, you need the installation media that came with it: gray installation discs, or a USB flash drive for some MacBook Air models. For early MBA models, you may need a USB optical drive or Remote Disc. You should have received the media from the previous owner, but if you didn't, order replacements from Apple. A retail disc, or the gray discs from another model, will not work.
    To boot from an optical disc or a flash drive, insert it, then reboot and hold down the C key at the startup chime. Release the key when you see the gray Apple logo on the screen.
    If the machine shipped with OS X 10.7 or later, you don't need media. It should boot into Internet Recovery mode when you hold down the key combination option-command-R at the startup chime. Release the keys when you see a spinning globe.
    1b. If you do own another Mac
    If you already own another Mac that was upgraded in the App Store to the version of OS X that you want to install, and if the new Mac is compatible with it, then you can install it. Use Recovery Disk Assistant to create a bootable USB device and boot the new Mac from it by holding down the C key at the startup chime. Alternatively, if you have a Time Machine backup of OS X 10.7.3 or later on an external hard drive (not a Time Capsule or other network device), you can boot from that by holding down the option key and selecting it from the row of icons that appears. Note that if your other Mac was never upgraded in the App Store, you can't use this method.
    2. Partition and install OS X
    If you see a lock screen when trying to boot from installation media or in Recovery mode, then a firmware password was set by the previous owner, or the machine was remotely locked via iCloud. You'll either have to contact the owner or take the machine to an Apple Store or another authorized service provider to be unlocked. You may be asked for proof of ownership.
    Launch Disk Utility and select the icon of the internal drive — not any of the volume icons nested beneath it. In thePartition tab, select the default options: a GUID partition table with one data volume in Mac OS Extended (Journaled) format. This operation will permanently remove all existing data on the drive.
    After partitioning, quit Disk Utility and run the OS X Installer. You will need the Apple ID and password that you used to upgrade. When the installation is done, the system will automatically reboot into the Setup Assistant, which will prompt you to transfer the data from another Mac, its backups, or from a Windows computer. If you have any data to transfer, this is usually the best time to do it.
    Then run Software Update and install all available system updates from Apple. To upgrade to a major version of OS X newer than 10.6, get it from the Mac App Store. Note that you can't keep an upgraded version that was installed by the previous owner. He or she can't legally transfer it to you, and without the Apple ID you won't be able to update it in Software Update or reinstall, if that becomes necessary. The same goes for any App Store products that the previous owner installed — you have to repurchase them.
    3. Other issues
    If the previous owner "accepted" the bundled iLife applications (iPhoto, iMovie, and Garage Band) in the App Store so that he or she could update them, then they're linked to that Apple ID and you won't be able to download them without buying them. Reportedly, Mac App Store Customer Service has sometimes issued redemption codes for these apps to second owners who asked.
    If the previous owner didn't deauthorize the computer in the iTunes Store under his Apple ID, you wont be able to  authorize it immediately under your ID. In that case, you'll either have to wait up to 90 days or contact iTunes Support.
    When trying to create a new iCloud account, you might get a failure message: "Account limit reached." Apple imposes a limit of three iCloud account setups per device. Erasing the device does not reset the limit. You can still use an account that was created on another device, but you won't be able to create a new one. Contact iCloud Support for more information.

  • Cannot update my iPhone 4 or iPad using MAC

    Hi,
    For a couple weeks now I have tried to update my ipod and ipad.  It continues to say "There was a problem downloading the Software.  Make sure your network settings are correct and active".  Well, the are both.  I have also had problems downloading iTunes and finally could do the update by going on Apple and manually downloading from there. Can anyone help me?

    Try a manual firmware install, as outlined in link below.
    Basic troubleshooting steps  
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 
    Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101

  • I cannot connect to app store. I tried all the possible ways to fix these error but still nothing happened. I really need help i cannot update my applications. I'm using iphone 5 ios 8.1.2

    please i really need help!

    I had the same problem on my Mac Pro, iPad, Macbook Pro. Could not load iTunes, App Store or any support community. Called Apple Care and she asked if I had rebooted my router in awhile. I had not. Each of these would load half way and then just stop. She said iTunes and App Store could be stopped as they are different than my Discover or e-Bay accounts, which were fine. So during the 75 min call I pulled the power cord of the Netgear Wi Fi router, let it sit for 2 or 3 min and then replugged the power adapter. In about 4 to 5 min the sites started to load, although not displayed correctly. After quitting and re-starting the apps in question they are working fine again. But this has happened twice now in a 6 hour time period. So give it a try, but also give it a couple of tries.

Maybe you are looking for