Skip to Content
Jul 02, 2019 at 08:08 AM

Production order release and confirm at same time



We are creating a production order in CO01 and then release it in CO02.

Our requirement is: when user click on release button (in CO02) and save it then production order phase '0020' should get confirmed.

To fulfill this we have tried using Customer Exit fm EXIT_SAPLCOZV_001 and BADI WORK_ORDER_UPDATE( methods AT_RELEASE and AT_SAVE). We are currently using FM 'CO_RU_CONFIRMATION_PREPARE' to confirm but when we call this FM in exits and Bad ,we get the error that Production order is not yet released.

we also tried calling this FM inside wrapper Update FM but still does not work.

Please provide any suggestion.