Skip to Content
0
6 days ago

Quota arrangement + Source List entry with MRP Indicator 'blank' = Source List is skipped?

74 Views

Dear Community,

I am using Quota Arrangement in combination with a Source List entry for which the MRP Indicator (EORD-AUTET) is set to "blank = Source list record not relevant to MRP".

  • The Quota Arrangement has 2 entries with Procurement Type = F-External procurement :

- Supplier A: 50%

- Supplier B: 50%

  • The Source List entry has an entry for Supplier A which is referring to a Contract:

- Contract 4690000001 / 10 for Supplier A, valid from 01.10.2022 to 31.12.9999 with MRP Indicator 'Blank'



  • The Contract 4690000001 has a validity period from 01.10.2022 to 31.12.9999

When the MRP runs, it assigns automatically the Contract 4690000001 / 10 to the Planned Orders and/or Purchase Requisitions for the period 01.10.2022 to 31.12.9999. This behavior was unexpected since the MRP Indicator is set to "blank = Source list record not relevant to MRP" in the Source List for the period 01.10.2022 to 31.12.9999 for 4690000001 / 10. The expecation was that the Contract is not used as a Source of Supply, specifically because the MRP indicator is set to 'blank'.

Now, when I delete the Quota Arrangement and run the MRP again, the MRP doesn't assign the Contract 4690000001 / 10 to the Planned Orders and/or Purchase Requisitions for the period 01.10.2022 to 31.12.9999.

So we observe 2 different behaviors, depending on if a Quota Arrangement is set or not.

After analysis, we found the following piece of code which states that the combination of Quota Arrangement with MRP Indicator = 'blank' leads the MRP to skip the Source List entry in the Source Determination.

*&--------------------------------------------------------------------*
*&--------------------------------------------------------------------*
*& Object METH CL_PPH_MRP_SOURCING
*& IS_EORD_VALID
*& Object Header CLAS CL_PPH_MRP_SOURCING
*&--------------------------------------------------------------------*
...
IF is_mdpsn-qunum IS NOT INITIAL AND
is_mdpsn-lifnr IS NOT INITIAL AND
is_eord_sos-autet IS INITIAL.
" Quotation is given and LIFNR is given and
" we are checking a NON-Source list entry
" -> skip this source list entry
RETURN.
ENDIF.

Does anyone know the rationale behind this behavior?

I am not sure what the point is to completely skip the Source List in the Source Determination by MRP in a scenario where MRP Indicator is ‘blank’ and a Quota Arrangement is used. And to consider the Source List if there is no Quota Arrangement.

Thank you very much for your support and kind regards.