MIGO Goods receipt accepted in back date for STO

Hi,
I have a S.T.O for which delivery have been created, post goods issue and excise invoice have been done on 05.09.2009 and receipt through MIGO have been done and system accepted to post the material document in back dated 07.08.2009.
How can system accept to post the material document in the back date, even my delivery and even dispatches had been not done on 07.08.2009.
Is this standard functionality or do i need to make any config settings to not to accept to post the MIGO document.
Thanks in advance
Kishore.

Go to transaction MMRV and uncheck field "Allow posting to previous period". This will make sure MM posting cannot be done to any of the previous periods. Keep in mind the setting will only be applicable for a particular month. If you want to make sure the setting is permanently set, you want to go to OMSY and uncheck the column to allow posting to previous period.
Revi

Similar Messages

  • Dump after implementing the Note 741385 Goods receipts up to current date for scheduling agreements

    Hi,
    I implemented the sap note 741385, but while performing GR getting dump
    I unable to figure out why the EXIT_SAPLEINR_003 has been called, please find the following run time error .
    Runtime Errors    
    CALL_FUNCTION_PARM_UNKNOWN
    Except.           
    CX_SY_DYN_CALL_PARAM_NOT_FOUND
    Date and Time     
    10.04.2014 11:39:15
    Short text
    Function parameter "ISU_ENHANCEMENT" is unknown.
    What happened?
    Function module "EXIT_SAPLEINR_003" was called
    with the parameter "ISU_ENHANCEMENT".
    This parameter is not defined.
    Error analysis
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_DYN_CALL_PARAM_NOT_FOUND', was
    not caught in
    procedure "WE_BEWERTEN" "(FORM)", nor was it propagated by a RAISING clause.
    Since the caller of the procedure could not have anticipated that the
    exception would occur, the current program is terminated.
    The reason for the exception is:
    Function module "EXIT_SAPLEINR_003" was called
    with the parameter "ISU_ENHANCEMENT".
    This parameter is not defined.
    Missing RAISING Clause in Interface
    Program                            
    SAPLEINR
    Include                            
    LEINRF25
    Row                                
    8
    Module type                        
    (FORM)
    Module Name                        
    WE_BEWERTEN
    Trigger Location of Exception
    Program                            
    SAPLEINR
    Include                            
    LEINRF25
    Row                                
    151
    Module type                        
    (FORM)
    Module Name                        
    WE_BEWERTEN
    Source Code Extract
      122  
    IMPORTING
      123    
    e_vkwrt          
    = pot-vkwrt
      124    
    e_vkwra          
    = pot-vkwra
      125  
    TABLES
      126    
    i_tkomv          
    = tkomv
      127  
    EXCEPTIONS
      128    
    OTHERS           
    = 01.
      129
    IF sy-subrc EQ 0.
      130  
    MODIFY pot.
      131
    ENDIF.
      132
    EXIT.
      133   ENDIF.
      134
      135   MOVE-CORRESPONDING pot TO ekpo.
      136
      137   DATA: p_menge LIKE ekpo-menge,                       
    "1.2 KR
      138    
    p_datum LIKE sy-datum.                         
    "1.2 KR
      139                                                        
    "1.2 KR
      140 * pot-erfmg wird in pot_aufbauen schon entsprechend vorbelegt
      141   p_datum = budat.                                     
    "1.2 KR
      142   p_menge = pot-erfmg.                                 
    "1.2 KR
      143
      144 *- Userexit um Preisfindungsdatum und -menge zu ändern ----------------*
      145 * --> kann auch bei Bestellungen genutzt werden, um das Datum zu ändern
      146 *  nicht aber die Menge (macht keinen Sinn und ist nicht programmiert)
      147   MOVE ett[] TO cett[].
      148
      149 ENHANCEMENT-POINT WE_BEWERTEN_05 SPOTS ES_SAPLEINR.
      150
    >>>>   CALL CUSTOMER-FUNCTION '003'
    152 
    EXPORTING i_ekko  = ekko
    153           
    i_ekpo  = ekpo
    154           
    i_budat = budat
    155           
    i_bldat = i_bldat
    156           
    isu_enhancement = ls_enhancement        
    "IS2ERP
    157 
    TABLES
    xeket   = cett
    158 
    CHANGING  c_datum = p_datum
    159           
    c_menge = p_menge.
    160   REFRESH cett.                                        
    "99794
    161   IF ekko-bstyp EQ bstyp-best.
    162
    p_menge = pot-erfmg.
    "damit wird die Bestellmenge verwendet
    163   ELSE.
    164
    pot-erfmg = p_menge.
    165   ENDIF.
    166
    167 *  MOVE-CORRESPONDING pot TO potkey.
    "Preisfindungsmenge merken
    168 *  READ TABLE ekp WITH KEY potkey.     
    "MWE-HPR-HW-205016
    169   READ TABLE ekp WITH KEY ebeln = pot-ebeln
    170                      
    ebelp = pot-ebelp

    Hi,
    please implement SAP note 916474 - A dump occurs when you call user exit EXIT_SAPLEINR_003
    SAP enhancement MEVME001 contains both
    EXIT_SAPLEINR_001
    EXIT_SAPLEINR_003
    Regards,
    Klaus

  • MIRO(Invoice Verification) posting date is lesser than MIGO(Goods Receipt)

    MIRO(Invoice Verification) posting date is lesser than MIGO(Goods Receipt) posting date.
    Explanation:
    Miro sholud be posted after the GRN has posted. It means that the Posting date of Miro should be greater than or equal to the Posting date of Migo. But I am facing the issue that I can able to post the Miro before the Migo date..
    For example:  I have posted the Migo(Goods receipt) document with the posting date u2013 10.8.09 and at the same time I can also able to post the Miro(Invoice Verification) posting date as u2013 5.08.09. This is should not be allowed . Kindly give me the solution. Is there any options in SAP standards to restrict this type of Postings(without using user exit).
    regards
    Varadharaj

    Hi
    you  need to use BADi for this INVOICE_UPDATE
    you can give logic as whil;e MIRO system will compare posting date with MIGO doc , then create a Z error msg in se91 nad assign it in that badi
    take help of ABAPer, check following link
    [LINK |GR date lesser than the PO date, the system should show an error message.;

  • MIGO (Goods Receipt) Executed...No Idoc

    One of our sites must manually run MIGO, Goods Receipt transaction. All of our other sites use scanners for barcoding that does the MIGO during thre scan. The issue is when our one site runs MIGO manually, unless they exit MIGO and re-enter MIGO, they won't get an idoc. Or, no idoc is created when the user stays in the transaction.
    Has anyone a suggestion or experienced this before?
          Thank-You.

    Hi,
    what do you have in field Further Data -> Dispatch time for output type which represents that IDoc? Do you have there "Send immediately"?
    Cheers

  • How can i add message in "migo"  ( good receipt ) ?

    how can i add message in transction "migo"  ( good receipt ) ?
    i tried userexit MBCF0002
    but i can't see more then one
    line of the order and the user
    get 3 messages ( in case of order with 3 lines )
    the badi's
    MB_DOCUMENT_BADI
    MB_MIGO_ITEM_BADI
    don't give me the option
    to add message .
    i tried to add message in the check or befor the save .
    this is the message  :
      CALL FUNCTION 'POPUP_TO_DIS
    PLAY_TEXT'
          EXPORTING
            titel              = text-001
           textline1          = text-001
          TEXTLINE2          = ' '
           start_column       = 25
           start_row          = 6.
       message s000 with text-002.
    ENDIF.

    OK, I'm on ECC6.0 system that's why you can't find it in 4.7 version.
    I'll copy and paste the sample code for you below.
    Sample Method IF_EX_MB_MIGO_BADI~CHECK_HEADER
    method if_ex_mb_migo_badi~check_header .
      data: ls_bapiret type bapiret2.
    * Refresh return table
      refresh: et_bapiret2.
    * Check header data (W-/E-Messages are useful)
      if gs_exdata_header-badi_nummer is initial.
        ls_bapiret-type       = 'W'.
        ls_bapiret-id         = 'M7'.
        ls_bapiret-number     = '895'.
        ls_bapiret-message_v1 = 'Enter number on external screen'(001).
        append ls_bapiret to et_bapiret2.
      endif.
    endmethod.                    "IF_EX_MB_MIGO_BADI~CHECK_HEADER
    Sample Method IF_EX_MB_MIGO_BADI~CHECK_ITEM
    method if_ex_mb_migo_badi~check_item .
      data: ls_extdata type migo_badi_example_screen_field,
            ls_bapiret type bapiret2.
    * Refresh return table
      refresh: et_bapiret2.
    * Read external data
      read table gt_extdata into ls_extdata
           with table key line_id = i_line_id.
    * Check if all entries are done (W-/E-Messages are useful)
      if ls_extdata-badi_erfmg is initial.
        ls_bapiret-type       = 'E'.
        ls_bapiret-id         = 'M7'.
        ls_bapiret-number     = '895'.
        ls_bapiret-message_v1 = 'Enter quantity on external screen'(002).
        append ls_bapiret to et_bapiret2.
      endif.
      if ls_extdata-badi_erfme is initial.
        ls_bapiret-type       = 'E'.
        ls_bapiret-id         = 'M7'.
        ls_bapiret-number     = '895'.
        ls_bapiret-message_v1 =
           'Enter unit of measure on external screen'(003).
        append ls_bapiret to et_bapiret2.
      endif.
    endmethod.                    "IF_EX_MB_MIGO_BADI~CHECK_ITEM
    Implement your according to the examples above.
    Hope this solves your problem.
    Cheers,
    Sougata.
    P.S. You need to create a brand new Z implementation via SE19 using the BADI definition MB_MIGO_BADI
    Edited by: Sougata Chatterjee on Dec 31, 2007 1:05 AM

  • Pricing determination of MIGO (goods receipt)

    How is 'Amount in LC' field in the tab 'Quantity' of MIGO (goods receipt) determined by SAP?
    To my understanding,  'Amount in LC' is determined by the conditions, but I don't have a clear understanding on this process.
    Appreciate if anyone can shrow me some idea on this.
    Points will be assigned! Thank you.

    thank you very much for your answer, srinivas kona,
    However this answer does not help much on our situation below.
    Much appreciate your help in advance.
    In the PO history of 1st line item, we posted the following material documents.
    1. wrongly post MIGO as follows.
    Movement Type = 101
    quantity = 400;
    'amount in LC' = $ 400
    2. Now we reversed material doc in step 1 using MIGO cancellation, and we seccessfully cancel the wrong material document.
    However we are driven crazy by SAP because the system post a new material doc with wrong 'amount in LC' again!
    Movement Type = 102
    quantity = - 400;
    'amount in LC' = $ - 500
    'amount in LC' should be $ - 400 to reverse the material doc in Step 1.....how come system posted a wrong 'amount in LC' in cancellation document....

  • Migo- goods receipt report

    Dear MM experts,
    Pl let me is there any standard report available to know the status of MIGO-Goods Receipt of Goods Issue done for the Materials (Stock Item or Non stocks items) against the Purchase Orders.
    Pl help
    thanks in advance
    regards
    srihari

    Hi,
    You can also refer following reports;
    MB51/MB59 - List of material documents (In Selection Screen, enter Movement Type - 101)
    ME2N - List of PO Documents (In seelction Screen use Scope of List - ALLES)
    ME80FN - General Analysis (Here in Output, select option "PO History")

  • MIGO Goods Receipt multiple Movement Types?

    Hi,
    Is it possible with MIGO Goods Receipt using Inbound Deliveries to have multiple movement types? the reason I ask is I am getting the following error 'BORGR622 Movement Type XXX not allowed; only 101 is allowed' when trying to receipt a Line no. with different Movement Type to the earlier lines.
    We do have the same problem if we receipt in MIGO Goods Receipt directly to the Purchase Order, we can happily post a document which has the normal '101' movement type and another Custom movement type.
    The reason for the requirement is to do with Account Determination, we have free bonus goods lines which are zero price on the purchase order - the price difference gets posted to a bonus stock account instead of the usual price difference account, by using a Custom Movement Type - the bonus stock agreement (kind of like BOGOFs Buy One get one free) is passed to the Customer with similar account determination updating the same bonus stock account.
    This works fine for MIGO receipt directly with the Purchase Order but we get the error message above with Inbound Deliveries.
    I cannot see anywhere obvious in config which might sort this issue, but am unsure why multiple movement types on a Goods Receipt would be allowed against a Purchase Order but not an Inbound Delivery.

    Hi,
    Try with the below mentioned settings,
    goto SPRO -> Materials Management -> Inventory Management & Physical Invetory -> Settings for enjoy transactions -> Settings for good movements(MIGO) -> Settings for transactions & reference documents -> select MIGO_GR -> Click on transaction/event -> select goods receipt -> click on reference documents -> remove the tick mark on active.
    Regards,
    Prabu

  • MIGO( (good receipt,Transfer pos how to  to get serial number  at run time

    Hi Experrts:-
    I need to change the status of serial number (equipment number ) during Migo (good receipt,Transfer posting).
    I have checked all the user exits and number of badis but i am not getting serial number at run time if i get serial numbar
    in exit od badi i will change the status
    I have used  following badi:-
    MB_DOCUMENT_BADI
    MB_MIGO_ITEM_BAdI
    Thanks

    Hi Dilip,
    If I am correct you are taking about changing user Status at device level (serial number)
    you can set the user status through status profile (Tcode OIBS for particular status profile).
    within this, you can also set/ change the status, if particular business transaction is executed (for e.g. good receipt, Stock transfer)
    Please check if you are using status profile in your case, if not create one, by this way i think you can able to map the requirement.
    Regards,
    Chetan

  • MIGO - Goods Receipt against Purchase order. PO rate dispaly.

    Is it possible to display purchase order line item rate in MIGO - Goods Receipt against purchase order - Quantity tab.
    In Quantity tab - System is showing Qty in Unit of Entry, Qty in SKU, Qty in Delivery Note, Quantity Ordered, alongwith these fields we also want display of Purchase order rate/each of that line item.
    Please guide.

    BTW you are getting PO number at MIGO and clicking over that you will get entire PO then why you want PO rate display here??

  • Two accounting documnets to be generated at time of MIGO (Goods Receipt)?

    Hi SAP Gurus,
    Could you please give the solution to the below scenario.
    Two accounting documnets to be generated at time of MIGO (Goods Receipt) with two different documnet types ?
    1) 1st Accounting Document:-----
         Inventory a/c DR                               
              To GR/IR Clearing a/c            
    2) 2nd Accounting Document :----
         Cost of Goods Sold a/c DR       
               To Inventory a/c                   
    NOTE: G/L Account assigned in the Purchase Order.
    Many Thanks
    Kiran Konujula.

    >
    Two accounting documnets to be generated at time of MIGO (Goods Receipt)
    with two different documnet types ?
    1) 1st Accounting Document:-----
         Inventory a/c DR                               
         To GR/IR Clearing a/c
    This one is normal GR entry done against PO with movmeent 101     
    > 2) 2nd Accounting Document :----
         Cost of Goods Sold a/c DR       
               To Inventory a/c
    This entry comes in play when you do good issue against sales order. Nothing to do with GR.
    Edited by: Afshad Irani on May 4, 2010 2:46 PM

  • While doing migo-goods receipt for production

    I am getting above message while doing migo
    please help
    Batch 0000000027 has the status <restricted-use>
    Message no. M7670
    Diagnosis
    You are attempting to post a batch with status <restricted use> for a goods receipt.
    System Response
    Depending on the system setting, the system issues either a warning or an error message.
    If the message is a warning (W), the system will accept your entry, but simultaneously issues a warning to prevent you from making the wrong entry.
    If the message is an error message (E), the system will not accept your entry.
    Procedure
    Make sure your entries are correct.
    thanks in advance
    kailash N. thakkar

    Dear,
    You cannot change the status of a batch (unrestricted/restricted) in a goods movement, only with the following functions: by maintaining the batch master record manually in MSC2n
    Got MSC2N On the initial screen, enter the batch data (material,plant batc).
    Select the indicator restricted-use.
    Check out the "Initial status of new batches" in transaction code OMAB whether your new batch status flaged for "Restricted" against your material type.
    Then go ahead for MIGO.
    Regards,
    R.Brahmankar

  • MIGO. Goods receipt. Default posting date ??

    Hi All!
    My user wants to put restrictions on <b>posting date for goods receipt</b>. It should depend on fiscal year (FY) of document delivery date. There are 2 rules for this. One should works only if the current month is September.
    If FY of delivery date  < current FY then posting date = 8/31/prior FY.
    Else. Posting date = current date.
    The second rule should work only if current month is August.
    If FY of delivery date >  current FY then Error message “Cannot post…”
    During the rest of the year they want to have standard MIGO.
    Is it possible to realize it in SAP without modifications? If yes, what is the best way to do it?
    Thanks a lot.
    Lena

    Hi,
      You can use this exit,
    MBCF0005
    Function module is,
    EXIT_SAPM07DR_001
    In the Changing part the structure ( AM07M ) is accessed as C_AM07M which has the posting date.
    <b>Reward points</b>
    Regards

  • Finding Program for triggering Print Program (MIGO - Goods Receipt)

    Hi all,
    Currently, I have developed customized print program and SMARTFORMS for Goods Receipt via MIGO, with output type ZZGR.
    Typically, this is a inter-plant transfer, where Plant A will issue a Delivery Order to Plant B, and Plant B will post goods receipt via MIGO (Movement Type 101), using Delivery Order number. As soon as the Material Document is posted, the SMARTFORMS shall be triggered by customized print program, in order to print out the goods receipt document upon material doc posted.
    The config for output determination (via TCODE NACE) for goods receipt is configured. I have tested post a goods receipt using Delivery Order, and Material Document is posted successfully. However, I got a message from SAP Inbox (Businees Area), saying that my Material Document having an update error, and the root cause is specifically from calling Function Module to trigger Smartforms in the print program. From tcode ST22, I realized that the error is due to empty parameter being passed to the function module (where the parameter is required field for further processing in Smartform).
    In order to rectify why empty parameter is bieng passed, I will have to debug the print program, after GR posted from MIGO. Therefore, can someone shed some lights on how to perform a debugging process, or any standard sap program involved, as I understand that the print program is triggered (in background) after GR posted?
    Also, can I know why the Material Document will not be committed to MKPF table after GR posted, is it due to the update error from the above mentioned?
    Many thanks.
    Best regards,
    Patrick
    P/S: I'm using SAP ECC6.

    Actually, this print program is being triggered in the update processing.
    Put a breakpoint in your driver program.
    In MIGO, before pressing the SAVE button start debugging.
    Press the SAVE button.
    Start the update debugging by Settings > Update Debugging.
    As soon as you continue in debugging, it would open another debugging session for the Update debugging. You can press continue and it would stop at your breakpoint.
    Regards,
    Naimesh Patel

  • User exit for transaction code MIGO (Goods Receipt)

    Hi Team,
    Please let me know the <b>name of the user exit</b> for adding a new field in transaction code <b>MIGO</b> (The field is Freight charges ) at header level.
    Would be suitably rewarded.
    Regards
    Badari

    hi,
    Transaction Code - MIGO                     Goods movement
    Exit Name           Description
    MBCF0002            Customer function exit: Segment text in material doc. item
    MBCF0005            Material document item for goods receipt/issue slip
    MBCF0006            Customer function for WBS element
    MBCF0007            Customer function exit: Updating a reservation
    MBCF0009            Filling the storage location field
    MBCF0010            Customer exit: Create reservation BAPI_RESERVATION_CREATE1
    MBCF0011            Read from RESB and RKPF for print list in  MB26
    MB_CF001            Customer Function Exit in the Case of Updating a Mat. Doc.
    Cheers
    Alfred

Maybe you are looking for