Skip to Content
avatar image
Former Member

How to cancel MM item & confirmation with Idoc ORDRSP and its function IDOC_INPUT_ORDRSP ?

Hi,

I'm trying to cancel a PO item and his confirmation (wished result : EKPO-LOEKZ = 'L' and EKPO-ABSKZ = 'X') with Idoc 'ORDRSP' and the function module 'IDOC_INPUT_ORDRSP'.

I tried :

E1EDP01-ACTION = '003' and E1EDP20-ACTION = '003'

Only, but also with using Exit "EXIT_SAPLEINM_005" and updating 'XEKPO-LOEKZ' to 'L' ...
Result : No confirmation canceled, no item deletion ...

I tried also in debug mode to change 'POT-UPDKZ' to 'D' (was 'U') ... still failed.

Has anyone ever managed to delete a purchase order item via this function module ?

Thank you for any help !

Add comment
10|10000 characters needed characters exceeded

  • Former Member

    Dear experts,

    I have an identical issue here but with 1 significant change: I only need to cancel the confirmation schedule-line(s) (not the whole PO-item-line!) so that the PO-item-line should appear as 'unconfirmed' again.

    I tried:

    E1EDP20-ACTION = '003' and/or E1EDP20-WMENG = 0

    but I failed always.

    Has anyone made experience with such an issue?

    Any help is welcome!

  • Get RSS Feed

2 Answers

  • Mar 23 at 10:57 AM

    Please see OSS note 66192 - EDI inbound processing ORDRSP; reversing a PO item

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 26 at 08:39 AM

    Abap code in Note 66192 did not solve my problem, i will try in a specific way.

    Thanks for help Jürgen.

    Add comment
    10|10000 characters needed characters exceeded