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

Similar Messages

  • 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

  • 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.;

  • 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 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 Goods Receipt - error with Movement Types on GR from Inbound Delivery

    Hi,
    I am getting an error message when processing a Goods Receipt (MIGO) against an Inbound Delivery with as 2 lines with different movement types, a standard 101 and a 970 (the latter being a user defined movement type for free goods).
    The error message I get is 'Movement type 970 is not allowed; only 101 is allowed
    Message no. BORGR622'
    This error message only occurs with a Goods Receipt against an Inbound Delivery, we are able to process a similar Goods Receipt using MIGO against a Purchase Order, with two different movement types 101 and 970, without any issues. 
    It is only a problem with a GR against an Inbound Delivery which is necessary in our MM solution.
    As anybody and ideas how to resolve this?  I cannot see anything obvious in config, and have not spotted any SAP OSS notes either.
    I should mention that we can process a single line Inbound Delivery and Goods Receipt for the Movement Type 970 also!

    Thanks for the reply.  The Price Control Indicator is 'S'.
    The solution was set up at my company before I joined, but the different movement type is to enable the free goods stock to make a Finance posting to a Bonus Stock GL Account.  Bonus stock sale update the same account.
    As I mention the '970' movement type worked fine with Goods Receipt against a Purchase Order (it was coded into to the user exit). 
    The MM procedures were changed to use the Inbound Delivery matched to the PO, this had a result that when the Goods receipt was posted in MIGO it posted as 101 movement, as the PO number was not being recognised.
    By making a further change to the user exit we able to suggest the '970' movement type, but now get the BORGR622 error I refer to.
    '511' is not possible against an inbound delivery either.

  • Customisation of goods issue,goods receipt,transfer posting,stock transfer

    hi,
    how to do customisation of goods issue,goods receipt,tranfer posting and stock transfer.
    thanks
    katrina

    Hi,
    You can do customization in following;
    SPRO > MM > Inventory Management and Physical Inventory > Goods Issue / Transfer Postings
    - Create Storage Location Automatically
    - Set Manual Account Assignment
    - Define Screen Layout
    - Maintain Copy Rules for Reference Documents
    - Set Up Dynamic Availability Check
    - Generate Physical Inventory Documents for Goods Movements
    - Allow Negative Stocks
    And SPRO > MM > Inventory Management and Physical Inventory > Goods Receipt
    - Set Tolerance Limits
    - Create Storage Location Automatically
    - Create Purchase Order Automatically
    - Set Manual Account Assignment
    - Define Screen Layout
    - Maintain Copy Rules for Reference Documents
    - Set Dynamic Availability Check
    - Set "Delivery Completed" Indicator
    - Set Missing Parts Check
    - For GR-Based IV, Reversal of GR Despite Invoice
    - Set Expiration Date Check
    - Price Differences for Subcontract Orders at Goods Receipt
    - Activate Storage of Incoming Documents

  • 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

  • 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??

  • 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")

  • Goods receipt and post goods issue are not updated back from EWM to ECC

    Hi Experts,
    Would anybody able to tell me the setting to be modified / defined to backward flow of information from EWM to ERP i.e. the goods receipt, goods issue are not being updated back in ECC once the goods receipt and  post goods issue are posted in EWM?
    It would be great help if i get the response as early as possible.
    Chakrapani Das

    Hi Chakrapani,
    You might want to try checking the customization on the SCM part following this path:
    SPRO - Extended Warehouse Management - Interfaces - ERP Integration - General Settings
    Pay special attention on the Check of ERP-EWM Configuration transaction.
    After you have checked these you should probably check the outbound queue monitor (tx SMQ1) from EWM to ERP. You can use the SMQ1 - Outbound queue and SMQ2 - Inbound Queue both in ERP and SCM to check the communication betweene these two systems.
    Also you may want to checkt the SLG1 - Analyse application Log in SCM in order to see if any internal bugs exist.
    All the best,
    Claudiu Maxim

  • 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

  • Goods consumption document posting date should be same as POD confirmation

    Hi friends,
    The scenario is like this --- The delivery is POD relevant, after delivery consignment lending happens {movement type 631}, then GI is done. But, only after POD confirmation this GI document comes into this document flow and it can be seen as  goods consumption document {movement tyep 902} in the document flow.
    Now, user's problem is with the goods consumption document posting date.
    In VLPOD overview screen,  actual goods movement date is 02.01.2008 and customer has sent the user a confirmation of delivery on 02.01.2008 itself. But, user has updated this VLPOD on today's date ie. 18.01.2008 and user has kept the POD date as 02.01.2008 itself {backdated POD date}. Now, after POD confirmation, goods cosumption document is created. But, system is showing the posting date of this docuement as todays date ie. 18.01.2008. But, user requirement is that system should copy the POD confirmation date into the goods cosumption document posting date. So, how can this be achieved ? can be done with some customization setting or user exit is the only option ???
    Await your kind feedback....
    Hrishikesh

    Hi
    As per my understanding the system is working as per the client's requirement-which says.,
    "user requirement is that system should copy the POD confirmation date into the goods cosumption document posting date"
    Since the POD confirmation date is entered as 18.01, the system has taken 18.01 as the goods consumption posting date.
    If possible, please try that with different dates of POD confirmation.
    Thanks,
    Ravi

  • Default Posting date need to make fix

    Hi All,
    I have a requirement, In our system in every FI tcode we require default posting date should come as 31.12.2009. Even user can change it but it in first screen it should come as 31.12.2009.
    I appriciate if someone can suggest me, Is there any parameter that can be set for users or is there any way to achieve this.
    Please help.
    Regards
    Sukhwinder

    Dear,
    Go to SE93, put the transaction code in which you want the posting date to be defaulted. Here, in this screen click on change button then on down you have default values. Put name of the screen field as "BKPF-BUDAT" and the value which you require like 31.12.2009 save.
    Now go to that transaction code and check the default posting date.

  • Default posting date on first WD of month

    The posting date on first working day of the month was defaulted as last month's date. Eg. on first may, the default posting date was given as 30th april. why is this so.

    Hi,
    I am not sure for which transaction code you are making entry or it is general statement.
    generally, default date of posting is today's date as defined in own defult data with user ID
    Regards,
    Vinod

Maybe you are looking for