Skip to Content
avatar image
Former Member

Unable to delete Order does not exist in live cache but in table POSMAPN

Hi Experts,

We are facing an issue where purchase order is not available in live cache (which means no GUID) but exists in database table POSMAPN. We have tried to delete it using standard SAP inconsistent order deletion program and also using BAPI BAPI_POSRVAPS_DELMULTI but not able to delete it.

Can anybody suggest a method by which we can get rid of this order from the system.

Thanks a lot.

Best Regards,


Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    Mar 03, 2010 at 08:45 PM

    I have successfully deleted the Purchase Orders using the BAPI 'BAPI_POSRVAPS_DELMULTI'

    You need to use BAPI_TRANSACTION_COMMIT after calling the above FM.

    Once you do that, it will be deleted successfully.

    I have tested it and it is working fine for me.


    Babu Kilari

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Chandan,

      Apologize me for taking your question in a wrong perspective. If you want to delete the same then you need to Re-CIF the order from ECC so that it would come and sit in Live Cache. Once done, try using the BAPI.

      If you are not successful with the above approach try running the consistency report /SAPAPO/SDRQCR21 in APO system

      so that it first corrects the inconsistency between ECC and APO (Live Cache + DB tables) and then use the BAPI to delete the PO.

      Not sure if you have tried this way. If this does not solve your purpose you need to check SAP Notes.


      Babu Kilari

  • avatar image
    Former Member
    Mar 04, 2010 at 09:30 AM

    Hi Chandan,

    You can use the function module '/SAPAPO/SDORDER_ITEM_DEL_GUID' for the deletion.



    Add comment
    10|10000 characters needed characters exceeded