cancel
Showing results for 
Search instead for 
Did you mean: 

Routine problem

former_member1318783
Participant
0 Kudos

Hi,

We have created new routine (condition base value). The functionality of this routine will be as follows,

The routine will consider the material entered in the sales order, the material is less than or equal to 5 ltr's then it should be multiplied with 70%.and if he material is greater than 5 ltr's then it should calculate 65%.

In sales order I have entered both the materials of less than 5 ltrs and greater than 5 lts.In item level it is calculating the specified percentage.But in header condition it is calculating either 65 or 70% for the both materials.

How can i rectify this one???

Pls suggest...

Regards,

Cherukuri

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi, Please use two differnet item condition type to store the 70% or 65% condition value based upon material qty. In this case system will calculate the approriate value at header level and both value will not be mixed.

regards

vivek.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi

Put a breakpoint in the routine code and try to debug the routine, you could easily found the bug, where the routine is going wrong.

try and revert