Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Pricing routine - header changes

Former Member
0 Likes
1,022

Hi,

I have written a pricing requirement routine through VOFM. It is calculating the values and displaying the proper values at the line item level pricing. But in the header, it is just displaying the sum of the condition amounts rather than the sum of all condition values found at the line item, for the particular condition type. In other routines that I have written, the values flow properly. Can anyone please suggest what is missing.

Thanks,

Abdullah

2 REPLIES 2
Read only

Former Member
0 Likes
576

Hi guys,

I checked one more thing for the issue. The pricing is getting calculated properly when I am in the transactions. I pass the values to table tkomv in the routine. But it saves with a different value. When I go to the display mode after save, it shows me a wrong value.

Thanks,

Abdullah Ismail.

Read only

Former Member
0 Likes
576

Hi Ismile,

Are you using corrcet Condition table with correct fields?

If yes, try to debud the code, you will get where exactly the error is!

You can refer this thread.