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

How to Report on Alternate Unit of Measure

Hi All,

We recently implemented SAP for our Canadian operations. The Canadians want to see all our custom and standard reports in Alternate units of measure ( KG's & Ltr's ) but our reports only display in Lbs & Gal's. We were able to change our custom reports but is there any setting that SAP provides for the standard reports/transactions to display Alt UoM. We don't want to rush in and start changing standard reports. I'm sure, lot of you faced this situation before.

Regards,

Srini

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 22, 2006 at 06:53 PM

    hi,

    use the FM UNIT_CONERSION_SIMPLE

    hope this helps

    check this code

    unit_in = itab-meins

    unit_out = 'GLL'.

    CALL FUNCTION 'UNIT_CONVERSION_SIMPLE'

    EXPORTING

    input = itab-meins

    • NO_TYPE_CHECK = 'X'

    • round_sign = ' '

    unit_in = unit_in

    unit_out = unit_out

    IMPORTING

    • ADD_CONST =

    • DECIMALS =

    • DENOMINATOR =

    • NUMERATOR =

    output = factor

    EXCEPTIONS

    conversion_not_found = 1

    division_by_zero = 2

    input_invalid = 3

    output_invalid = 4

    overflow = 5

    type_invalid = 6

    units_missing = 7

    unit_in_not_found = 8

    unit_out_not_found = 9

    OTHERS = 10.

    IF sy-subrc <> 0.

    e_error = 1.

    EXIT.

    ENDIF.

    Message was edited by: srinu k

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 22, 2006 at 06:55 PM

    try the below function modules:

    <b>MC_UNIT_CONVERSION

    UNIT_CONVERSION_SIMPLE</b>

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 22, 2006 at 07:36 PM

    Hi,

    TCODE- CUNI. It is in the Global settings. There you define a base unit of measure and set a conversion for each other unit of measure in respect to the base unit of measure

    Regards

    Sudheer

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 26, 2006 at 11:31 PM

    Thanks for your answers. We have been successful in converting all our custom reports to display both Base UoM and Alt UoM but our issue is with standard SAP delivered reports ( about 10 reports in all ). They all output in GAL/LB butI want them to output in GAL/LB for US and Litres/KG for Canada.

    Regards,

    S

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 27, 2007 at 12:40 PM

    We ended up copying and modifying standard reports.

    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.