Skip to Content

ME_CONFIRMATION_UPDATE: create one item

Hi All,

I am using ME_CONFIRMATION_UPDATE to update EKES table for mass PO confirmation and facing a problem . When we update it using the above FM used in our program after confirmation we are getting 2 records in transaction MD04 one for Shipping notification and other for PO item but when we confirm a PO manually

then the PO item record gets replaced with shipping notification record.

Thanks with Regards,

Vallamuthu M

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Jun 05, 2015 at 07:30 AM

    Hi,

    After FM ME_CONFIRMATION_UPDATE call FM ME_CONFIRMATION_REDISTR_ITEMS by passing PO number and line item number.

    Thanks and regards,

    Greeshma.

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 05, 2015 at 09:22 AM

    ⚠️ Don't forget that use of update task FM (*) may trigger database inconsistencies (**) and is definitely not good practices.

    Did you try to use standard BAPI_PO_CHANGE (***)?

    Regards,

    Raymond

    (*) Those FM are called at end of transaction, after error check and in whole batch, and executed in update task after the COMMIT WORK.

    (**) Even if a full analyze of standard transaction usage of those FM is performed, you won't prevent loss of warranty in case of database problem (7 - Error caused by customer modification/development.)

    (***) Read also 197958 - BAPIs for purchase orders: Missing functions

    Add comment
    10|10000 characters needed characters exceeded