‎2016 Feb 25 5:49 PM
Hi All,
I'm updating EKPO table using 2 update statements as follows.
1. If first update statement is successful ,COMMIT and WAIT.
then,
2.perform the next update.
This works when I'm creating the PO in but when im doing it using 4(send immediately) then I get a
dump " COMMIT IN POSTING'.
Please help.
Thanks,
Faiz
‎2016 Feb 26 6:22 AM
Hello Faiz,
Try with ENQUEUE, update the table and then DEQUEUE.
Regards,
Thanga
‎2016 Feb 26 6:25 AM
Try with lock objects below.
EMEKPOE Purchasing Document Item Exclusive
EWB2_EKPO Lock Object: Item In Purchasing Document
with function modules.
DEQUEUE_EMEKPOE
ENQUEUE_EMEKPOE
or
DEQUEUE_EWB2_EKPO
ENQUEUE_EWB2_EKPO
Regards,
Thanga
‎2016 Feb 26 7:27 AM
Hi Faizur,
Rather using UPDATE statement in EKPO standard table, Use BAPI_PO_CHANGE .
You can also implement BADI ME_PROCESS_PO_CUST depend upon your requirement.
Regards,
Pravin
‎2016 Feb 26 7:28 AM