cancel
Showing results for 
Search instead for 
Did you mean: 

Invoice document **** does not exist when clicking on the Parked invoice in Purchase Order History tab

Bin_Eric_Hou
Participant
0 Kudos

Dear Experts,

      I  met up a seemingly strange problem about parked invoice document in purchase document history tab while using t-code: me23n.

Some parked invoice documents displayed in the tab, but when I clicked on the item, a error message M8184 showed up:

                     Invoice document ****  does not exist.

See as below:

I tried to find the these documents in table RBKP, but no value was found. These parked invoice document were once deleted,and  none of them had be archived. In normal condition,deleted parked invoice document would not show up in PO history here. So I has been confused about why were these document  showed up here,and why I could even  find them in table RBKF.

Please kindly help me with the issue.

Thanks and Best Regards.

Eric Hou

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

Hi, Did you finally find an answer ? Would be very helpful.

Prasoon
Active Contributor
0 Kudos

Hi,

   Please use the correction report Z_DELETE_HIST_PARKED or Z_DELETE_HIST_PARKED_604 attached in the note: 595535 - MIR7: Undeleted entries in purchase order history to correct the inconsistency.

Regards,

AKPT

Bin_Eric_Hou
Participant
0 Kudos

Hi  AKPT,

          We also implemented this note today and no  documents were found. Because the parked invoice were not stored in table RBKP, so I think this note does not apply for my issue.After deleting the parked invoice, relevant tables like RBKP seemingly didn't store the record.

           The issue is  quite similar to the symptom  described in  the KBA 1876234 - Missing Invoice Documents.And the resolution was not effective.

Regards

Eric

JL23
Active Contributor
0 Kudos

I think you should review the KBA 1876234 - Missing Invoice Documents and then your coding

Bin_Eric_Hou
Participant
0 Kudos

Hi dear Jürgen L,

         Thanks for responding so quickly. I had seen this note today and followed the resolution instruction.We didn't find 'COMMIT WORK', OR 'ROLLBACK' statements within the custom coding.

Bin_Eric_Hou
Participant
0 Kudos

Hi  Jürgen L,


          I forgot to mention  some details : we added an enhancement to check the quantity of parked invoice document  and  GR quantity when pressing on 'SAVE' button using t-code MIR7. The missing parked invoice documents shouldn't be stored in table RBKP  and  RSEG, which we made it. So the message M8184 is correct. But these documents were surprisingly  stored in 'Purchase Order history tab', that is table EKBE.

           So I guess the problem is :the unwanted parked invoice documents were stored in table EKBE by mistake when we executed the enhancement.

I want to know  how SAP  updates the table EKBE when executing  MIR7. Any advice for me?


Thanks a lot.



Best Regards,


Eric Hou

JL23
Active Contributor
0 Kudos

technically the updates to all tables are usually made in the very same LUW, if one update fails  because the object is locked then the entire LUW is rolled back and no update happens.

If a developer added somewhere a commit in an enhancement, then it will happen that a part was already updated while the rest is rolled back, which leads to such inconsistencies.