Display of Alternate Unit of Measure

Hi there,
We try to display alternate unit of measure <b>in BEx</b> by implementing the following Howto Doc:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/how to report data in alternate units of measure
It works fine as long as 0MATERIAL is included <b>in the rows</b> of the report.
In any other case (e.g. 0MATERIAL is a free characteristic or not included in the report at all) this solution won't work and we get the "red x"!
Any suggestions??
Thanx,
Ofer.

Hi Ofer,
Virtual Char/KF behave as normal Char/KF in a sense that you create and add them in Infoproviders or Queries just like normal Char/KF. But they do not hold any data/values and their values are determined only at query run time (by writing code in user-exit for virtual kf/char.)
The logic could be something like this (though I'm pretty sure, would need to work on it again ):
Keep in mind that all this would be performed at query run time:
1. For each record, read material master data.
2. Get quantity, UoM for above record.
2. Get UoM from selection screen variable.
3. Convert and store in virtual KF.
You can search this forum for more information on it. Do let us know if need any more info.
Regards,
Vikrant.

Similar Messages

  • Stock display with Alternate unit of measure

    Hi All,
    is there any report in SAP, which displays the warehouse stock with Alternate Unit of measure. I did try in MB52. It was showing only in BUM. Please help ASAP.
    Ayesha

    Hello Ayesha,
    We had the same requirement. So we copied MB52 to ZMB52 and added a new selection for the AUM. Additional coding was also done for the UoM conversion.
    Cheers !
    Rajesh

  • Display alternate unit of measure as a characteristic

    Hello,
    I have successfully implemented the 'How to ... Report Data in Alternate Units of Measure' using the business content infocube 0IC_C03, Material Stocks/Movements.
    The infocube currently contains only base unit of measure.
    In the queries I am displaying key figures in base unit and alternate unit of measure.
    My requirement is to subtotal by alternate unit of measure. Is this possible? If I add 0BASE_UOM to the query this has no affect on the alternate unit of measure.
    Can I add an alternate unit of measure characteristic to the infocube and populate it during query run time? Where would this configuration take place?
    SAP_BW 3.1, content 3.3.
    Thanks for any suggestions,
    Mark

    HI,
    Go to Inforecord of that material with that vender on that plant.
    Change Inforecord(me12)...here in general data...change the order unit.
    system will give the conversion factor as u defined in material master.
    Hope Help U !
    Regards,
    Pardeep Malik

  • Alternate unit of measurement for quantity field in Report

    Hi All,
    I got a requirement like to populate alternate unit of measurement also in the report so how best i can do this when taking consideration of performance issues and all. I got few suggestions like to write a field routine in tranformations...
    So guide me how best i can do this, if any code is required let me know the code also.
    Eg. material...PP_Ingot has 2 units of measurement .....Ton & Each.
          So i need to display Qty in both Tons and Each in the report.
    Please suggest me .
    Thanks
    Srini.

    Hi Gregory,
    Thanks for the immediate reply.I was busy in some other issue so this is delayed.
    I hav a key fig YLOSMENGE  (inspection lot qty) in Base unit of Mea and mapped to r3 with losmenge and baseunit of mea.
    Next i hav created a new kf ZLOSMENGE with unit of mea so i want to know how to map this with r3 field and with which unit.
    So kindly suggest me.
    Regards
    Srini.

  • Alternate unit of measurement

    Hi
    Our client wants to use alternate unit of measurement from Square Feet to PCS. The conversion factor is not constant, we have aggreed to use an average conversion factor. Stock posting will be done in square feet and PCS will be used in reporting only.
    Question is is there a way to avoid user from entering PCS in stock posting transactions (GR GI for production purchase or sale orders) by mistake. PCS should not be allow for inventory posting. It should be only for display.
    Regards
    Abhishek Rai

    You can restrict the use of certain alternative units only with userexits, which can be quite messy, as you have to make sure that it is not taken in inventory managment, in sales order, production order .....
    Have you thougt about using proportion units?
    http://help.sap.com/saphelp_46c/helpdata/en/30/e1a993db3611d185160000e82013e8/frameset.htm

  • 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

    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

  • Variable for Alternate Unit of Measure

    Hello Experts
    I have implemented the soultion for reporting data in Alternate Unit of measure using the "How to..." guide provided at https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b7b2aa90-0201-0010-a480-a755eeb82b6f
    This solution involves creating a variable which prompts the user to enter the required unit of measure.
    However I have a situation where I would like to create variable which is not input-ready and has a fixed value assigned to it without prompting the user. Moreover, I cannot modify the already existing input-ready variable as it is used in other Queries.
    Does this involves creating a new user exit or modifying the existing user exit. If yes then can you please tell me how this can be done.
    Thanks
    Rishi

    Hi Rishi,
    You can follow any one the below procedure for solve your issue.
    1. You can change the variable by removing the check box "Ready to input". But you mentioned that you used that variable in other queries also. So, I am not suggesting this.
    2. You create a new variable same as the existing variable but with out selecting "Ready to Input" check box. Now when the user run the query, that variable will not be seen to the user. Now, we will see the customer exit, you assign new variable value to existing variable, before that you have to write a condition for checking the query name. If you are running the query which have the new variable then assign the variable value to old variable. This will solve your question.
    I hope you understood this procedure. If you have any doubts let me know.
    Regards,
    Patil.

  • Variable issue for Alternate Unit of Measure

    Hello Experts
    I have implemented the soultion for reporting data in Alternate Unit of measure using the "How to..." guide provided at https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b7b2aa90-0201-0010-a480-a755eeb82b6f
    This solution involves creating a variable which prompts the user to enter the required unit of measure.
    However I have a situation where I would like to create variable which is not input-ready and has a fixed value assigned to it without prompting the user. Moreover, I cannot modify the already existing input-ready variable as it is used in other Queries.
    Does this involves creating a new user exit or modifying the existing user exit. If yes then can you please tell me how this can be done.
    Thanks
    Rishi

    Hi Rishi,
    You can follow any one the below procedure for solve your issue.
    1. You can change the variable by removing the check box "Ready to input". But you mentioned that you used that variable in other queries also. So, I am not suggesting this.
    2. You create a new variable same as the existing variable but with out selecting "Ready to Input" check box. Now when the user run the query, that variable will not be seen to the user. Now, we will see the customer exit, you assign new variable value to existing variable, before that you have to write a condition for checking the query name. If you are running the query which have the new variable then assign the variable value to old variable. This will solve your question.
    I hope you understood this procedure. If you have any doubts let me know.
    Regards,
    Patil.

  • ALternate Unit of Measure as a Order unit in PO

    Hi everyone,
    I have a problem while ordering the Quantity in PO with alternate unit which is maintained in MMR. The problem is
    in MMR, I have maintained EA as the UOM and PAC as the Alternate unit of measure.
    while in PO, i am trying to give the 'Order Unit (OUn) as the PAC which is the alternate unit maintained. But it is not accepting and
    again reverting back to EA. i couldnt find out the solution. But some POs for that material is already ordered as PAC unit.
    Could it be problem with the MMR ?
    Regards
    Siva

    HI,
    Go to Inforecord of that material with that vender on that plant.
    Change Inforecord(me12)...here in general data...change the order unit.
    system will give the conversion factor as u defined in material master.
    Hope Help U !
    Regards,
    Pardeep Malik

  • Report Data in Alternate Unit of Measure

    Hi
    We are working on Unit of measure Conversion for this we are following “How To….Report Data in Alternate Units of Measure” document. We did all the steps as mentioned in the document still this is not working. All results are showing zeros with same units of key figure qty like EA, ROl, Boxes and so on. We want to convert this into Cartons and Pallets. My question is is there any thing we need to do which is not mentioned in this white paper.
    For example maintaining Conversion Factor in R/3 side?
    Do we need to add Conversion factor Key figure to Transfer Structure and Info cubes?
    (Which is not mentioned in the white paper) if so which field we need to map this in Transfer Structure?
    We are in Version 3.5
    Thanks
    Naga

    Naga,
    For your first question.....you can "maintain" different units of measure in 0MAT_UNIT, but at one time you can report on only one alternate unit.
    For your second question, I have a feeling that it is the problem with your enhancement to the std SAP code which is mentioned in the How to Paper. After you have done the enhancements did you activate the programs again? If there is somebody with you who is good in ABAP just run this enhancement through him.
    Also just make sure you have followed everystep in that how to document, including the query designer part of it.
    According to the logic of that paper, if the alternate unit is not available, then it is supposed bring back data in base unit, it is not supposed to error out. Check your ehancement piece again.
    Thanks
    Yashu Raj

  • Conversion of alternate unit of measurement

    Hi,
    System will not allow to enter conversions of unit of measurements in decimal points. But is there any configuration or method, we can force system to accept conversions of unit of measurements in decimal points only? (For example 2.5kg = 1pc, base unit of measurement is 'PC' and alternate unit of measurement is 'KG')
    Regards,
    Sattuj

    Hi,
    For the given example of Alternate conversion you can use the following setting :
    2.5 Kg = 1 Pc
    Put the Values as :
    25 Kg = 10 Pc
    With this the objective of Decimal is achieved.
    Please check the following posts for more info :
    [Re: variable order unit]
    [Re: Base Unit of Measure]
    [Re: Issue in unit of measure]
    Hope it helps,
    Best regards
    Amit Bakshi

  • While making changes in alternate Unit of measure CAR it makes changes

    While making changes in alternate Unit of measure CAR it makes changes in other alternate Unit of measure KAR.
    Both are having same ISO unit CT.Please suggest why it is happening.

    your units have probably a conversion rate to the SI unit in its definition.
    you can see this in CUNI, open your unit in detail and look at the lower left  part

  • Mass Maintenance of alternate unit of measures

    Hi,
    I have an issue wherein 2000 materials have been updated with wrong alternate unit of measures.
    I have checked MM17 but it would allow only changes and not deletions.
    Kindly advice,whether there is any other way of deleting AuM.
    Thank you

    Dear.
    Ask your ABAP Team to write BDC or LSMW program.
    This will help you.
    Regards
    Utsav

  • Order qty by alternate unit of measures

    Hi All,
    In casting senario I want to map follwing.
    I have created a material having UOM as "g"  i.e. grams and maintained a conversion factor in alternate unit of measure to convert it to "MM" i.e. milimeters. I have also maintained alternate unit of measure in work scheduling view. Now when I create the order its in MM which is correct but I want to restrict order qty to 500 mm.
    Means if the requirement is generated for say 650 mm length then order qty should be 2 having 500 mm length each.
    How do i do this? Please advise.
    Regards,
    UG

    Dear ,
    You can achieve the same by keeping Fixed Lot Size FX  and keep the quantity as 500 in the same UOM at material master level -MM02. in MRP1
    Or if you want that 500 mm  is your Maximum Order Qty , then you can mention the same in Maximum Lot Size  field in MRP1
    Try and revert back
    Regards
    JH

  • How to report on Alternate Units of measure

    Hi ,
    I am trying to implement the unit conversion ..i have few basic questions..
    1)Do we need to have the 0MAT_UNIT in the cube/ODS
    2)for 0material do i specifically need the base unit of measure as unit for the attribute conversion factor..
    How do i go ahead if my conversion factor has a different unit..
    3)In my scenario i am trying to do unit conversion on a keyfigure which has unit as billing qty in SKU..Do I need to do anything different in this case in order to convert to a diff unit..
    Had changed the code given in the how to do doc..The report gave all the values as zero.
    Pl suggest.
    Appreciate ur inputs.
    Regards,
    G.V

    I am using BW 3.5 .
    Loaded/activated both 0material and omat_unit.
    0MAT_UNIT is not maintained in the ODS/CUBE.
    The keyfigure i am trying to convert to alternate unit of measure is billing qty in SKU which has billing qty in SKU
    as unit to that quantity..
    The user input variable for alternate unit of measure is defined on the unit billing qty in SKU..
    when i debug it is not processing through this loop..
    IF i_step = 0 AND i_vnam = 'YUOMCNVF' AND i_iobjnm = '0MATERIAL'.
    read material and base uom from variables
    LOOP AT i_t_var_range INTO l_s_var.
    CASE l_s_var-iobjnm.
    WHEN '0MATERIAL'. l_material = l_s_var-low.
    WHEN '0BASE_UOM'. l_base_uom = l_s_var-low.
    ENDCASE.
    ENDLOOP.
    Pl advise..

Maybe you are looking for

  • ITunes 11 - a complete catastrophe!

    It's been 6 month since the release of iTunes 11 and I haven't managed yet to work with it. I hate it! What's wrong with iTunes 11? The sorting by Title, Album Interpret, Play Lists or Radio is confusing. Every page has its own Layout and I once I sw

  • Change the default HTML template when saving for web

    Hi, Is there a way to change the default HTML output template when you go to "Save for web" and select "HTML & Images"? I would like to modify the default HTML <head> tag. Thanks.

  • N80 Major Problem

    When I started my N80 yesterday the keypad changed from letters en numbers to some weird symbollanguage.(1=!, 2=", 3=£,...) This means that I can't enter no numbers so I can't use my simcard because I need to enter my PIN-code! I can't make no phone

  • Hi,is  a rtmfp connection can have multiple netgroup or netStream?

    I connect to cirrus only one connection.Then I creat multiple netgroup with this connection.Whether to support? will be conflict between multiple netgroup?or must creat multiple connection?

  • How to read a text file from a Jar file

    Hi How can I read a text file from a Jar file? Thanx in advance..