cancel
Showing results for 
Search instead for 
Did you mean: 

Deleting orders from LC

Former Member
0 Kudos

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?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

former_member788297
Participant
0 Kudos

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

Answers (2)

Answers (2)

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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