cancel
Showing results for 
Search instead for 
Did you mean: 

Goods Issue being archived.

Former Member
0 Kudos

Hi,

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.

Thanks

Sukant

Accepted Solutions (1)

Accepted Solutions (1)

former_member205059
Participant
0 Kudos

Hi Sukanth

Symptom

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

Cause

  • 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

Basavaraj.M.Evani

0 Kudos

Hi,

...

  1. Create a correction report as in attachment (ZZRB_VBFA_NO_GI_DOC_5)

...

I don't find that report as in attachment

Could you add it again, thanks.

BR,

Sari

0 Kudos

Hi, I know is late, but just in case anybody else is checking. Attachment file can be found under note 1856641.

Answers (2)

Answers (2)

former_member205059
Participant
0 Kudos

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.

Thanks

Basavaraj

Former Member
0 Kudos

Hi Basavaraj,

FYI. But when i try to see the Mat. document no. getting an error, document not exits for the calender year.

former_member184065
Active Contributor
0 Kudos

Hi,

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.

Thanks,

Naren

Former Member
0 Kudos

Thanks raren, i m also not sure why it not reflecting but in the table as share how i m getting 2 nos. your inputs on  the same.

Thanks

Sukant

former_member184065
Active Contributor
0 Kudos

Hi,

I have asked my FI gut on this. He says that ,with two different years ,we can have same material document number in SAP that's why you are getting same material document numbers in two different years.

FYI,have a look into OMBT t.code and see the number ranges for t.code MB03 as well check in OBA7 -document types

Thanks,

Naren

Former Member
0 Kudos

Thanks naren for your help, i had experimented this before posting,  its H1  no. range & the same is assigned.

But then why i m getting PGI archived.Need to resolve ASAP. your inputs on this naren..

Thanks

0 Kudos

Hi Sukant ,

Please check what is the last PGI material document in the table level and current number of the material document in the Number range series.

With Regards

S.Siva

Former Member
0 Kudos

Sorry naren for that , but whenever i m trying to PGI it is in archived mode, i had simulated some 5 process but all same & the  document no refers to 2000 year or material doesn't exits, any inputs how can we resolve it. Screen of the same.

Thanks

Sukant Chakraborthy

former_member184065
Active Contributor
0 Kudos

Hi,

After creation of PGI, it is going in archive mode or what ?.Kindly ,share more details on PGI archive as well as what is the scenario ?How,you are processing this scenario ( t.code wise ).

Thanks,

Naren

Former Member
0 Kudos

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.

Thanks

Sukant Chakraborthy