Goods Receipt in future Date

Hi,
Please tell me if i can restrict the production order for doing GR for a future date???
If today is 22/10/2009, and i am trying to give the posting date in MIGO as 25/10/2009 then system should restrict it.
Thanks

HI
Check this Badi   WORKORDER_GOODSMVT
In REM  i have achieved the same with the help of BAdi RM_BFLUSH_GOODSMVT.
Check the first one with the help of ABAPer
Regards
Anupam Sharma

Similar Messages

  • Tcode for Goods receipt - Foreign trade data

    Hi All,
    What is the transaction code for
      <b> Goods receipt - Foreign trade data changes</b> ??
    Urgent !!
    Appreciated and points rewarded.
    Vijay

    Hi Vijay,
    Please check this transaction codes.
    VI80 - Change FT Data in Goods Receipt
    VI80X - Change FT Data in Goods Receipt
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • Goods Receipt PO due date cannot auto change

    Dear All,
    Would like to ask about a question that the Due Date in the Goods Recepit PO won't aunto changed to the date that plus the credit terms day.
    for example i open this po today (18.09.2008) for BP-A which has a credit terms day as 30 days. but the Due Date will not auto change to 18.10.2008, is there any setting can set about it ?
    Please kindly help one this. thank you very much

    Goods Receipt PO is for inventory purpose.  It does not link to payment or other financial need.  That is why it is not automatically updated.
    You can use FMS to achieve the update you need.
    Thanks,
    Gordon

  • Goods Receipt in Back date

    Hello,
    We have  closed the May month and started a running the business in SAP. But user saying  he wants to show the GR created in 01.01.2011 (Jan month) already closed that month.
    He is forcing us,  it is possible to create on back dated, make it back date and allow him to do the GR ... As per SAP system only allow for one month back to do the GR.... If suppose i did the GR for January month then,, what are the implications hit after the GR .... and is it feasible to do the GR in back dated.
    Regards
    sapman man

    Theoretically you could reopen an old period with MMPI, but  you may screw up the information from thousands of postings just to fix one. MMPI is usually used if someone closed a period accidently in the middle of the month, but not recommended to fix just one posting.
    search the forum for MMPI , search OSS on MMPI  and read all the warnings

  • Need BAPI for MIGO to create a Goods Receipt against PO &Outbound Delivery

    Hi Friends,
    GRN’s (Good receipt notifications) created in DHL (Non SAP system) will need to be communicated to SAP.
    I need to post goods receipt using input data in MIGO. Is there any BAPI that i can use.The requirement is like below:
    PO number field in output file is checked against entries in EKKO-EBELN, if a match is found the GR is posted against a Purchase Order otherwise LIKP-VBELN is checked and if a match is found GR is posted against an Outbound Delivery.
              If PO Number = EKKO-EBELN    GR against Purchase Order
                            = LIKP-VBELN      GR against Outbound Delivery
    Based on the above condition I need to create a Goods Receipt. 
    Could you please tell me the GM code, movement types and the required fields to be passed for the BAPI?
    The fields available are with us are...
    Header text. - Bill of Lading- Posting Date-Quantity- UOM--- Vendor Batch / Batch / Serial No --- PO Number or Delivery Number… SLED
    Are these fields sufficient for doing MIGO with the BAPI or do we require more fields???
    Please provide sample code if possible.
    Waiting for replies,
    Thanks and Regards,
    Sudha

    Hi Friends,
    GRN’s (Good receipt notifications) created in DHL (Non SAP system) will need to be communicated to SAP.
    I need to post goods receipt using input data in MIGO. Is there any BAPI that i can use.The requirement is like below:
    PO number field in output file is checked against entries in EKKO-EBELN, if a match is found the GR is posted against a Purchase Order otherwise LIKP-VBELN is checked and if a match is found GR is posted against an Outbound Delivery.
              If PO Number = EKKO-EBELN    GR against Purchase Order
                            = LIKP-VBELN      GR against Outbound Delivery
    Based on the above condition I need to create a Goods Receipt. 
    Could you please tell me the GM code, movement types and the required fields to be passed for the BAPI?
    The fields available are with us are...
    Header text. - Bill of Lading- Posting Date-Quantity- UOM--- Vendor Batch / Batch / Serial No --- PO Number or Delivery Number… SLED
    Are these fields sufficient for doing MIGO with the BAPI or do we require more fields???
    Please provide sample code if possible.
    Waiting for replies,
    Thanks and Regards,
    Sudha

  • 2lis_02_scl or 2lis_02_itm - goods receipt/invoice receipt number

    Hi Gurus,
    there is a field:
    BUDAT - Posting date of goods receipt/invoice receipt for purchase order;  Table: EKKO/EKBE
    in 2lis_02_scl and 2lis_02_itm Data Sources.
    As I can see, for every Purchase Order Item I get three records:
    - one record for the last Invoice Receipt (with Posting date of invoice receipt in BUDAT field) 
    - one record for the last Goods Receipt (with Posting date of goods receipt in BUDAT field)
    - one record for something else.
    Do I understand it well? What is the third record?
    I would to get Material Document Number, that is, Invoice Receipt Number for the first record and Goods Receipt number for the second one. How can I make it?
    Regards,
    Dorota

    you should be able to use Movement Type field to differentiate between Invoice or Good Reciept.
    Regards,
    Gaurav

  • Good receipt in SRM system

    Hello all,
    It is possible to create a good receipt in a system EBP if a delivery date in a purchase order is great than
    for a date to be creating good receipt ?
    The date of the purchase order has been depend for creating good receipt ?
    What is find in EBP system a customizing good receipt ?
    Thanks for your help

    Hi
    I have tested one cycle and it is possible to do a GR prior to the delivery date mentioned in the PO.
    In EBP we can do a Goods receipts prior to the delivery date mentioned in the purchase Orders.
    Regards,
    Nimish Sheth
    NB Do reqards points for helpful anwsers.

  • BDC program for Other Goods receipts

    Hi all,
    I need BDC program for Other goods receipts,
    I have data in excel like material, batch id, qty, actual width, length, plant etc. i want to upload this in one short based on the movement type.
    Thanks in advance.
    Shankar

    Hi MP Shankar,
    This is a sample BDC program .Use the format to develop your own BDC program.First record your trasnaction and use that recorded program here.Pass your filename here.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS: p_ifile TYPE dxfile-filename.
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-002.
    PARAMETERS: p_sess RADIOBUTTON GROUP g3                  "create session
                       DEFAULT 'X' USER-COMMAND bdc,
                p_ctu  RADIOBUTTON GROUP g3.                 "call transaction
    SELECTION-SCREEN END OF BLOCK b3.
    DATA : BEGIN OF itab OCCURS 0,
           str TYPE string,
           END OF itab,
           l_file TYPE string,
           t_bdcdata TYPE STANDARD TABLE OF bdcdata,
           wa_bdcdata LIKE LINE OF t_bdcdata.
    AT SELECTION SCREEN ON VALUE REQUEST
    Value request for the filename.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_ifile.
      PERFORM help_input_file.
    START-OF-SELECTION.
      CLEAR l_file.
      l_file = p_ifile.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                = l_file
          filetype                = 'ASC'
        TABLES
          data_tab                = itab
        EXCEPTIONS
          file_open_error         = 1
          file_read_error         = 2
          no_batch                = 3
          gui_refuse_filetransfer = 4
          invalid_type            = 5
          no_authority            = 6
          unknown_error           = 7
          bad_data_format         = 8
          header_not_allowed      = 9
          separator_not_allowed   = 10
          header_too_long         = 11
          unknown_dp_error        = 12
          access_denied           = 13
          dp_out_of_memory        = 14
          disk_full               = 15
          dp_timeout              = 16
          OTHERS                  = 17.
    *Start new session
      IF p_sess = 'X'.
        PERFORM bdc_open.
      ENDIF.
      LOOP AT itab.
        PERFORM creat_batch_input.
        PERFORM bdc_insert.
        IF p_ctu = 'X'.
          CALL TRANSACTION 'SE38'  USING t_bdcdata  MODE 'A'.
        ENDIF.
      ENDLOOP.
      IF p_sess = 'X'.
        PERFORM bdc_close .
      ENDIF.
    *&      Form  bdc_open
          text
    -->  p1        text
    <--  p2        text
    FORM bdc_open .
      CALL FUNCTION 'BDC_OPEN_GROUP'
        EXPORTING
          client              = sy-mandt
          group               = 'ZMUK'
          user                = sy-uname
        EXCEPTIONS
          client_invalid      = 1
          destination_invalid = 2
          group_invalid       = 3
          group_is_locked     = 4
          holddate_invalid    = 5
          internal_error      = 6
          queue_error         = 7
          running             = 8
          system_lock_error   = 9
          user_invalid        = 10
          OTHERS              = 11.
    ENDFORM.                    " bdc_open
    *&      Form  creat_batch_input
          text
    -->  p1        text
    <--  p2        text
    FORM creat_batch_input .
    use your own recorded program here.
      PERFORM bdc_dynpro      USING 'SAPLWBABAP' '0100'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=STRT'.
      PERFORM bdc_field       USING 'RS38M-PROGRAMM'
                                    itab-str.
      PERFORM bdc_field       USING 'RS38M-FUNC_EDIT'
                                    'X'.
      PERFORM bdc_dynpro      USING 'SAPLSLVC_FULLSCREEN' '0500'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=&F03'.
      PERFORM bdc_dynpro      USING 'SAPLWBABAP' '0100'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=BACK'.
      PERFORM bdc_field       USING 'RS38M-PROGRAMM'
                                    itab-str.
      PERFORM bdc_field       USING 'RS38M-FUNC_EDIT'
                                    'X'.
    ENDFORM.                    " creat_batch_input
    *&      Form  bdc_insert
          text
    -->  p1        text
    <--  p2        text
    FORM bdc_insert .
      CALL FUNCTION 'BDC_INSERT'
        EXPORTING
          tcode            = 'SE38'
        TABLES
          dynprotab        = t_bdcdata
        EXCEPTIONS
          internal_error   = 1
          not_open         = 2
          queue_error      = 3
          tcode_invalid    = 4
          printing_invalid = 5
          posting_invalid  = 6
          OTHERS           = 7.
    ENDFORM.                    " bdc_insert
    *&      Form  bdc_dynpro
          text
         -->P_0168   text
         -->P_0169   text
    FORM bdc_dynpro  USING p_program TYPE any
                           p_dynpro  TYPE any.
      CLEAR wa_bdcdata.
      wa_bdcdata-program  = p_program.
      wa_bdcdata-dynpro   = p_dynpro.
      wa_bdcdata-dynbegin = 'X'.
      APPEND wa_bdcdata TO t_bdcdata.
    ENDFORM.                    " bdc_dynpro
    *&      Form  bdc_field
          text
         -->P_0179   text
         -->P_0180   text
    FORM bdc_field  USING   p_fnam TYPE any
                            p_fval TYPE any.
      CLEAR wa_bdcdata.
      wa_bdcdata-fnam = p_fnam.
      wa_bdcdata-fval = p_fval.
      CONDENSE wa_bdcdata-fval.
      APPEND wa_bdcdata TO t_bdcdata.
    ENDFORM.                    " bdc_field
    *&      Form  bdc_close
          text
    -->  p1        text
    <--  p2        text
    FORM bdc_close .
      CALL FUNCTION 'BDC_CLOSE_GROUP'
        EXCEPTIONS
          not_open    = 1
          queue_error = 2
          OTHERS      = 3.
    ENDFORM.                    " bdc_close
    *&      Form  help_input_file
          text
    -->  p1        text
    <--  p2        text
    FORM help_input_file .
      DATA:  lt_file_table TYPE filetable,
             la_file_table LIKE LINE OF lt_file_table,
             l_rc TYPE i,
             l_pcdsn TYPE cffile-filename.
      REFRESH lt_file_table.
      CLEAR la_file_table.
      CALL METHOD cl_gui_frontend_services=>file_open_dialog
        CHANGING
          file_table = lt_file_table
          rc         = l_rc.
      READ TABLE lt_file_table INTO la_file_table INDEX 1.
      l_pcdsn = la_file_table-filename.
      MOVE l_pcdsn TO p_ifile.
    ENDFORM.                    " help_input_file

  • Restrict PO goods receipt based on PO due date

    Folks,
    Is there a way to restrict the processing of a PO goods receipt with tnx MIGO if the PO due date is too far in the future. Basically,I want to stop goods receipts when the physical delivery much earlier than the PO due date.
    Thanks,
    Greg Russell
    IT Analyst - SAP Supply Chain
    AngioDynamics

    There is no configuratin setting  to restrict the processing of a PO goods receipt with tnx MIGO if the PO due date is too far in the future.
        You can use the enhancement MBCF0005 and component EXIT_SAPM07DR_001 and make changes based on your requirement.
    With Best Regards,
    Srinivas

  • Calculating local currency based on document date in goods receipt

    We have a requirement in Poland that the local currency PLN should be calculated based on the document date when doing goods receipt, and not standard SAP posting date. I can only find note 619330 according to this requirement, but this note requires use of material ledger which we are not using. We have implemented note 574583 for the same requirement in transaction MIRO.
    Since there are no notes from SAP according to the requirement in transaction MIGO, are there any enhancements available for using the document date instead for posting date when calculating local currency?
    Best regards,
    Terje

    substitution used

  • Batch search strategy based on goods receipt date

    Hello,
    Can some one help me with setting up Batch search strategy based on goods receipt date currently is on batch number.
    Thanks a lot
    Thanks!
    Best Regards
    Srw

    Hi
    If you want to set up Batch search strategy based on goods receipt date......then you have to create GR Date as one charecteristics in T.Code: CT04 and assign this charecter in Class with respect to class type  023
    Then assign this class in Material Master Classification view..
    Make sure in Material master, Purchasing view...you have activated Batch management active check box....
    Then when ever you do GR in MIGO, In batch tab, In classification field maintain the GR Date..
    Then Create sort sequence in  T.Code: CU70 and you can maintain in what basis ie)in assending or desending GR Date you have to search the batch..
    And then Create Batch Search Statergy in MBC1 and there you assign the sort sequence in Details...
    Now  you do your regular procedings.....the material Batch will be searched based on GR Date...
    Reward if useful
    Regards
    S.Baskaran

  • Goods-Receipt Block for Purchase Order depending on Goods-Receipt Date

    Hi,
    I want to set up the system so it can block the Goods-Receipt for Purchase Order respectively Scheduling Agreement if the Goods Receipt is about to take place 30 days or more before the Desired Delivery Date.
    For Example: If I have a Purchase Order with the desired delivery date 30.09.2008. I want to set up the system so, that it bans (forbids) the Goods Receipt before the 01.09.2008.
    If possible I would want to do that without additional programming. Is it possible to set up the system using only customising settings?
    Thanks for your help
    Bogdan

    Hello Marius-Bodgan,
    as this question is marked answered I assume you have received an solution for your requirement. Could you please share the solution with me by posting it here? I have the same requirement and did not find any possibility to do this in customizing.
    Thanks in advance,
    Emanuel
    Found the solution in thread Re: Goods Receipt
    Edited by: Emanuel Penalver on Jul 15, 2008 11:48 AM

  • AFS ARUN goods receipt future allocation

    I'm not able to test a future allocation all the way through for our current setup.
    I allocated an order to future PO and Create an inbound delivery for PO.  At this point /afs/md04 is allocated (R) to stock type 'L'.  When I do the Goods receipt against the Inbound delivery, /afs/md04 remains the same.  I was expecting that the order would be allocated to Batch stock. 
    When I do a good receipt using MIGO against a PO, then it does work correctly - it changes the allocation from PO to batch stock.  When I do a goods receipt using MIGO against an Inbound Delivery or execute Goods receipt using VL32N, it does not - We use VL32N to Goods Receipt.
    Even after doing subsequent allocation against the order requirement using the stanard allocation, I get the message 'no open schedule lines found'.

    Hello Carol,
    might be too late, but is it possible that your stock is (was) stuck in quality inspection?
    KR,
    Peter

  • Report for date variances between delivery and goods receipt date

    dear guru ,
    i search a standard report for date variances between delivery date in the purchase order and the goods receipt date.
    Do you help me ?
    Thanks

    Hi,
    Use Report ME80FN and here check the delivery schedule option in output screen.

  • Error copying data from Goods Receipt PO to A/P Invoice

    Hi all, this seems like it should be a simple process. We get an error doing the following:
    - Open a blank A/P Invoice
    - Select the Vendor
    - Copy from Goods Receipt PO
    - Choose the items
    - Draw Document Wizard 'finish'
    The process aborts, and the system message that comes up is:
    'Business partner of copied down payment document must be the same as business partner of target document'
    Why is it saying this when it is the system that is choosing and presenting the items on the Goods Receipt PO that are associated with the Vendor??
    BTW: version 8.8 running on MS SQL Server 2008

    Yes, the message is clear, but the logic is not. 
    A blank A/P invoice is opened, and the business partner (Vendor) is selected. When the 'copy from' Goods Receipt PO is selected, a list of POs is displayed that are associated with the vendor. This info should then be copied back - there is no ability to select a differend business partner, and it is SAP that is making the association between the data. This is what is confusing.  If A/P Down Payment Invoice is selected for this process (rather than the A/P Invoice), the system copies that data across with no error message.
    Note: This is only a new system and the users are getting used to the SAP way of doing things. Could it be that they should be carrying out the workflow in a different way?
    Cheers,
    Nick

Maybe you are looking for