on 05-09-2011 7:38 PM
Dear gurus,
Please help me on this issue:
I have a routine as:
xkwert = xworkk - xworkl.
Imagine that: ZCEP:100; Quantity :2 Total:2*100:200=xworkk
And another condition YODI is not relevant with quantity imagine that its value is 98.
Here I expect from routine to calculates as: 200-98=102 but system behaves as:
200-(2*98)=4
What is the problem here?
Regards,
Change the routine, so that it works whatever way you desire. Use a different field or change the calculation. Use debugger to figure this out.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check in t.code V/06, what is the value assigned in the field calculation type for the condition type YODI. I assume this carries quantity. You may need to change this to fixed amount. Also check in V/08, any routine is assigned in the column Condition formula for alternative calculation type against the condition type YODI.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shiva,
Check in t.code V/06, what is the value assigned in the field calculation type for the condition type YODI. I assume this carries quantity. You may need to change this to fixed amount. Yes It is assigned as fixed amount.
Also check in V/08, any routine is assigned in the column Condition formula for alternative calculation type against the condition type YODI. Yes, my routine which is (xkwert = xworkk - xworkl) is assigned there.
So what can be the problem?
User | Count |
---|---|
89 | |
7 | |
6 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.