Skip to Content

Updating Schedule Line Date when releasing Purchase Order

I'm using BADI ME_PROCESS_PO_CUST to change schedule line delivery date (EINDT) according a Z configuration table for the PO Vendor and based on the PO date. This works ok in PROCESS_HEADER and PROCESS_ITEM methods of the BADI for purchase orders without release strategy.

For PO's with release strategy, the aim is to calculate the new delivery date when the PO is released in ME29N, based on the release date. But when releasing the PO, it does not go to either PROCESS_HEADER or PROCESS_ITEM methods and i cannot change the delivery date. I have tried the CHECK and POST methods, but it does not change the delivery date in the database.

I have also tried to find out a place where i can create an enhancement to force this new delivery date, but i haven't found any suitable place where the changes can be effective.

I will apreciate some help on this.


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jun 14, 2018 at 05:57 AM


    The delivery date will get calculated based on the parameters from Info record / Vendor Master / Material Master provided it is not entered manually in PR/PO or not set in Personal settings.

    Also Purchase order release can be canceled sometimes and re-releases it if business needed and you need to pick up the latest release date which does not store in Purchase order tables. For that you have to read CDHDR and CDPOS tables.

    As a workaround, you can have a Pop up message while releasing the purchasing document by the final approver to check the delivery date in PO before saving the Purchase order through User exit / Badi. you can put a Popup such that until he accepts the dialog box he cannot save the Purchase order.

    Best regards,

    Add comment
    10|10000 characters needed characters exceeded