Skip to Content
author's profile photo
Former Member

Deleting orders from LC

I have purchase orders which do not show up in RRP3. I have tried

1) RLCDELETE and PP_ORDER_DELETE( I know these wont work but just ran them to be sure)

I cannot use any BAPIs BAPI_POSRVAPS_DELMULTI or FMs /SAPAPO/OM_DELETE_INCON_ORDERS

as I do not know the ORDID and these programs need Order ID and not the order number.

I also used the FM which gives me the order ID when I give order number as input but it gives out a message that "order"does not exist in the system.

Any suggestions?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Best Answer
    author's profile photo
    Former Member
    Posted on Aug 19, 2007 at 09:31 PM

    Hi Varun,

    Pls do a intial transfer for PR-PO and it will remove any such discrepancy. Pls ensure that the material IMod is active for these parts.

    Thanks

    Sachin

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Varun,

      If you know PO number from R/3 system, GUID can be determined from //OM16 --> order tab.

      After that /SAPAPO/OM_DELETE_INCON_ORDERS should help

      Regards,

      Chava

  • author's profile photo
    Former Member
    Posted on Aug 16, 2007 at 05:34 PM

    Do these orders exist in R3?

    Have you tried CCR to pick these up? I beleive it will give you an option of deleting it in APO after the comparison. You might also be able to debug this and find the FM that picks it up

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Harish -

      I have tried CCR but it did not pick it up. Also, on the R/3 side these orders do not show up in MD04 but exist in the table EKPO.

      thanks

      Varun

  • author's profile photo
    Former Member
    Posted on Aug 16, 2007 at 05:41 PM

    you can use table /SAPAPO/ORDMAP to get the ord id i suppose

    Add comment
    10|10000 characters needed characters exceeded