Skip to Content

How to make a work order in TECO raise MRP's NETCH flag in MD21

Hi experts,

I've this request: what can I do for make the action of putting TECO a work order to raise the flag of Net Change Planning for that material in tcode MD21?

This is the scenario: from monday to friday, every night runs the NETCH MRP. During the week-end runs the NEUPL MRP. Work orders are set TECO every day. My custumer need's that if one day a work order is technical concluded, that night the MRP NETCH plan that material.

I know that that's a list of action related to a material that raise the MRP NETCH flag in MD21 but the Technical Conclusion of a work order isn't in that list.

Are there any way to update that list?

I know I can use a BAdI to do it at the update of the work order, but first, I would like to explore other options.

Thank's in advance

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jul 08, 2017 at 03:29 AM

    Hello Giovanni

    The planning file will be only marked automatically if there was a change relevant to MRP.

    For example, if there was an open quantity for this order when you set the technical completion, then the planning file should be set automatically by MRP and you don't need to worry about it.

    Otherwise, if the order was already fully delivered, then it is no longer relevant to MRP and the planning file is not set.

    There is no possibility in the standard to influence this system behavior and, in my opinion, it doesn't make sense for you to plan a material again if there was no MRP relevant change. If you really need to do it, then you need to implement your own logic on a BADI.



    Add comment
    10|10000 characters needed characters exceeded

    • Good morning Caetano,

      thank's for your answer. You get the point, the problem is exactly this: when I close technically and order that hasn't yet any confirmation (and subsequently has yet full quantity open), nobody raise the flag in MD21 for MRP NetCh.

      Here's an example.

      Initial situation:

      The PrdOrd 108675416 has no Confirmation at all.

      This is the situation of MD21:

      Then I set in TECO the PrdOrd:

      I refresh the MD40:

      But the problem is that there's still no flag at all on the MD21:

      Thank's for helping me.

      Best regards

      immagine-1.png (20.2 kB)
      immagine-2.png (25.6 kB)
      immagine-4.png (38.7 kB)
      immagine-5.png (17.7 kB)
      immagine-6.png (14.5 kB)
      immagine-7.png (29.5 kB)
  • Jul 10, 2017 at 06:15 PM

    Hello Giovanni

    I made this exact test in my system and setting the technical completion for the production order is correctly setting the planning file entry. I have even used a MTO production order, in order to make sure that it was a similar scenario.

    Did you check if you have any enhancement or BAdI in production orders that could be causing this issue?

    The planning file update is called when the production order is saved by function module DISPSATZ_ERSTELLEN, so you may check if this function module is actually being called when you set the technical completion (it was called in my system). Please observe that this function module is called in update mode, so you need to activate update debugging, in order to reach your break point.



    Add comment
    10|10000 characters needed characters exceeded