A breakpoint to debug how RESB-NO_DISP is set by MRP
Recently I have had a case, from which I’ve learnt an important breakpoint to set. I’d like to share it with you too.
Imagine you run MRP but no requisitions are generated to cover dependent requirements for a component Material. You find that it happens because dependent requirements are created with RESB-NO_DISP = X and not blank as expected. So, you want to find where that X is set to RESB-NO_DISP.
Try to set the breakpoint here:
IF mdpmi-dbskz EQ dbskzf. “46a DIB
-> Direktbeschaffung muß in T399D bzw. T438M aktiviert sein “46a DIB
IF NOT ( cm61m-kzdrb = kzdrbf OR cm61m-kzdrb = kzdrbx ). “46a DIB
MOVE xflag TO mdsb-nodsp. “46a DIB
ENDIF. “46a DIB
and debug your particular case.
Please, note that you have to run MRP not in simulation mode as BOM elxposion must be triggered. Also, you won’t reach these code lines if just trigger a BOM explosion without MRP.
Hope you find this information useful. At least it was new to me 🙂