cancel
Showing results for 
Search instead for 
Did you mean: 

scheduling error in ppds

Former Member
0 Kudos

Hi,

I got this error "No gap for activity ||| found within the planning horizon" during production planning run.

Diagnosis

There is not a large enough gap for the activity ||| on the mode

1- in the planning period specified in the time profile.

System Response

The system does not schedule or reschedule.

What could be the reason for this error ? Kindly help.

I am struck with this. i am not getting this error if i create any order manually in product view. but when i run planning for a particular sale order in variable heuristic i am getting this error. any idea pls help

regards

vinay

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Vinay,

Check on the following

1) Time profile maintained in the customisation

2) PPDS horizon maintained in material master

3) Check the strategy profile (like planning direction, sch mode, etc.,)

Regards

R. Senthil Mareeswaran.

Former Member
0 Kudos

what should be the scvheduling mode. it should be correct because it is planning and scheduling properly for direct make to stock order creation in product view.

Regards

vinay

Answers (9)

Answers (9)

Former Member
0 Kudos

Vinay,

In the strategy profile, you have a field for Actions in case of scheduling error. I guess your setting is terminate immediately. If you change that your planning run will not fail in case of find slot as well.

For find slot , suggest to use forward with earliest or current date and for infinite with desired date and backward diirection.

There is a SAP note for strategy settings.

Kedar

Former Member
0 Kudos

Vinay,

Is the planned order created or not?

Kedar

Former Member
0 Kudos

Hi Vinay,

I agree with what BVN says. The system is telling you that you do not have enough open capacity to create an order. This does not apply when you manually create an order since you are overwriting system constraints.

In a case where my routing (transaction CA03) says that the system can manufacture 100 CAR in 60 MINS. I define in my resource that I have one day open in a week with 20 hrs of open time. Then my capacity per day is 100*20 hours = 2000 CAR per day

Below are the possible reasons:

1. If I maintain a minimum lot size of 2100 CAR, then the system is trying to create an order that is larger than the gap it has. so it can not do that.

2. If min. lot size + rounding value > 2000 CAR, the same problem.

So the issue can be resolved by either changing the lot size or capacity of resource.

Hope this helps.

Former Member
0 Kudos

Hi visu,

in routing i have mentioned for a base quantity of 1 no. setup time is 1 hr and produce time is 1 hr. the lot size is lot for lot.

now if i run planning for the 2 or 3 sale order it is giving planned order for all the three sale order but the start date is same and with error sayinf schedulinf is not done because of the above mentioned errors.

Pls get back

vinay

Former Member
0 Kudos

Dear all,

I had posted the querry to sap. below is what they are saying*.

I had a look at system APD and started heuristic SAP_PP_002 for one

of the customer segments. As expected the following happened:

1. As the 'planning direction' in the strategy settings of the heuristic is set to 'Backwards + Revers' and the planned order availability

date should be today (due to the early requirement date) strategy 1

(backwards scheduling) can't be successful and thus leads to an error /SAPAPO/DM_SCHEDFAIL044

2. Strategy 2 ('revers', i.e. forward scheduling) is successful then and creates a planned order that starts today and ends in the future.

Both steps & messages are displayed in the scheduling log of the

heuristic. Both messages are abolutely correct and are created as

expected.

All created orders are overlapping. This is correct, as they are

scheduled infinitely according to the heuristic settings.

In order to do a finite scheduling of the created orders a suitable DS

heuristic should be carried out as a subsequent step after the PP

heuristic run (as recommended by SAP).

So altogether your system works absolutely correct and there is no

indication for a software error.

SO FRIENDS,

DOES HE MEAN THAT I SHUD NOT RUN VARIABLE HEURISTIC AT ALL. HE MEANS TO SAY THAT I HAVE TO RUN PLANNING IN PLANNING RUN.

pLA GUIDE ME AS TO WHAT I SHUD DO.

THANKS

VINAY

Former Member
0 Kudos

Dear all,

I had posted the querry to sap. below is what they are saying*.

I had a look at system APD and started heuristic SAP_PP_002 for one

of the customer segments. As expected the following happened:

1. As the 'planning direction' in the strategy settings of the heuristic is set to 'Backwards + Revers' and the planned order availability

date should be today (due to the early requirement date) strategy 1

(backwards scheduling) can't be successful and thus leads to an error /SAPAPO/DM_SCHEDFAIL044

2. Strategy 2 ('revers', i.e. forward scheduling) is successful then and creates a planned order that starts today and ends in the future.

Both steps & messages are displayed in the scheduling log of the

heuristic. Both messages are abolutely correct and are created as

expected.

All created orders are overlapping. This is correct, as they are

scheduled infinitely according to the heuristic settings.

In order to do a finite scheduling of the created orders a suitable DS

heuristic should be carried out as a subsequent step after the PP

heuristic run (as recommended by SAP).

So altogether your system works absolutely correct and there is no

indication for a software error.

SO FRIENDS,

DOES HE MEAN THAT I SHUD NOT RUN VARIABLE HEURISTIC AT ALL. HE MEANS TO SAY THAT I HAVE TO RUN PLANNING IN PLANNING RUN.

pLA GUIDE ME AS TO WHAT I SHUD DO.

THANKS

VINAY

Edited by: vinay on Aug 26, 2009 5:26 PM

