We are creating manual plan orders again sales order and in our situation there could be multiple plan orders against a single sales order. I recently got a task to put a control on quantity of plan order that it(quantity) should not exceed sales order's quantity, and in case of multiple plan order, cumulative quantity of all plan orders which are against one sales order should not exceed.
I have found Business Add-In (BAdI) MD_PLDORD_CHANGE but according to its documentation I can't place error message inside that. Moreover, I tried to place soft and hard break point after creating implementation of it but the breakpoints never hit during the whole process of creating and/ or changing plan order.
I have thoroughly checked SDN for my issue but couldn't able to find any solution.
Any solution (standard/ technical) will be appreciated
Thanks in advance,