MIGO - Check the "Overdelivery tolerance limit"

Hi All,
I'm looking for an enhancement to check the quantity in MIGO t-code. My issue is: I want that sometimes the system does't check the "Overdelivery tolerance limit" inserted into the purchase order. Is there a way?
Many thanks,
Luca

Hello,
Check like this,
  DATA: lr_ekpo LIKE ekpo,
        lv_menge TYPE uetmg,
        lv_menge1 TYPE uetmg,
        lv_menge2 TYPE uetmg,
        lv_menge3 TYPE uetmg,
        l_va_text TYPE text20.
  CLEAR: lr_ekpo.
  SELECT SINGLE * FROM ekpo INTO lr_ekpo WHERE ebeln = va_ebeln
                                           AND ebelp = wa_tc01-ebelp
                                           AND uebtk = space.
  IF sy-subrc = 0.
    lv_menge = wa_tc01-bsmng + ( wa_tc01-bsmng * lr_ekpo-uebto / 100 ).
   lv_menge1 = wa_tc01-bsmng - ( wa_tc01-bsmng * lr_ekpo-untto / 1000 ).
    lv_menge2 = lv_menge - lv_menge1.
    lv_menge3 = lv_menge2 + wa_tc01-omeng.
  ELSE.
    EXIT.
  ENDIF.
  IF wa_tc01-erfmg GT lv_menge3.
    lv_menge1 =  wa_tc01-erfmg - wa_tc01-omeng.
    WRITE lv_menge1 UNIT wa_tc01-meins TO l_va_text NO-GAP.
    CONDENSE l_va_text.
    CONCATENATE l_va_text wa_tc01-meins INTO l_va_text
                                    SEPARATED BY space.
    MESSAGE e022(m7) WITH text-025 l_va_text.
  ENDIF.
Implement the logic in the exit  MB_CF001 - EXIT_SAPLMBMB_001
Cheers,
Vasanth

