cancel
Showing results for 
Search instead for 
Did you mean: 

MD02 Vs MD01

Former Member
0 Kudos

Hi Team,

Master Data set-up:

I am having FERT item which has BOM. The BOM components are R1 & R2. I have created Storage location MRP Area & assigned the this storage location MRP Area to the item R1 in material master.

Business Scenario:

I have created the PIR for the FERT item. Also i have created the sale order for the items R1 (assume sale order number: 5001) & R2 (assume sale order number as 5002).

Note: The total stock of R1 & R2 is ZERO currently.

MRP Run in MD02:

With this condition, i am running MRP for the plant (my plant code is 2000) in MD02 & MRP results are as below:

Result 1. For the FERT item the planned order is created

Result 2. The dependent requirements are created for R1 with MRP Area as planning segment

Result 3. The dependent requirements are created for R2 with Plant as planning segment

Result 4. Planned Order created for R2 for the sale order requirement (For the Sale order number 5002)

Here my question is:

1. I am expecting that the planned order should have been created for R1 for the sale order requirement (sale order number 5001) as like R2. But it did not. Why?

2. I have executed MRP in MD02 at plant level (plant code: 2000). So i was under the assumption that the dependent requirement for R1 will NOT be created (because i have assigned storage location MRP area for the R1 material in material master) until i run the MRP for this MRP area. But the dependent requirement for R1 has been created while running the MRP at plant level for the FERT item. How?

MRP Run in MD01:


With this master data set-up & business scenario , i am running MRP for the plant (my plant code is 2000) in MD01 & MRP results are as below:

Result 1. For the FERT item the planned order is created

Result 2. The dependent requirements are created for R1 with MRP Area as planning segment

Result 3. The dependent requirements are created for R2 with Plant as planning segment

Result 4. Planned Order created for R2 for the sale order requirement (For the Sale order number 5002)

Result 5. Planned Order created for R1 for the sale order requirement (For the Sale order number 5001)

3. The planned order is NOT created for R1 to cater the sale order requirement (sale order number 5001) while running MRP in MD02 for the plant. But if i run the MRP in MD01, the planned order is created for R1 to cater the sale order requirement (sale order number 5001). Why the MRP results are different between MD01 & MD02?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

former_member208398
Active Contributor
0 Kudos

Hello,

In MD02: Single Item Multi-level planning the planning depends on BOM explosion and it runs according to BOM explosion. Since the BOM of FERT contained the storage location (your MRP area) of R1, MRP has been run for R1 in that scope. This is because the MRP area basically reduces the Plant MRP Area once implemented. BOM exploded for FERT, and the dependent requirement is lying in an MRP area for R1 , thus running MRP for R1 in only that scope. Try to set up the following test case:

In the BOM of FERT, maintain R1 twice, once with the MRP area storage location, and another with any other storage location which is not defined as an MRP area. This will increase/ extend the scope of planning of R1 and you will get the output that you were expecting.

Hope this explains your Q1 and Q2. For more, kindly go through the SAP helps:

Single-Item, Multi-Level Planning - Carrying Out the Planning Run (PP-MRP-PR) - SAP Library

MRP Area - Special Planning Processes - SAP Library

MD01 or total planning works in a different set up. It checks the materials (defined under your scope of planning) having planning file entries, sorts them according to LLC (low-level code) and then runs MRP for them. This again depends on how you have selected the scope of planning. In MD01 if you want to segregate the MRP area from the plant, you have to define a scope of planning that contains only the plant MRP area and run MRP with that scope.

Using only plant in MD01 is not advised.

Best Regards,

Rajen

Former Member
0 Kudos

Hi Rajen,

Assume that i have two storage locations namely SL01 & SL02 in the plant 2000. I have created the storage location MRP area for the storage location SL01 & assigned this storage location MRP area to R1 material in material master. This means that the Plant MRP Area (2000), only considers the storage location SL02 (as per your statement "MRP area basically reduces the Plant MRP Area once implemented").  Hence i understand that the dependent requirement should NOT be created for R1 while running MRP in MD02 (at plant level). Still i am not clear on MD02 behaviour.

Referring the below SAP link:

http://help.sap.com/saphelp_46c/helpdata/en/c4/106956ae8a11d1a6720000e83235d4/content.htm

1. In the link, please note the below statement. It says that, the planning file entries from other MRP area also will be considered. Is the above behaviour because of this?

  • During single-item, multi-level planning, the system plans the selected material in the MRP area entered. In addition, the system takes into account planning file entries from other MRP areas, for example, if the material is to be procured using stock transfer.

2. If that is the case, the planned order for the sale order (sale order no: 5001) should have been created for R1 while running MRP in MD02 (MRP at plant level). But it is not. Why? (Note: In the sale order of 5001, i have entered only the plant 2000 & i have not provided any storage location.).

