Skip to Content
0

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

Mar 23 at 10:43 AM

58

avatar image
Former Member

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 !

10 |10000 characters needed characters left 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!

0
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Jürgen L Mar 23 at 10:57 AM
0

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

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Thank you for your answer Jurgen.

This note is for SAP-APPL 603-617, and our version is SAP_APPL 618. Do you think it will not have any problem ?

0

This question you have to ask the SAP Support. This note was the last time adjusted before 618 existed.

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

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

Thanks for help Jürgen.

Share
10 |10000 characters needed characters left characters exceeded