cancel
Showing results for 
Search instead for 
Did you mean: 

APO: Order XXXX Does not exist after STO Delivery is Deleted

Former Member
0 Kudos

Issue : When Delivery of Stock Transfer Order (PO) is deleted and we try to Create New Delivery; we get this Error APO: Order XXXX Does not exist.  When we go to Stock Transfer Order (PO) and try to do availability check on the order, we get same error APO: Order XXXX Does not exist.


Steps to Re-create:


1. Create Stock Transfer Order and Save

2. Create Delivery Note

3. Delete Delivery Note

4. Try to Create Delivery Note again  -> Error APO: Order XXXX Does not exist.

5. Try to Do ATP Check on Order Again - > Error APO: Order XXXX Does not exist.


Additional Information


1.  Order was present in /SAPAPO/POSMAPN All the time after Creation and deletion of Delivery Note.

2. When CIF Reconciliation was run, I got Schedule Line 1 missing Purchase Orders and Schedule line missing for Confirmation. Which explain why the ATP Check is not done on order ( or Error: Order is not Present in APO)


Question: We run CIF Reconciliation once a day and Clear all the Errors once a day. Delivery Deletion is common Scenario and we did not face this issue while recreating Delivery before EHP 6.0 Upgrade.  Why after Delivery is deleted, Order Details Cease to exist in APO and How can i resolve this issue?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

First option is to see if CIF model for STOs is active for Both Shipping and Receiving Location.

if that is not an issue and you had upgrade recently then SAP Suggests Note 2028143.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Sandeep,

When an STO item already has DN created, then it is no longer relevant for ATP check. But if you do have CPS (configurable process scheduling) then that order still needs to be checked in APO despite DN is created (not sure in your case if you have).

Anyway, you might want to check any Material Master changes (plant/MRP area level) both on the source and destination. This is also happening in our client and this is because of the enrichment being performed by business/mdm. Basic changes are MRP type, statuses, Availability Check, Strategy Group, etc (any field relevant for GATP process).

Also to investigate further, you might want to look at EKPO table, this is how you can trace if the STO item is the first time it was created. (number of entries found should be = 1, else check if deleted indicator are placed for other STOs). - this means that you need to initialize

What you can do about it:

1. run CFM1 tcode for that STO item and receiving plant for PO/PR only

2. run RIMODINI program to initialize the created model.

Hope this helps!

thanks!

Zeek

Former Member
0 Kudos

Moreover, always run delta report after BOP jobs. then have your operations team iterate them regularly. should you find inconsistencies that cannot be corrected then that is a standard issue.

babu_kilari4
Active Contributor
0 Kudos

Hi Sandeep,

There could be two reason for this.

1) Since you said you did an upgrade recently, there might be a missing  note that is leading to this.

2) Or it could be due to the slowness in the CIF. Having an entry in the table /SAPAPO/POSMPAN itself is not an indicator that the LiveCache is updated. You also need to check the other DB tables relevant to the STO document such as //MM_DOC etc., I hope there is a gap between STO creation, delivery note creation and deletion. Order doesn't exist error in my view comes due to the fact that the predecessor document / the document in which the ATP check is being performed ( change mode) doesn't exist in the Live cache of APO.

Hope this helps

Babu Kilari