MD01 (Total Planning):

In MD01 screen, in the plant field i have provided the my plant code 2000 & the scope of planning field is empty. I am understanding that since i have provided the plant 2000 in MD01, only the storage location SL02 will be considerd for planning & storage location SL01 will NOT be considered for planning since the location is assigned to storage location MRP Area. Is this correct? But the system is considering both plant and MRP area for planning & creates the procurement proposals as below.

Thank you for your information.

former_member208398
Active Contributor
0 Kudos

Hello,


In the link, please note the below statement. It says that, the planning file entries from other MRP area also will be considered. Is the above behaviour because of this?

Not always.The help links already provided you an example when planning file entries of other MRP area are taken into account, the procurement type is a factor here.

Best Regards,

Rajen

Former Member
0 Kudos

Hi Rajen,

Still i am not clear on MD02 & MD01 behavioural difference.

MD02 Behaviour:

Why the planned order is not created for sale order requirement of R1 (Sale order number 5001) after MRP run in MD02 (Plant level MRP run , plant code 2000)?

MD01 Behavoior:

In MD01 screen, in the plant field i have provided the my plant code 2000 & the scope of planning field is empty. I am understanding that since i have provided the plant 2000 in MD01, only the storage location SL02 will be considered for planning & storage location SL01 will NOT be considered for planning since the location is assigned to storage location MRP Area. Is this correct? But the system is considering both plant and MRP area for planning & creates the procurement proposals as below. I am expecting that the 'RESULT 2" should NOT have been generated after MRP run in MD01 since the R1 item is assigned to storage location MRP area (SL01).


Result 1. For the FERT item the planned order is created

Result 2. The dependent requirements are created for R1 with MRP Area as planning segment

Result 3. The dependent requirements are created for R2 with Plant as planning segment

Result 4. Planned Order created for R2 for the sale order requirement (For the Sale order number 5002)

Result 5. Planned Order created for R1 for the sale order requirement (For the Sale order number 5001)


Thank you for your input.

former_member208398
Active Contributor
0 Kudos

Hello,


MD02 Behaviour:

Why the planned order is not created for sale order requirement of R1 (Sale order number 5001) after MRP run in MD02 (Plant level MRP run , plant code 2000)?

Because MD02 works based on BOM explosion. Please note, in the initial screen you have provided input in the plant field for the FERT, not for R1. Exploding the BOM of FERT in the given condition, the dependent requirement for R1 is there only in the MRP area which is being separately planned.


MD01 Behavoior:

In MD01 screen, in the plant field i have provided the my plant code 2000 & the scope of planning field is empty. I am understanding that since i have provided the plant 2000 in MD01, only the storage location SL02 will be considered for planning & storage location SL01 will NOT be considered for planning since the location is assigned to storage location MRP Area. Is this correct? But the system is considering both plant and MRP area for planning & creates the procurement proposals as below. I am expecting that the 'RESULT 2" should NOT have been generated after MRP run in MD01 since the R1 item is assigned to storage location MRP area (SL01).

No, your understanding is not correct regarding this. In MD01: Total planning if you enter plant field, all the MRP areas will be considered. That is why it is not advised to provide plant in MD01 (hope you have noted the warning message during the input in MD01: Message no. MD335).

If you want to have separate planning run for total planning for only the plant segment, you should include the plant MRP area in a separate scope of planning in OM0E and use this scope of planning during planning run.

Best Regards,

Rajen

Former Member
0 Kudos

Hi Rajen,

Your inputs are very helpful for me.

MD02 behaviour:

As i understand MRP as "Net Requirements Calculation" which works as below concept.

Procurement Proposal quantity will be generated after MRP run for each material based on net requirements calculation as below.

Net reqmt quantity = Requirement quantity ( PIR / Sale order (Here i mean sale order of item R1)) - stock - Procurement proposal ( such as PR/PO/Planned order/production order )

1. So, if the sale order for R1 is not considered during MRP in MD02 (Plant:2000 & Material: FERT), then net requirements quantity for the item R1 will NOT be correct. Am i right?

2. To create the planned order for the sale order requirement of R1, should i need to run MRP again in MD03 (Single item / Single Level) for the R1 material separately?

Thanks

former_member208398
Active Contributor
0 Kudos

Hello,

Your understanding about "Net Requirement Calculation" is correct, just add the date dimension and segment dimension to it. For ease, I try to understand Net Requirement (of a given date for a given segment) = Available Quantity - Total Requirement Quantity on that day on that given segment.

The master data set up that you have used will work as explained by me in my earlier responses and I think the behavior that you have experienced in the original post is standard, at least it was what I expected with MD02 when working with MRP Area which is treated as a separate segment.

