Skip to Content
author's profile photo Former Member
Former Member

Goods Issue being archived.


I had posted the stock using T code MB1C, but when i m checking i m able to see 2 Material document in the table, now when i do the entire sales cycle the PGI is archived is it because of this document is taken of back dated or any other reason. Attached is the screen shot of the same Inputs please.



Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Nov 12, 2013 at 10:24 AM

    Hi Sukanth


    • GI (goods issue) / GR (goods receipt) document shows "Archived" status in document flow, although you haven't actually archived it.
    • You can't display the GI / GR document from document flow. Error message M7 062 (Document ****** does not exist in calendar year ****).
    • After posting GI / GR, material document is not generated. There is no movement posted in MM-IM. Stock remains unchanged.
    • After posting GI / GR, stock (IM / WM) is not changed (reduced / increased).
    • GI / GR document doesn't exist. It can be neither displayed it in tcode MB03 nor found it in table MKPF and MSEG.
    • You cannot cancel "Archived" material document. GI / GR cannot be canceled in tcode VL09 because of error VL 622.
    • Delivery has goods movement status (VBUK-WBSTK, VBUP-WBSTA) 'C' (complet). However, the stock is not moved. Goods movement hasn't happened.
    • VBFA table contains a GI / GR document (VBFA-VBTYP_n = 'R' ), which doesn't exist in table MKPF and MSEG.


    • Why is material document displayed as "Archived" in document flow?
      • If the material document doesn't exis in MKPF (material document header) table, system will display it as "Archived".
      • "Archived" doesn't really mean that it's archived. It means that the material document doesn't exist.
      • This is an inconsistency accoss LE-SHP (VBFA table) and MM-IM (MKPF table).
    • Why is material document NOT created when posting GI / GR? What's the root cause of this inconsistency?
      • Usually, this problem is caused by customer coding. Please check whether you are using any userexit in delivery processing and material document posting. If so, please check whether there is any COMMIT work or ROLLBACK in your coding.
      • Please check whether there was any update termination (tcode SM13) or short dumps (tcode ST22) when GR was posted.
      • To find out the exact root cause, it's necessary to have a reproducible example. If this inconsistency can be reproduced, please create a SAP message.
    • How to check the inconsistency:
      1. Run tcode SE16 to display table VBFA with selection fields:
        VBELV = delivery number
        VBTYP_n = 'R' (upper case)
      2. Run tcode SE16 to display table MKPF with selection fields:
        MBLNR = material document number (VBFA-VBELN selected in step 1)
        MJAHR = material documnet year (VBFA-MJAHR selected in step 1)
      3. Run tcode SE16 to display table MSEG with the same selection fields as step 2.
      4. If nothing can be selected in MKPF and MSEG, this is the inconsistency.
    • How to fix the inconsistency:
      1. Create a correction report as in attachment (ZZRB_VBFA_NO_GI_DOC_5).
      2. Run tcode SE38 / SA38. Execute the correction report ZZRB_VBFA_NO_GI_DOC_5 to delete the non-existing material document from document flow (VBFA table).
        Input the parameters as below:
        DELIVERY -> delivery number
        MATDOC -> material document number (the one to be deleted)
        MATYEAR -> material document year (find the value from VBFA-MJAHR)
    • CAUTION:
      • Please test all the reports in quality/development system first before executing it in production system.
      • This correction report is just a workaround for inconsistency correction. It's just for your reference.
      • Please contact SAP support if you have any question about the inconsistency.
    • Thanks


    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 09, 2013 at 12:28 PM


    In your first screen shot GI document number is not what you had GI document number in your screen shot second .

    Note:I have checked in my system regarding about first screen data but donno,in which cases that we will get two times of same document number in table MKPF.



    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Narendra Konnipati

      Hi Naren,

      The process is normal sales process,

      VA01- VL01n (after delivery PGIid)-VF01.

      The Scenario is for FMCG company. The Depot incharge receives a order from the dealer & the process follows..

      But still i m not able to figure why the system is giving me some other mat doc no as you see in the flow, have u gone through any of the errors.


      Sukant Chakraborthy

  • Posted on Nov 12, 2013 at 05:20 AM

    Dear Sukanth.

    I had posted the stock using T code MB1C, but when i m checking i m able to see 2 Material document in the table,

    Check the Material document Number which have been Posted in different Years.

    and also try to simulate in delivery accts goods Movment data Tab enter the date Manually and do the PGI .

    Check the Material document Number ranges .

    IMG Path: Material Management -------- Inventory Management and Physical Inventory ---Number assignment check weaher number ranges has been defined for MD For 2013.



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.