Skip to Content
author's profile photo Former Member
Former Member

How 2 display Amount as "EUR" intead of "EUR BOX" ?

Hi,

We calculate amount by multiplicating <b>Net Price</b> with <b>Order Quantity</b>.

But since the currency of price is for example <b>EUR</b> and the unit of quantity can be <b>Box, Set, Each</b>, etc, we can't sum the amount for all amount records, since some of them are <b>EUR Box</b>, some <b>EUR Set</b>, some <b>EUR each</b>, etc.

How can we get rid of the quantity unit and just calculate amount ?

Thanks in advance,

GSE

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 12, 2005 at 07:24 AM

    You can set in your formula that quantity is a number without unit. (This is one of the functions in the right pane of the formula builder). Then you will see only EUR.

    The formule will then look like this:

    NODIM(Order Quantity) * Net Price

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      You may be able (but I didn't test it myself) to get rid of the unit with an ABAP like this:

      DATA qty_ndim TYPE i. "Dimensionless number
      qty_ndim = comm_structure-your_qty_field_here.
      result = comm_structure-your_val_field_here * i.
      

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.