If you run MRP in MD03 for R1, you will have planned order for R1 against the requirement in the plant MRP area segment.

So, the next question is presumably what can I do to ensure proper MRP run and proper net requirement calculation (according to your understanding of the net requirement). Usually I use total planning with defined scope of planning and I can use the exits for MRP total planning run if I require any custom selection. I can share the steps that I follow:

1. Run planning file entry in MDAB to knock out any inconsistencies in planning file entries.

2. I have defined my scope of plannings in OM0E according to the MRP areas. You can provide multiple MRP areas in your scope of planning.

These two steps ensure me that I have not 'skipped' anything for the planning run.

3. Run MRP Total planning in MDBT, with parallel mode for performance and I can use my user exit keys if I need to exclude any materials based on custom checks and conditions.

Best Regards,

Rajen

Former Member
0 Kudos

Hi Rajen,

So i redefine the net req calculation formula as below.

Net Requirement (of a given date for a given planning segment) =  Available Quantity - Total Requirement Quantity on that day on that given planning segment + Total Receipt quantity on that day on that given planning segment.


For R1 Item:


When i run MRP in MD02 for FERT item (BOM header item) with the planning segment as "Plant : 2000", the BOM will be exploded & BOM component R1 & R2 will be identified as dependent requirements.  After identifying the dependent requirement R1 & R2 the planning segment "Storage Location MRP Area" & "Plant MRP Area" are assigned to R1 & R2 respectively. Then the net requirements calculation is carried out for dependent requirements R1 & R2 FOR EACH PLANNING SEGMENT. In the planning segment "Storage Location MRP Area" which is assigned to R1, only dependent requirement is created as result of MRP run & no planned orders are created for R1 to cater the sale oder req of R1 (sale order number 5001) since the sale order for R1 is created for the plant "2000" which is NOT the  planning segment of R1. (Note: The  planning segment of R1 is "Storage location MRP Area - SL01"). Am i right?



For R2 Item:


When i run MRP in MD02 for FERT item (BOM header item) with the planning segment as "Plant : 2000", the BOM will be exploded & BOM component R1 & R2 will be identified as dependent requirements.  After identifying the dependent requirement R1 & R2 the planning segment "Storage Location MRP Area" & "Plant MRP Area" are assigned to R1 & R2 respectively. Then the net requirements calculation is carried out for dependent requirements R1 & R2 for EACH PLANNING SEGMENT. In the planning segment "Plant  MRP Area 2000" which is assigned to R2, dependent requirement is created as result of MRP run & ALSO planned orders are created for R2 to cater the sale oder req of R2 (sale order number 5002) since the sale order for R2 is created for the plant "2000" which is the  planning segment of R2. (Note: The planning segment of R2 is "Plant MRP Area 2000"). Am i right?


I hope i understand the concept in clear.


Thanks






former_member208398
Active Contributor
0 Kudos

Hi,

In my understanding, technically 'dependent requirement is created' = Entry in RESB table is created due to the planned order (receipt) of the header material.

The process that you have mentioned describes how the dependent requirements and the planning segments are considered during the single item multi-level planning run MD02. I think you are right about the consideration process which MD02 is following as per the scenarios mentioned earlier.

Best Regards,

Rajen

Answers (1)

Answers (1)

Former Member
0 Kudos

MRP Run in MD02:

Here my question is:

1. I am expecting that the planned order should have been created for R1 for the sale order requirement (sale order number 5001) as like R2. But it did not. Why?

Check the storage location in Sales order.....

2. I have executed MRP in MD02 at plant level (plant code: 2000). So i was under the assumption that the dependent requirement for R1 will NOT be created (because i have assigned storage location MRP area for the R1 material in material master) until i run the MRP for this MRP area. But the dependent requirement for R1 has been created while running the MRP at plant level for the FERT item. How?

DR will be created in any MRP Area since for next MRP run DR would be required in MRP area.

MRP Run in MD01:

. The planned order is NOT created for R1 to cater the sale order requirement (sale order number 5001) while running MRP in MD02 for the plant. But if i run the MRP in MD01, the planned order is created for R1 to cater the sale order requirement (sale order number 5001). Why the MRP results are different between MD01 & MD02? 

Maintina scope of Check in case you wish to avoid certain MRp area or maintain sequence of MRP area in scope of check.

Without scope of check, system will plan accoring to low level code.

Former Member
0 Kudos

Hi Animesh,

1. In the sale order of 5001, i have entered only the plant 2000 & i have not provided any storage location.

2. Your statement is: DR will be created in any MRP Area since for next MRP run DR would be required in MRP area.. I am not clear. can you please explain in detail?

Thank you for your info.