Similar Messages

  • Userexit/BADI change Overdelivery Tolerance Limit in Purchase Order / MIGO

    Hi,
    i woould like to implement a own logic to set the Overdelivery Tolerance Limit in the order or MIGO. IIs there any badi/exit where I can do this?
    I tried with the exit EXIT_SAPLEINR_001 but it doesn't work.
    Thx
    Cheers
    Hannes

    Hi,
    thx for the answer.
    The BADI MB_DOCUMENT_UPDATE is only used when i save the migo. I need some point earlier since otherwise the error message appears that i i can not book more pieces as in the order.
    The Exit MEQUERY1  is only used for define a own preselection in the order and MEVME001 contains the exit EXIT_SAPLEINR_001 which i implemented but does not work.
    Other suggestions?
    Thx
    Hannes

  • "Overdelivery Tolerance Limit" of 5% for all the PO

    Hello experts
    I saw that is possible to indicate the "Overdelivery Tolerance Limit" in the Material Master Data, in order to bring it to the PO automatically.
    But I am not using materials, I am working only with material groups, so how can I define the field for all the PO to be the 5%?? only by user exit, or is it possible by customizing?
    Thank you in advance
    Best regards,

    hi Maddiii,
    It is very much possible to maintain per a particular group of material groups.i.e.,
    1.) You have to create a new Z table and in that include all the material groups with their percentages,
    2.) Call the values while saving the PO through by BAdi.
    Please let me know for further details,
    Regards...
    Srini Rao

  • Purchase Order (Overdelivery tolerance limit)

    Hi All,
    Can we fix default value of Overdelivery tolerance limit and Underdelivery tolerance limit at time of creating the PO ? if Yes then how ?
    Thanks in advance..
    Sanjay

    Sanjay,
    As per my understanding there is no standard settings  to default the value of Overdelivery tolerance limit and Underdelivery tolerance limit at time of creating the PO.
    Regards,
    Manish

  • Overdelivery Tolerance Limit

    Hello,
    Is Overdelivery Tolerance Limit works for service order.
    I have to make service entry more than ordered service.
    Please help.
    Regards,
    Vishal Garg

    hi
    when u create PO in item details
    in service TAB within the line you will find field for Overfulfillment tolerance and also a tick for Unlimited overfulfillment  so you can use any one of it
    regards
    kunal

  • How to default the Overdelivery Tolerance in POs

    Hi,
    Is there a way I can default the Overdelivery Tolerance for all Purchase Orders?
    I know it is possible through PIR, but I need it to work for services and one-off POs (no material masters).
    Thanks.

    Hi,
    You can create Inforecord without material master. In this case you can create with material group and vendor combination.
    Regards,
    Prabu

  • MIGO not working for Tolerance Limit

    Hii
    I Have set a tolerance limit of 20%. I wanted to do MIGO in two steps.
    One for the actual quantity and second for the extra 20%.
    But it is showing error that PO doesnt contain items.
    Regards
    Rakesh.B.S

    "Delivery Completed" Indicator
    The "delivery completed" indicator specifies whether the delivery for an order is considered complete. This means that no more goods receipts of the material produced are expected for this order. The order then has the status fully delivered. If the "delivery completed" indicator is set, the open order quantity becomes zero, even if the full quantity has not been delivered. You can still post goods receipts for remaining quantities, but these no longer change the status
    from
    http://help.sap.com/saphelp_erp2005/helpdata/en/a5/63358343a211d189410000e829fbbd/frameset.htm
    Edited by: Jürgen L. on Aug 4, 2008 2:09 PM

  • Overdelivery tolerance - extended classic

    Hi all,
    We have extended classic scenario, and would like to have overdelivery tolerance.  I've created a tolerance group in SRM, and assigned tol keys CF, DA and DQ. 
    I've also maintained a Purchasing Value Key in ECC via OMQW (SPRO --> MM --> Purchasing --> Material Master --> Entry Aids for Items Without a Material Master)
    When I post the confirmation in SRM I get the appropriate error message (so if I try to post 106 for a PO with 100 qty, I get the error message, 105 is OK).
    However, the IDoc goes into error in the backend, as the qty is exceeded.  Error message: "PU Ordered quantity exceeded by 5 EA : <PLANTCODE>"
    When I look at the PO inside SRM, in the item detail the overdelivery tolerance is 0%, and the ECC copy also has 0%.  I would have expected them both to show 5% (and for this to copy-into the PO)?
    If I create a new 'spot PO' directly in ECC (ME21N) with all the same detail, the 5% tolerance is coming through automatically from the OMQW setup.
    Do you have any ideas how to get the overdelivery tolerance into the SRM PO, so that the copy in the backend would also show it (so IDOC will post successfully)?
    Thanks in advance,
    J

    Hi,
    I have a similar problem.
    I have assigne a tolerance group in ppoma_bbp, but the purchasing group is not defaulted into the PO,
    Therefore the % on the PO is 0, which leads to an error message when i hit check on the confirmations in SRM, even if I am within the tolerance limit.
    Also when i try to search for the tolerance group on the PO it won't display.
    If I update the tolerances the manually ont he PO the i am able to create an overdelivery.
    We are on the same release ECC 6 EhP 4 and SRM 7.0 SP 9, extended classic.
    Could you please update how you solved the issue?
    Cheers
    Ulrike

  • Tolerance Limit in Percentage at MIRO

    Hi,
    I want to set the MIRO Tolerance Limit of  5% from the IV amount. I want to use by OMR6 not by vendor specific. I've set the check limit settings in Tolerance Key PP and DQ, but it's not working.
    Can anybody help me on the steps to be done?
    Thanks.

    Hi,
    Yes, I choose the button for Check Limit.
    This is the actual scenario.
    1. The PO amount is USD10 for 1qty= total USD10.
    There's also planned delivery cost 5% from the original total amount 5% * USD10= USD0.50.
    Giving the total PO of USD10.50
    2. MIGO:GRN 1qty
    3. MIRO
    The IV is based on GR: 1qty, amount USD10 plus the planned cost giving the total of USD10.50.
    But, I want to set tolerance limit as 5% in MIRO, meaning it should allow me to post maximum for USD11.025.Now its only allowing to post for amount USD10.50.
    Currently settings in PP and DQ not applicable.

  • Block Payment in MIRO for Lower Tolerance Limit

    when we are posting MIRO Transaction
    how can we block payment invoice in MIRO Tcode for the Lower Tolerance Limit
    As the standard functionality is working for Upper Tolerance Limit, in the same way user needs to
    block invoice for Lower Tolerance limit
    Thanks

    Hi Ganesh,
    below is the user exit where you can check the tolarance and put the Block according to the your requirment.
    User Exit name - MM08R002 -User exit for tolerance checks
    in the above user exit you have to use  the below Function exit.
    1) EXIT_SAPLMRMC_001
    2) EXIT_SAPLMRMP_001
    we implemented the above user exit to put the payment block based on the checks.
    You can find the documentation of the above exit in the system.
    Thanks
    Naresh

  • Tolerance Limit for GRN.

    If I have maintained the upper tolerance limit in PO. And if the PO will have no open items, then system will allow to make the GRN of extra quantity(within this tolerance limit).
    Is there any configuration for this?

    >
    SunilSisodia wrote:
    > If I have maintained the upper tolerance limit in PO. And if the PO will have no open items, then system will allow to make the GRN of extra quantity(within this tolerance limit).
    >
    > Is there any configuration for this?
    > Hi
    >
    > When there is no open itme in PO it means it is over. Delivery is completed. You cannot make other GRN and there are no such settings available in SAP.
    No open items means Delivery complete indicator gets turned on, so no GRN can take place. You can redo your question, saying if few items are left, and I want to purchase more, if tolerance is set, it will not allow you to go above the tolerance.

  • Overdelivery Tolerance

    Hi,
    Just a simple query...In PO the overdelivery tolerances acts on total quantity or quantity yet to be received?
    For example lets say a PO has 100 tones of material with an overdelivery tolerance og 5%. Against the PO already 30 tonnes has been received.
    Now here the overdelivery tolerances will act on 100 tonnes or remaining 70 tonnes?
    Regards,
    Indranil

    Fine...but my query is if some quantity is already received then where the over delivery tolerance will act?on the total PO quantity or whether on the open quantity?Actually i don't have the system right now and so unable to test the same.If anyone can test and confirm me the same will be quite helpful.
    Regards,
    Indranil

  • MIRO: Tolerance Limit At header Level

    Hi all,
    I would like to set the 10% tolerance limit at invoice Header level, instead of invoice item level.
    When i try to set the tolerance limit (in PP) through OMR6 Transaction, it set the Tolerance at Item Level. Pls suggest the way, so that i can set the tolerance at Invoice Header level.
    Regards,
    S Anand

    Hi,
    create vendor specific tolerance and assign to vendor. you can maintain +/- differences here.
    Materials Management > Logistics Invoice Verification> Incoming Invoice >Configure Vendor-specific Tolerances.
    Maintain this tolerance group in vendor master payment transactions accounting screen, invoice verification tab.
    now you are able to post invoice document within your tolerance limits.
    e.g  PO value is $1000, you can post invoice document $950 or $1050. the difference amounts will be posted in seperate G/L account.
    Goto OBYC choose transaction key DIF. enter chart of accounts maintain G/L account.
    Regards,
    Chandra

  • Overdelivery Tolerance In PO is not working

    I have created a PO of 100 Qty.
    10% Overdelivery tolerance is given in PO.
    At first i have done Goods Receipt Of 90 Qty.
    Second time when i am going to do GR of 20 Qty( i.e. 10 qty of Open PO+ 10 % of PO i.e. 10 Qty) ,It is showing error.
    But when i am doing GR of 11 qty ( i.e 10 Qty Open PO + 10 % Of open PO i.e. 1) it is not showing any error.
    By functionality it should take 20 qty in GR .
    What should be missing in this?
    Please give ur valuable suggestions.

    Hi
    It wont calculate the Overdelivery tolerance on PO Open Quantity. Rather than that it will calculate the Overdelivery tolerance on Full PO Item QUantity.
    Regards
    Virender Singh

  • Overdelivery Tolerance in PO

    Dear Team
    If my PO quantity is 100 pieces and as per purchasing value key of PO material the overdelivery tolerance in PO line item is 10%.So what will be the effect of this overdelivery tolerance at the time of GR and IR???
    Will the system allow me to do GR and IR for 110 pieces without any issue??
    Regards
    Satish Kumar

    Yes Satish,
    There will not be any issue.
    It will creat corresponding accounting entries for excess qty of material also.
    So its a standerd functionality.
    Regards,
    Gitesh

Maybe you are looking for

  • IWeb and Quicktime Movie Upload 2013

    Three or so years ago, I made a website using iWeb (the last version Apple produced; i.e. the current version), and I included some videos. The videos were from a digital (tape) video camera, edited with iMovie HD, and were old-format 640x480. I mana

  • Rosettanet pip

    hi, i read that  rosettanet pip's or(partner interface process) are provided in the IR .. please tell me what is it (pip) used for & where it can be found in IR ( Like idocs & rfc's r present in imported objects where r they )? thanking you

  • Lost audio files

    I have saved a song into another hard drive and hit save while I was working.Now when I open the project all the audio files are blank but the MIDI ones are there. I hit get info and the audio files were listed but I can't find them. Anyone have any

  • Does DII support document based web service?

    Hi, I am writing a web service cleint DII, the web service is document based. I followed the sample in https://bpcatalog.dev.java.net/nonav/soa/standalone-client/ Everything seems correct. When I call call.invoke, I got an exception saying "operation

  • Merging a clip in audition3 (please help)

    I recently upgraded to audition3 and I'm having a bit of problem. Having done a succesful punch in on track 2 in multi track view, I can't find a way to merge my clip into the track. With audition 1.5 you simply right clicked the clip and merged the