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

Accepted Solutions (1)

Accepted Solutions (1)

former_member197616
Active Contributor
0 Kudos

try use MB56 .

tinaren
Advisor
Advisor
0 Kudos

Thanks! I can find the material documents in MB56.

Answers (3)

Answers (3)

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.

Prasoon
Active Contributor
0 Kudos

Hi,

   I think its because the batch number is maintained in the PO's. Check in EKET table by passing material, and batch number and check the entries.

Regards,

AKPT

Message was edited by: PRASOON AK

former_member183424
Active Contributor
0 Kudos

You can find all purchasing documents with regards to batch number from EKET.