AVC for GR (MIGO)

Hello everyone,
I am experiencing a new situation here (for me) and I want to listen (read) to your opinion.
Suppose that I have successful created a Purchase Order in fiscal year 2008. AVC has checked my available budget and increased my consumed amounts. The PO was left open until the fiscal year 2009 but was not carried over. I executed transaction MIGO and the consumed amount was transported to fiscal year 2009. The problem is that I have no available budget in this new fiscal year. This way I must assume that there was no AVC in the GR. Is this an error? Or this is the standard behaviour of the system?
Regards,
Bernardo

Hello Bernardo,
I am sorry to say that this is the system behavior. It is designed as no FM AVC checking during Good Receipt.
We do not consider the suppression of the availability control during goods receipt as critical, since an 'undetected', not permitted fund assignment of a budget is only possible, if a goods receipt posting is entered with overdelivery.  However, you can stop overdeliveries for purchase orders through the corresponding options in the purchase order, in this way avoiding them completely.
The fields 'Tolerance for overdeliveries' and 'Unlimited overdeliveries' are not filled by default, and a goods receipt posting for purchase order cannot be posted with overdelivery.
If you do not have to enter overdeliveries for your purchase orders on a regular basis, you will not experience any limitations on regular functionality.
And some customer would like to have AVC check during GR, for this, we provide a modification note 142866. Note 142866 can activate AVC during goods receipt. Without this, although FM is updated, no AVC error message is isued.
Thus, you can implement the exit (CMOD) SAPLFMFC 001. In include ZXFMYU48, you can implement coding as mentioned in the note.
Please also review and apply the attached note
755495 Allow Availability Control for Goods Receipts
I hope it helps you.
Best Regards,
Vanessa Barth.

