cancel
Showing results for 
Search instead for 
Did you mean: 

Scheduling agreement -target Quantity.

Former Member
0 Kudos

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?

Accepted Solutions (1)

Accepted Solutions (1)

JL23
Active Contributor
0 Kudos

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?

Caetano
Product and Topic Expert
Product and Topic Expert
0 Kudos

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

JL23
Active Contributor
0 Kudos

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.

former_member183155
Active Contributor
0 Kudos

Hi all ;

The lot size specified in the quota arrangement item overrides the settings in the material master record for the planning run.

Source determination queue:

First quota arrangement, then source list, next outline agreement items, and last info records.

Regards.

M.Ozgur Unal

Caetano
Product and Topic Expert
Product and Topic Expert
0 Kudos

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

Former Member
0 Kudos

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?

JL23
Active Contributor
0 Kudos

do you have the second item in the source list too? with a MRP indicator ?

Remember, only one item in the source list must have a MRP relevancy, otherwise SAP cannot decide which source to assign in MRP run, it may be randomly just the first or the last

Former Member
0 Kudos

Yes, i have two line items with consecutive validity periods--same vendors and Same MRP indicators. Both are not fixed

JL23
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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?

Answers (2)

Answers (2)

Former Member
0 Kudos

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?

Caetano
Product and Topic Expert
Product and Topic Expert
0 Kudos

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

former_member183424
Active Contributor
0 Kudos

Hi,

I suggest for this purpose, use Source determination.