cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Recursive Loop Error while doing standard cost estimate

Former Member
0 Likes
1,983

SAP Gurus,

We are trying to do standard cost estimate on a material and we are getting error because it is going in recursive loop even though we have used "recursive allowed" indicator for item components in the BOM. The error message numbers are CK 730 and CK 740. We are using 4.6c. I have tried the same scenario in ECC 6.0 and still I get the same problem.

Below is my BOM structure:

Material 10890345 (has low-level code 012)

---> 10867220 (has low-level code 013) and has recursive allowed indicator

10867220

---> 10846733 (has low-level code 014) and has recursive allowed indicator

10846733

---> 10890345 (has low-level code 012) and has recursive allowed indicator

According to me, the BOM for material 10846733 is causing the problem.

For some weird reason while doing the costing run for material 10890345, it s not stopping and going in a loop.10890345 and 10846733 should ideally have the same low-level code as they are recursive.

Please help to provide some solutions at the earliest on how to avoid recursive loop during costing.

Regards,

Swapnil

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Likes

Dear,

This recuursiveness is found in the later stage during explosion. Hence please first check in CS11 and check where exactly the recurrsiveness tick is not tocked.

Former Member
0 Likes

Rajesh,

I have set the "recursive allowed" indicator on all the BOM item components in all the BOMs.

A colleague of mine has pointed out that "Setting the recusiveness allowed flag allows you to save the BOM but you can still never use is for costing because it will always go into a loop."

Is the above correct?? So will there be never a convergence for the costing run in recursive BOM?? Please help us on this as we need to complete the standard cost estimate run before the month end.

Regards,

Swapnil

Former Member
0 Likes

Dear,

We have 7 level of BOM with recursiveness.what is the lot size you are enetering?

Answers (1)

Answers (1)

Former Member
0 Likes

Rajesh,

We have maintained From Lot : 0 and To Lot size of 99,999,999 in all the BOMs. I have also marked all the BOM components to have "recursive Allowed" indicator.

Please let me know how would the lot size help me during cost estimate for recursive BOM.

Awaiting you reply.

Regards,

Swapnil

Former Member
0 Likes

Dear,

I have 2 things to shear with you.

The method we followed to solve the iteration is as below

1.Config change -

Valuation variant in the costing variant, we changed the sequence as below

material valuation

4 planned price 1

2 std price

3 Mov ave price

2. Material master change

made all the semi finished goods and finished goods

procurement type = E,

costing with qty structure,

Enter the planned price1

By doing this what happens is

when system first start the iteration, takes the planned price 1 and start iterating and next time in the second iteration it takes the calculated price from qty structure till it finds the difference between the value calculated is less than .001. Then it gives the result

Why lot size is important is, in our case in some levels the usage is very less compared to the first material header qty and system used to stop in between and not even reaching the last level as during the cycle it was reaching less .001 difference. may be in your case it may not be the case...just check

Please come back after trying this. this was the only last option i had to solve the issue in my client.

Another alternative is to have a different material for costing purpose to stop the iteration which i will not recommend as we need to do some calculation for each stage and input the cost of dummy material in each stage.

My client is happy with the result as the difference between manual calculation and system calculation is less then .1%...this is because SAP will not consider the difference beyond .001, but in excel you get as many as decimals you want.

Former Member
0 Likes

Rajesh,

I will try this and get back in couple of days...

-Swapnil