Similar Messages

  • Please  Help me How write the BDC program for the MIGO inbound Delivery

    Please help me how to write bdc program for the MIGO Inbound Delivery in 4.7EE Version. Please help me.
    Not in LSMW.  Required call transaction or Session Method. Please help me.
    Mohan

    Run transaction BAPI . Select Logistics Execution/Shipping/InboundDelivery/SaveReplica.. You can use function module BAPI_INB_DELIVERY_SAVEREPLICA in your ABAP program.

  • Input parameters for BAPI_GOODSMVT_CREATE --MIGO--GR for Outbound Delivery

    Hi Friends,
      We have to create a Goods Receipt against an Outbound Delivery ( movement type "101" ) using the BAPI <b>BAPI_GOODSMVT_CREATE</b>.
    In online the user is using <b>MIGO</b> transaction for the same. There he will choose the GOODS RECEIPT for OUTBOUND DELIVERY and enters the delivery number. The movement type "101" is used.
      Could you please tell me the GM code and the required fields to be passed for the above scenario.
    I have gone through the example program in the link...
    http://www.sap-img.com/abap/bapi-goodsmvt-create-to-post-goods-movement.htm
    <b>but unable to find how to use this BAPI for simulating MIGO transaction.</b>
    <b>The fields available are with us are...</b>
    Delivery. No. --- Doc. Date - Posting Date-Quantity-Storage Location-
    Reason for movement-External qty-External qty unit-Goods recipient-Excise Selection
    Are these fields sufficient for doing MIGO with this BAPI or do we require more fields???
    Thanks and Regards,
    Bharat

    see the following code. it may be useful.
      LOOP AT I_TAB.
          count = sy-tabix.
          SELECT SINGLE * FROM ZMM_GR_UPLOAD1
                                    WHERE SOLOMON_GR = I_TAB-SOLOMON_GR AND
                                    SOLOMON_GRDAT = I_TAB-SOLOMON_GRDAT.
          IF SY-SUBRC = 0.
            I_TAB-FLAG = 'C'.
            modify i_tab index count.
            concatenate 'File Name : ' name into i_msg1.
            append i_msg1.
            CONCATENATE 'ERROR  PO : ' I_TAB-SOL_PONO
                '  WAS ALREADY UPLOADED' INTO I_MSG1.
            APPEND I_MSG1.
            CLEAR I_TAB-FLAG.
            CONTINUE.
          ELSE.
            REFRESH I_ITEMS.
            CLEAR I_ITEMS.
            CONCATENATE I_MAIN-SOLOMON_GRDAT+4(4)
                        I_MAIN-SOLOMON_GRDAT+2(2)
                        I_MAIN-SOLOMON_GRDAT+0(2) INTO G_DATE.
            gmhead-pstng_date = G_DATE.
            gmhead-doc_date = sy-datum.
            gmhead-pr_uname = sy-uname.
    "01 - MB01 - Goods Receipts for Purchase Order
            gmcode-gm_code = '01'.
            refresh itab.
            clear itab.
            SORT I_MAIN BY SOLOMON_GR.
            LOOP AT I_MAIN WHERE SOLOMON_GR = I_TAB-SOLOMON_GR.
              itab-move_type  = '101'.
              itab-mvt_ind    = 'B'.
              itab-plant      = I_MAIN-WERKS.
              itab-material   = I_MAIN-MATNR.
              itab-entry_qnt  = I_MAIN-ERFMG.
             itab-stge_loc   = 'OMR1'.
    itab-move_stloc = pcitab-recv_loc.
             itab-REF_DOC = 'exnum123'.
              itab-NO_MORE_GR = 'X'.
              itab-WITHDRAWN = ''.
              itab-stge_loc   = I_MAIN-LGOBE.
              itab-po_number  = I_MAIN-EBELN.
              itab-po_item    = I_MAIN-EBELP.
              itab-unload_pt  = I_MAIN-ABLAD2.
              append itab.
            ENDLOOP.
            if not itab[] is initial.
              call function 'BAPI_GOODSMVT_CREATE'
               exporting
                   goodsmvt_header             = gmhead
                   goodsmvt_code               = gmcode
                 *   TESTRUN                     = ' '
              IMPORTING
                  goodsmvt_headret            = mthead
             *   MATERIALDOCUMENT            =
      MATDOCUMENTYEAR             =
               tables
                 goodsmvt_item               = itab
      GOODSMVT_SERIALNUMBER       =
                return                      = errmsg.
              clear errflag.
              loop at errmsg.
                if sy-tabix = 1.
                  concatenate 'File Name : ' name into i_msg1.
                  append i_msg1.
                  concatenate 'Sol PO : ' I_TAB-SOL_PONO ' '
                   I_TAB-SOL_PODT into i_msg1.
                  append i_msg1.
                endif.
                if errmsg-type eq 'E'.
                  write:/'Error in function', errmsg-message.
                  errflag = 'X'.
                else.
                  write:/ errmsg-message.
                endif.
                move errmsg-message to i_msg1.
                append i_msg1.
              endloop.
              if errflag is initial.
                CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
              EXPORTING
                WAIT          =
              IMPORTING
                RETURN        =
               commit work and wait.
                if sy-subrc ne 0.
                  write:/ 'Error in updating'.
                  exit.
                else.
                  concatenate 'File Name : ' name into i_msg1.
                  append i_msg1.
                  concatenate 'Sol PO : ' I_TAB-SOL_PONO ' '
                   I_TAB-SOL_PODT into i_msg1.
                  append i_msg1.
                  write:/ mthead-mat_doc, mthead-doc_year.
                  ZMM_GR_UPLOAD1-SOLOMON_GR = I_TAB-SOLOMON_GR.
                 CONCATENATE I_TAB-SOLOMON_GRDAT+4(4)
                       I_TAB-SOLOMON_GRDAT+2(2)
                       I_TAB-SOLOMON_GRDAT+0(2) INTO
                        ZMM_GR_UPLOAD1-SOLOMON_GRDAT.
                  ZMM_GR_UPLOAD1-SOLOMON_GRDAT = I_TAB-SOLOMON_GRDAT.
                  INSERT ZMM_GR_UPLOAD1.
                  COMMIT WORK.
                  I_TAB-FLAG = 'C'.
                  MODIFY I_TAB INDEX COUNT.
                  CONCATENATE mthead-mat_doc  mthead-doc_year
                             into i_msg1.
                  append i_msg1.
                 perform upd_sta.
                endif.
              endif.
            endif.
          ENDIF.
        ENDLOOP.

  • User exit for  tcode migo

    hi all,
    plz solve my problem.
    how to find a badi  for tcode migo  ?
    wher to write code?
    can any bodysuggest me?
    thanks
    sachhidananda

    Hi Sachhidananda,
    MIGO belongs to MB Package
    These are the BAdI's for MB package.
    MB_CHECK_LINE_BADI..............BAdI: Check Line Before Copying to the Blocking Tables
    MB_CIN_LMBMBU04...................posting of gr
    MB_CIN_MM07MFB7...................BAdI for India Version exit in include MM07MFB7
    MB_CIN_MM07MFB7_QTY...........Proposal of quantity from Excise invoice in GR
    MB_DOCUMENT_BADI................ BAdIs when Creating a Material Document
    MB_DOCUMENT_UPDATE ..........BADI when updating material document: MSEG and MKPF
    MB_MIGO_BADI .........................BAdI in MIGO for External Detail Subscreens
    MB_MIGO_ITEM_BADI ................BAdI in MIGO for Changing Item Data
    MB_RESERVATION_BADI............MB21/MB22: Check and Complete Dialog Data
    After finding the appropriate BAdI u need to Implement the BAdI in SE19 Tcode.
    In SE19 , give the Implementation name and click on create  pushbutton then u get a popup Definition Name. Give the Definition Name and click on Enter (Continue).
    Here u can see all the Methods in Interface Tab.
    U need to select the Appropriate METHOD and in that METHOD u need to write the Code.
    For Example
    Best regards,
    raam

  • Enhancement for Tcode MIGO

    Hi Experts,
    IN MIGO transaction, we use reference as PO. But in ecc 6.0 there is an option to give Ordering plant as reference.
    I have tried to do so, but i couldn't it.
    Plz let me what are settings ihave to do?
    Regards
    Pratap

    Thanks Jurgen
    As mentioned below, i want to know how it can be done?
    Usability enhancements for transaction MIGO for the posting of goods movements
    u2022 For goods movements that refer to purchase orders as reference documents (for example, goods receipt, goods issue, subsequent adjustment), user can specify the ordering plant as an additional selection criterion directly next to the purchase order number and the item number.
    u2022 There is a new default value: "copy account assignment fields." When entering other goods receipts, user can copy existing account assignment data from the previous item to use as the default values for a new item. To do this, user has to set the copy account assignment fields indicator in the default values.
    u2022 User changes the default values in the menu path "Settings -> Default Values."
    u2022 Goods movement is monitored with reference to a material document.. When you enter the following goods movements, it is possible to specify a material document, such as the following, as the reference document:
    Goods receipt
    Goods issue
    Transfer posting
    Remove from storage
    u2022 Note that these material documents must be documents that have arisen from a goods movement without reference ("Others") and that are not reversal documents.

  • MIGO : Detailed steps for doing MIGO.

    Hi,
    Please help me with detailed steps for doing MIGO for the  delivery.
    Thanks,
    Edited by: hemaraaja on Jul 23, 2008 6:58 AM

    Hi,
    Enter MIGO in SAP Easy Access screen and press ENTER
    Please Ensure Goods Receipt and Purchase order is selected in Drop down Box.
    Enter PO number next to PO number drop down box.Also ensure whether 101 movement type in screen right top.
    Press enter
    In Header,in General Tab ensure document date posting date.
    Enter Delivery note number(which will be useful for tracebility)
    In Item detail,in Quantity tab  enter quantity in unit of entry and in Where tab enter storage location  and tick Item OK and click the check button.
    If any error found enter the data as shown in error and click check button again and ensure no error messages found.
    Then SAVE and note the GRN number in the Delivery paper which received from vendor
    reward if useful
    Regards

  • Which table will get updated for batch characterstics for the MIGO trans?

    Hi all,
    As i am trying to post a goods receipt for 101/102 movement type in MIGO transaction.
    But it is giving error as 'Batch characterstics values are not classified'.
    If i give Batch Type- as  PRODUCTION(P)  in batch classification.
    It will get posted.
    Can any one help me out in which table this field will get updated.
    Thanks...

    HI ,
                 Try table MSEG.
    Regards,
    Mohan

  • ADC for Domestic Purchase not flowing in MIRO for particular MIGO Document

    Hello Experts,
        We've a scenario in which we pay ADC to domestic vendor. The procedure we follow is as below:
              1. Condition record for JAOP with 0% rate maintained in FV12.
              2. PO created with JMOP 10%, 2% ECS, 1% SECS & 4% VAT.
              3. During MIGO (also excise invoice capture), AED value is maintained
              4. After J1IEX, at the time of MIRO this ADC along with other duties flows in simulation
        Now in my case, there are number of GR documents for which MIRO is performed, but for particular GR, ADC is not flowing in MIRO and also excise duty is incorrect, it's not flowing from GR.
       So what is the probable solution for this, I've already checked MIGO & excise invoice documents & found to be ok.
    Thanks in advance
            Amit

    Hi,
    Have you maintained material price including AED price??
    If yes then check whether you have maintained JAX1-100% or not?
    I think this should be treated as a dealer purchase as you are maintaining 0% amount for JAOP.
    Regards,
    Piyush

  • WBS in Item for during MIGO for Reservation.

    Dear Sir,
    When we do GR for Reservation in MIGO.The WBS Element appear in the
    Header details. But the same does not appear in the Item Details.
    We have to enter the WBS manaully in the Item details. We require the
    same should automatically appear in the Item Details.
    Please guide us with the proper solution.
    Regards,
    Mahendra

    Thanks for reply.
    Is there any User Exit for the same.
    Regards,

  • MIRO - Error of 2 MIRO for 1 MIGO

    Dear Friends,
    At the time of the creation of a MIRO document, the amount and the quantity are automatically populated on entering the PO number. Once the MIRO is done the entry is posted debiting the GR/IR account and crediting the vendor.
    If I once again go to MIRO and give the PO reference, a line appears but without the amount and the quantity. Here the user is able to enter some amount and some quantity and is able to once again save the entry. Is there any way of avoiding this double entry in MIRO stage. Can we set any error message telling that since there is no MIGO, MIRO cannot be done.
    regards
    Venkatesh

    Hi,
    Pls check the vendor master data, payment transactions account view (T_code XK02).In this view, there is check box as check double invoice where in u can set for avoiding double entry in MIRO.
    May it help to u.
    Best regards,
    Goraksh Dhikale.

  • Blocking a particular vendor for doing Migo in his account

    Dear Guru's
    My question is that is it possible to block a vendor so that no transaction can be done in his vendor account number. For example in our senario duplicate vendor number has been created for a particular vendor number and now i want to block one account so as nobody can do MIGO,MIRO or any payment in his account is it possible. I have tried with XK05 total block but it is not working . Problem is that before blocking many PO of that vendor is standing and they are reciving the material from that Po and system is allowing it to do so.
    Therefore i want to block the vendor so that no transaction can be done in his account. Kindly help me out

    Hi.
    I am Basically MM guy. To resolve this issue I would like to suggest a work around.
    You can use the two payment terms.
    1) One payment term in the company code (In vendor master record in the Payment transaction accounting). In this payment term you have set a payment block indicator
    By doing this system will block all the invoices or Down payment which are posted in FI. Against this vendor. Hence system will not allow you to pay to this vendor against down payment.
    2) Another payment terms in the purchasing view of the Vendor master. In this payment terms do not set any block.
    When you post an invoice against a PO your accounting document will not be blocked.
    Hence you can pay to a vendor with reference to PO invoice.
    I am not sure. I hope it will work. If it helps award me.
    Cheers
    Umakanth

  • BADI for transaction MIGO

    Hello Experts,
    I have a requirement for the transaction MIGO that if the checkbox "Delivery Completed" Indicator in Purchase Order Item is set,
    the Latest GR date parameter in ME22N is updated.. Is this possible? do you have BADI for this?
    Thanks!

    Hi,
    Use Function module-EXIT_SAPMM07M_001 ,take the help of abapor for the same.
    This will resolved your issue.
    Regards,
    Sandesh Sawant

  • CUSTOMIZED SOLUTION FOR MIRO MIGO ACTIVITY - INDIAN SCENARIO

    Hello
    Looking for customized solution to save time on the MIRO and MIGO activity. (Indian scenario)
    MIRO for customs duty
    MIGO for loading excise to inventory
    Best Regards
    Pankaj
    Edited by: PANKAJ PATWARDHAN on Mar 7, 2009 3:53 AM

    Hi,
    In a normal import process, before the goods receipt, you are making invoice verification for Customs using MIRO and using Planned delivery costs as an option.
    As the goods receipts doesn't exist, system is not proposing Customs conditions
    As the goods receipts quantity is unknown and there always a possibility of partial invoice verification for the customs, system will not directly populate the values in MIRO.
    Doing enhancements to populate this values may not be needed. Pls convince the user on the import process.
    Any other option available for that, really dont know
    Thanks

  • Any pointers to a badi for transaction MIGO and MB1a

    Hi all,
    Can anyone tell if there is any badi which can give us all the values entered by the user in transaction MIGO and MB1a.

    Hi Anu,
    whenever you need a BADI...
    Follow the below steps to find out what all BADI's are called when you press any button in any transaction.
    1) Goto se24 (Display class cl_exithandler)
    2) Double click on the method GET_INSTANCE.
    3) Put a break point at Line no.25 (CASE sy-subrc).
    Now
    4) Execute SAP standard transaction
    5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
    6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
    7) This way you will find all the BADIs called on click of any button in any transaction.
    [found on SDN a year ago, don't remember the contributor]
    Regards,
    Clemens

  • Authorization object creation for transaction MIGO

    Hi,
    We have created the auth object for acct asignment category with values as activity & acct assignment category.
    But when assigned to respective users, its still allowing to perform the transactions.
    Basically I am using this object for doing Goods Reciept tcode MIGO.
    As in if auth object carries value 'K' in this object i.e. for cost center then other user with value 'P' i.e. project wont be allowed to perform the MIGO for POs with 'K'.
    Kindly tell me the specifications for the auth object, so that it will restrict users from performing the MIGO.
    Regards,
    Krutika

    hi!
    1) identify the infoobject which must have restricted access. I think it is Profit Center in your case or may be PSP element
    2) in infoobject maintainance screen check Whether it is marked as Authorization relevant(RSD1)
    3) goto RSSM and create a new authorization object and add your infoobject to it.
    4) in PFCG role maintainance screen add create a new role Project Management and addt eh users to it. under the authorizations tab go to maintaina authorizatioons and add your authorization object that you create in RSSM. and maintain the correct values with in it.
    with regards
    ashwin

Maybe you are looking for