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

Display quantity in alternate unit

Hi,

My requirement is to include quantity in both base unit and alternate unit in almost every report. I enhanced 0MATERIAL_ATTR datasouce for alternate unit and included alternate unit ( As Unit) , Denominator(as Key figure:Number) and Numerator(As Key figure:Number) in 0MATERIAL infoobject.

Now in report I am able to do conversion Quantity*denominator/Numerator using calculated key figure. But I am not able to associate alternate unit with this new quantity. By using NODIM function in report base unit field can be disabled but the question is how to display alternate unit next to this quantity.

Just a thought, is it a better idea to do these conversions in start routine and update routine rather than doing it at report level. How will alternate unit work in this case ?

Thanks and regards

Shilpa Bansal

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jul 11, 2007 at 11:12 AM

    Hi,

    I think that it will be better to perform the calculation in the cube itself and to store the result in a Converted Quantity type infobject with alternate unit object. This can help u in using the query which will automatically fetch ur alternate unit. This is one solution hope this can work for u. If ur getting ur objects Denominator and Numerator directly then u can write a update routine for it and map the denominator, numerator and alternate_unit to this new info object maintained for conversion.

    Try this !

    Add a comment
    10|10000 characters needed characters exceeded

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.