on 11-21-2013 7:36 AM
Schedule agreement X, line 10 shows a quantity of 23, as well as the quota arrangement. After having scheduled these SAP should use X, line 20. But this doesn’t work. We have to schedule the remainder of line 10 by hand or SAP will use line 10 until the end date entered into the source list.
We have the same vendors for the line items
History:
The quota arrangement maximum quantity was used as a workaround, as it was discovered that MRP does not take account of the target quantity on the scheduling agreement.
Any Ideas as how to use Line 20?
SAP does not jump itself from one contract item to another one.
it could never be a correct decision if the source list tells it different, or do you expect SAP to exchange the source list automatically as well to the next item?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
Use BAdI MD_MODIFY_SOURCE to select the source of supply.
I wrote the following BLOG post with more details about the main BAdIs available on MRP:
http://scn.sap.com/community/erp/manufacturing-pp/blog/2013/08/12/badis-for-mrp
It may be useful for future reference.
BR
Caetano
I agree that many things are possible with exits or Badis, but if the standard approach is changed and despite of master data with contradictory information, it just leaves the user (and even consultants who were not informed about that change) confused and makes them posting again discussions in SCN.
Hi Jurgen
I agree that the "standard" path should always be pursued but not everything can be done on the standard and sometimes a BAdI is the only solution. Everything depends on the customer IT policies.
From the MRP side it is very easy to know if a BAdI is active, because there is an indicator "BAdI active" on MD04 and MD05 (I'll add that to my document!). So there is no excuse for lazy consultants that open threads instead of researching about the problem.
BR
Caetano
The scheduling agreement has two line items- 23 EA and 200 EA. We have already placed order 23 EA Quantity iw 1st line item.Now we want MRP to create schedule lines for the second line item of 200 EA. MRP still creates Schedule line for 1st line item.
Why this so? Is it becoz of the validity period in source list or is it any config?
a) it tells me that you have 2 items with MRP indicators in the source list, this must be avoided!
b) no information given to analyze the issue in more detail, would need the validity from and to-date from the source lists, as well as the delivery date of the MRP created schedule, the date when the MRP was executed
Now , in the source list there are 2 items and same vendors and same agreement with different line items
Validity Start Date 01-12-2013 End date :31-12-2013 Vendor 1 -- agrementt XXX item 10: MRP-2
Validity Start Date 01-1-2014 End date :31-12-2014 Vendor 1-- agrementt XXX item 20: MRP-0
In Agreement; Validity Date at header level: 31-12-2013 1-2-2014
Line 10: Quantity -40
Line 20: Quantity- 200
In Quota Arrangement, Same vendors in both lines
Validity Start Date 01-12-2013 End date :31-12-2013 Aloc Qty-20:Max Qty-40 Quota %-100
Validity Start Date 01-1-2014 End date :31-12-2014 Aloc Qty-198:Max Qty-200 Quota %-100
Not used Maximum release Quanitity , period and priority (not sure how it will help)
Depending upon the the requirement (100EA) , i have schdeuled the 1st line of the Scheduling agreement (using MRP,schedule lines) and it has been delivered (40 EA) .Now , when i run MRP again to cover 60EA, it creates a schedule line for the same line item ie line item 10 (40 EA-target qunatity, 60 EA scheduled)
Now, we want the system to switch into the second line item of SA ?
Available options:
Changing Dates is not feasible since we will keep on updating the source list.
Changing the line item no in the first line of source list is one option ie.
Validity Start Date 01-12-2013 End date :31-12-2013 Vendor 1 -- agrementt XXX item 20: MRP-2
Can we use QA and avoid this manual work?
Now , in the source list there are 2 items and same vendors and same agreement with different line items
Validity Start Date 01-12-2013 End date :31-12-2013 Vendor 1 -- agrementt XXX item 10: MRP-2
Validity Start Date 01-1-2014 End date :31-12-2014 Vendor 1-- agrementt XXX item 20: MRP-0
In Agreement; Validity Date at header level: 31-12-2013 1-2-2014
Line 10: Quantity -40
Line 20: Quantity- 200
In Quota Arrangement, Same vendors in both lines
Validity Start Date 01-12-2013 End date :31-12-2013 Aloc Qty-20:Max Qty-40 Quota %-100
Validity Start Date 01-1-2014 End date :31-12-2014 Aloc Qty-198:Max Qty-200 Quota %-100
Not used Maximum release Quanitity , period and priority (not sure how it will help)
Depending upon the the requirement (100EA) , i have schdeuled the 1st line of the Scheduling agreement (using MRP,schedule lines) and it has been delivered (40 EA) .Now , when i run MRP again to cover 60EA, it creates a schedule line for the same line item ie line item 10 (40 EA-target qunatity, 60 EA scheduled)
Now, we want the system to switch into the second line item of SA ?
Available options:
Changing Dates is not feasible since we will keep on updating the source list.
Changing the line item no in the first line of source list is one option ie.
Validity Start Date 01-12-2013 End date :31-12-2013 Vendor 1 -- agrementt XXX item 20: MRP-2
Can we use QA and avoid this manual work?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
There is no reference to the schedule agreement on the quota arrangement. Also, the only link between the source list record and the quota arrangement items is the vendor. Since the same vendor is used for both records, system will choose the first one.
As I already mentioned previously, for such complex scenario, you should use BAdI MD_MODIFY_SOURCE.
BR
Caetano
Hi,
I suggest for this purpose, use Source determination.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.