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

FM returning wrong value...

Former Member
0 Likes
792

In VA03, open a sales document, double click a material and go to conditions tab.

Double click on net material price.

Assume this material's UOM is MSF.

In my order confirmation output, I am trying to display the amound (unit price- kbetr).

In my sales order I have two items (UOM for those are HSm and MSF resp),

for one of them (HSM ) this value is displayed properly.

But for the other item, MSF one, the FM RV_PRICE_PRINT_ITEM populates the

Final Price (Net) in TKOMVD with condition value (KWERT). WHy does this happen ?

For this item too I need the same KBETR..

The FM returns this value so I have no control over this..Any suggestions ?

thanks

4 REPLIES 4
Read only

Former Member
0 Likes
641

Hello,

you could check the 'print-ID' defined in the pricing procedure customizing -

maybe the two different items use different pricing procedures.

You'll find them in Sales&Distribution-> Basic Fuctions->Pricing->Pricing Control.

Or somebody programmed userexit 'userexit_print_item' that's used inside the FM.

Regards

Wolfgang

Read only

0 Likes
641

Hey,

Both these 2 items use the same pricing procedure. And yeah the value which i need , i.e. Net Material Price, it's Print column is blank. Shud that be set to 'b' ??

If not, what else can be done ?

thanks for ur help...

Read only

0 Likes
641

Hello,

you could set it to 'b' or 'X' - depending on if you use the old signs ('X' or 'S') or the new signs 'AaBbCcDd'.

Refer to the documentation on that field.

Or you can use the userexit that's inside the function module.

Regards

Wolfgang

Read only

0 Likes
641

Seems like some condition record's condition did not satisfy...thanks for ur help...