03-23-2018 10:43 AM
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 !
03-23-2018 10:57 AM
Please see OSS note 66192 - EDI inbound processing ORDRSP; reversing a PO item
03-23-2018 2:47 PM
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 ?
03-23-2018 2:52 PM
This question you have to ask the SAP Support. This note was the last time adjusted before 618 existed.
03-26-2018 9:39 AM
Abap code in Note 66192 did not solve my problem, i will try in a specific way.
Thanks for help Jürgen.
04-23-2018 9:59 AM
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!
01-14-2021 7:06 PM
Hi,
I had a similar requirement and I used the BAPI_PO_CHANGE in the user exit Exit "EXIT_SAPLEINM_005" to achieve this functionality.
Regards,
Rahul.