cancel
Showing results for 
Search instead for 
Did you mean: 

Badi WORKORDER_UPDATE~at_release method not triggering on release of order

0 Kudos

I have to set some values to custom fields of the order header whenever the user releases the order.

The badi WORKORDER_UPDATE has a method called 'AT~RELEASE', but somehow it doesn't trigger the method when the order is released.

Please let know where else i can accommodate the above requirement.

Note: the order category is 30

Accepted Solutions (0)

Answers (1)

Answers (1)

Caetano
Advisor
Advisor
0 Kudos

Hello

This BAdI should be called for orders of category 30 as well. Are you sure your BAdI implementation is active? Did you set a break-point in the beginning of your code?

You can also set a break-point in function module CO_ZR_HEADER_RELEASE_NEW and if the piece of code where this BAdI should be released is triggered.

Regards,
Caetano

0 Kudos

Hello Caetano,

Thanks for your reply.

As suggested, I have kept a break point in the Function Module CO_ZR_HEADER_RELEASE_NEW. It did not trigger on release. So the Badi was also not triggered.

My Badi is active and has a method 'AT_SAVE' implemented and is also gets triggered on order save. But the same Badi doesn't trigger on release.

There is another FM CO_ZR_HEADER_RELEASE which is getting triggered for my order, but it doesn't have any badi call.

Regards,

Obaid.