cancel
Showing results for 
Search instead for 
Did you mean: 

Impossible to delete Order in the past in APO

Former Member
0 Kudos

Dear experts,

I can't delete orders in the past for a location product,

It concerns purchase order already delivered (order category EQ) and which is no longer visible in R/3

However it is still showing in SNP and Product view with a date in 2009!

I tried everything and it doesn't allow me to delete

Below is the different methods i tried;

/SAPAPO/CCR: it doesn't find any error to reconcile

/SAPAPO/DELETE_PP_ORDER : the program finds the order but doesn't delete because it says converted order can not be deleted in active version

/SAPAPO/RLCDEL: it says no order exist in livecache

BAPI BAPI_POSRVAPS_DELMULTI and BAPI_POSRVAPS_REMOVEITEMS: it doesn't find the orders to delete

I also tried /sapapo/tscopy to erase the KF using another "blank" KF but it's too far in the past and not included in SNP horizon

Thanks for your help

E

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Pls try with SAPAPO/SDORDER_DEL if not successful try to run the report, /SAPAPO/SDRQCR21

Hope this helps.

Thanks,

Satyajit

Answers (1)

Answers (1)

Former Member
0 Kudos

(1)Check to make sure the PO is closed in ECC

(2)Create a separate integration model for the material/plant combination and do an INITIAL SUPPLY.

This should take care of closing the order in APO and hence removing it from APO.

(3) If the above doesnt work, run se38-/SAPAPO/OM_ORDKEY_ORDMAP_CHECK for PV:000

to find the inconsistent orders in LC.

For your PO#, find the GUID(TCODE: OM16) and check to see if it exists in the ORDER GUID s listed from the above report.

Take this GUID and input in the following SE38- /SAPAPO/OM_DELETE_INCON_ORDERS

and select all options( especially delete order object)

Good Luck

Thanks

Kumar

Former Member
0 Kudos

Hi,

Try running OM17.....

Regards,

Harshil Desai