cancel
Showing results for 
Search instead for 
Did you mean: 

Routine does not get its value from: quantity* net price

Former Member
0 Kudos

Dear all,

I have a problem with routine. Could you suggest me any solution for it.

If quantity =1 there is no problem. But if quantity different than 1 routine still calculates as quantity 1.

What migh be problem here?

I have routine as:xkwert = xworkk - xworki.

I assigned it YODI condition.

To give an example: xkwert = xworkk - xworki.

NETW 200,00

OWST 16,00

Sub Total 216,00 = XWORKK

YOFI 100,00 =XWORKI

YODI 8,00 =XKWERT*Here routine calculates as XWORKK=108 and XWORKI= 100.

How can I fix it?

Kind Regards,

Edited by: Fsmehmet on May 13, 2011 7:02 AM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Check the condition type YODI calcuation type B fixed?? if yes change to C - quantity

Former Member
0 Kudos

Dear Ram ki,

I changed YODI as quantity, but it is not working.

Problem still exist..

Former Member
0 Kudos

Hi,

Can you please explain your requirement and paste your code?

Regards,

Amit

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

Check if your pricing procedure without the VOFM determines any value. Think that you are replacing the value. If you don't determine value, you cannot change it. So, check if you have any scale in VK12 for this condition.

Regards

Eduardo

Former Member
0 Kudos

Dear Amit,

My routine: xkwert = xworkk - xworki. And it works when quantity is 1.

But when quantity is different then one, calclation is wrong.

For example;

Quantity=2 Net Price=100 And NETW=2100=200*

OWST 16,00

Sub Total 216,00 = XWORKK

YOFI 100,00 =XWORKI

YODI 8,00 =XKWERT*Here routine calculates as XWORKK=108 and XWORKI= 100.

Regards,

Former Member
0 Kudos

Dear Ram ki,

you are right. Problem solved. At first it is not working because I fill from to section in pricing schema and it causes this inconsistency.

Thanks to everybody for their contributions.

Regards,

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Your problem is not clear. Please explain what do you what to calculate using that routine?

Regards,

Amit