cancel
Showing results for 
Search instead for 
Did you mean: 

When the PO is in error in process, the delete button in the header is not available.How to enable the delete button?

Former Member
0 Kudos
117

The PO is stuck in error in process and needs to be deleted.

We usually adds the status deleted in the PO and mark the flag document completed in BBP_PD.

But this will not change the shopping cart item status to 'In purchasers worklist'.

So please suggest a way to enable delete button in the PO.

Accepted Solutions (1)

Accepted Solutions (1)

laurent_burtaire
Active Contributor
0 Kudos

Hello,

button action ID "DELETE" in PO header is managed by CHECK_DELETE method from /SAPSRM/CL_PDO_DYN_MDA_HD_PO dynamic metadata class.

Check standard process inside this method to understand why PO with "Error in process" status cannot be deleted (it could be linked to BBP_PROCDOC_STATUS_CHANGE function module for deletion activity).

Regards.

Laurent.

Former Member
0 Kudos

Thank you.

YayatiEkbote
Contributor
0 Kudos

Hello Deepak,

PO can be deleted if GR is not done. As you said PO was error in process, PO can be deleted.

In BBP_PD, check quan_po_e & val_po_e fields of SC. Check if they are 0. Also source_rel_ind should become 'X' once PO is deleted. Sourcing relevant indicator is checked also in case partial POs are created.

Regards,

Yayati

Answers (0)