cancel
Showing results for 
Search instead for 
Did you mean: 

How to check the batch is being used in which purchasing document.

tinaren
Advisor
Advisor
0 Kudos

Dear all,

I have a question.

When archive a batch, it will give a error log sasys:   Material no. Plant no.  Batch no.  Dependent purchasing documents exist.

I just want to archive certain batches for a material , How to find the exact purchasing document number? 

I guess delete all the PO which can be found in table EKPO by filling the material number will archive some independent purchasing document.

I checked ME_CHECK_BATCH_USAGE_IN_PO, there are many checks on EKPO, EKET, EKBE and EKES.

By the way, all the material documents are deleted so we cannot check the PO by MB51 and fill the mateirial+plant+batch.

Is there any other way to find all the dependent purchasing docuemnt?

Best regards,

Tina

View Entire Topic
JL23
Active Contributor
0 Kudos

Deletion of the PO is not sufficient to archive the batch. You would need to archive the PO too, prior to the batch.