Skip to Content

How to change the reservation for a production order

Hello, I would like to change the Components/Reservations of a production order.

Background:

We are using ERP and EWM 7.0x, where EWM is doing a production supply of Batch managed materials. Batch Determination is done in EWM.

When the WM-Staging is performed in ERP the Outbound delivery is replicated to EWM and there the coponents are picked. The picker selects the Batch to be used. When the Picking is confirmed the Outbound delivery in EWM is changed, which trigger the replication back to ERP. There the Outbound delivery is updated and the stock is posted to the IM managed storage Locations.

In this whole process the Batch number in the manufacturing order are not updated.

When the manufacturing order is confirmed the materials are goods issued, due to backflush. Due to the fact that the Batch numbers are not in the manufacturing order ERP does a Batch calculation and takes any stock from the IM Location.

What I want to make sure is that the backflush takes the stock from the staged Outbound deliveries.

My idea is now, to change the reservations of the production order in the ERP processing of the Outbound Delivery.

I have identified a user Exit I have identifed bapi_prodord_get_detail to query the components, but I do not know how to make changes to the Reservation via function modules. I want to obmit using SQL Statements for directly modifying the table.

Does someone have an idea ?

Best regards

Michael

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Feb 06, 2017 at 05:12 AM

    Hi Michael,

    Option 1 -> I guess it can be manage through Batch Determination in IM Location ( Back flush ) if it is make to order.

    If not, Please try to use the enhancement to determine the batch which has posted to that Outbound Delivery ( to IM Location )/Production Order.

    Preselection of Batches Within Batch Determination

    Batch Management Userexits and BAdIs

    Debug Batch Determination

    Option 2 ->Please update the same using Exit ( in delivery )or Back ground job->BAPI_RESERVATION_CHANGE- To change or add items in Reservation.

    Kindly let us if you have further queries and also share if you have any other alternate.

    Best Regards,

    Ajit

    ,

    Hi Michael,

    Option 1 -> I guess it can be manage through Batch Determination in IM Location ( Back flush ) if it is make to order.

    If not, Please try to use the enhancement to determine the batch which has posted to that Outbound Delivery ( to IM Location )/Production Order.

    Preselection of Batches Within Batch Determination

    Batch Management Userexits and BAdIs

    Debug Batch Determination

    Option 2 ->Please update the same using Exit ( in delivery )or Back ground job->BAPI_RESERVATION_CHANGE- To change or add items in Reservation.

    Kindly let us if you have further queries and also share if you have any other alternate.

    Best Regards,

    Ajit

    Add comment
    10|10000 characters needed characters exceeded