MD04 : Mask button purchase requisition
We would like to be able to limit the possibilities offered in MD04 for planned order conversion according to the procurement type defined for the material.
For example for a material produced in-house (procurement type E), we would like have a button only for "Production order" .Currently I have this button, but also process order, partial process order and purchase requisition. I want to mask the button "Purchase requisition" or send a message to block the user.
I suppose somewhere in customizing we can change that, but I can't find where.
Or an exit or BADI ?
Can anybody help me?
Caetano Almeida replied
Both BAdIs are called during the conversion on MD04. If you set a break-point on the BAdI, the debugger is not called because both BAdIs are called in the update mode.
See the following note for details:
|1799370||The program doesn't stop at the breakpoint which is set in the Implementations|