Former Member
0 Kudos

Dear all,

I had posted the querry to sap. below is what they are saying*.

I had a look at system APD and started heuristic SAP_PP_002 for one

of the customer segments. As expected the following happened:

1. As the 'planning direction' in the strategy settings of the heuristic is set to 'Backwards + Revers' and the planned order availability

date should be today (due to the early requirement date) strategy 1

(backwards scheduling) can't be successful and thus leads to an error /SAPAPO/DM_SCHEDFAIL044

2. Strategy 2 ('revers', i.e. forward scheduling) is successful then and creates a planned order that starts today and ends in the future.

Both steps & messages are displayed in the scheduling log of the

heuristic. Both messages are abolutely correct and are created as

expected.

All created orders are overlapping. This is correct, as they are

scheduled infinitely according to the heuristic settings.

In order to do a finite scheduling of the created orders a suitable DS

heuristic should be carried out as a subsequent step after the PP

heuristic run (as recommended by SAP).

So altogether your system works absolutely correct and there is no

indication for a software error.

SO FRIENDS,

DOES HE MEAN THAT I SHUD NOT RUN VARIABLE HEURISTIC AT ALL. HE MEANS TO SAY THAT I HAVE TO RUN PLANNING IN PLANNING RUN.

pLA GUIDE ME AS TO WHAT I SHUD DO.

THANKS

VINAY

Edited by: vinay on Aug 26, 2009 5:27 PM

Former Member
0 Kudos

Also wanted to ask if the resource capacity is showed in the resource tab

Former Member
0 Kudos

Vinay,

first try the sched mode as Infinite scheduling when you create the order in variable heuristics, then try find slot.

Do you use block planning?

Kedar

Former Member
0 Kudos

Hi Vinay,

As you have indicated rightly, the system should shedule it in

both directions, it seems there is still a missing setting.

1) Check the mode 1 of the activity whether all the

timings from R/3 are copied to PDS

2) Is there any validity of sales order exists? in such

case, if your strategy profile has does not consider, then

it wont work

3) check the order_int relationship in strategy profile

4) Check the sale order for requirement date whether

falls within planning horizon

Regards

R. Senthil Mareeswaran.

Former Member
0 Kudos

Hi Vinay,

Try scehduling mode with both "find slots" and "infinite scheduling"

which are SAP defined standards.

Please confirm your results

Regards,

R. Senthil Mareeswaran.

b_valavan
Participant
0 Kudos

Vinay,

From a general perspective if you look the error message i feel there is no capacity to accomodate a particular operation.

Eg: If operation X need 3.5 hrs of a particluar resource and if the slot available to insert / squeeze the operation is not sufficient then the system will not be able to process the same.

Check your scheduling parameters in the strategy profile settings of your heuristics.

Regards

BVN

Edited by: B Valavan on Aug 24, 2009 12:14 PM

Former Member
0 Kudos

Hi,

I am using backward +reverse. so if there is not slot or gap it has to go reverse and do forward scheduling. But why is this only for sale order not for direct planning in apo. Pls get back.

Thanks

Vinay

Former Member
0 Kudos

Hi Vinay,

1) Check the activity relationships in transaction ca02 or ca03 in R/3

2) & 3) Not applicable.

4) In /sapapo/scc03 transaction in APO, enter the product and location

and enter into PPM and inside perform consistency check. Another

transaction is /sapapo/scc05

5) use ca02 transaction to perform cons check inside routing.

6) As you are not getting this error in product view, there should be

some problem in bom/routing/production version/ppm maintenance.

7) Check the applicaiton logs created in product view

Regards

R. Senthil Mareeswaran.

Former Member
0 Kudos

Hi senthil,

i am using PDS not ppm. Anyways i have checked everything u told.

Strage thing is. this error is only when i plan variable heuristic for a sale order. but when i plan directly in product view clicking the create order tab. its absolutely fine. what cud be the problem.

but if the requirement date is very far say next year. it is behaving properly without any errors. but if there is one more sale order for the same requirement date. the schedule is overlapping. the end date or the start date is same. which shud not happen in APO. Basically it is not schedulinh one by one.

Pls help and guide me further.

Thanks

vinay

Former Member
0 Kudos

Hi Vinay,

Please check on the following

1) Check the activity relationships are maintained in R/3

2) Check the bom and routing are maintained in all respects

3) Check the time profile in customisation whether matches with the planning period

4) Check the PPDS PPM is created and run a consistency check for PPDS PPM

(for single item using transaction scc03)

5) Carryout consistency check in routing after all operations are maintained.

Confirm your findings

Regards

R. Senthil Mareeswaran.

Former Member
0 Kudos

Hi senthil,

i am not getting this error when i create order directly in product view. this problem is there only while i run variable heuristic ifor a sale order.

pls let me know the following:

Check the activity relationships are maintained in R/3

how to check the activity relationship

2) Check the bom and routing are maintained in all respects

\this is checked and its correct.

3) Check the time profile in customisation whether matches with the planning period

no issues with this as it is 1 year before and after

4) Check the PPDS PPM is created and run a consistency check for PPDS PPM

(for single item using transaction scc03)

is this the only transaction code.

5) Carryout consistency check in routing after all operations are maintained.

what is the transaction code.

Pls reply

Thanks

vinay