on 2015 Oct 08 8:22 AM
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.
Request clarification before answering.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.