Reporting in Different Planning Unit of Measures

Dear Gurus,
I have a requirement where in the trasnaction happens at EACH and the users want to view the reports at the planning unit of measure. The different conversion factors for planning unit of measure are maintained as part of the product master. The product master contains the planning UOM as an attribute and the conversion factor as a key figure attribute. As of BW 3.5 i know that the alternate unit of measure is the funcationality which can handle this multiple units of measure functionality. But the white paper says that this functionality is available as a standard functionality in BI7. Can any one help me out in handling this scenario.
Please also guide me as what i need to carry out before i start the actual development on this.
Regards
Vijay

Upon further review I noticed that the Unit dimension is being correctly populated when the value is a monetary amount. For example $100 CAD, the CAD is populated in the Unit dimension for this key figure. The distance measurements (all KM) don't have anything.
The UOM is present in both key figures in the bex query when run in Bex Analyzer.

Similar Messages

  • 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

  • Reporting Data in Alternate Units of Measure

    We have a requirement to report data in base unit of measure and also in pounds and kilograms. I have read the paper "How to Report Data in Alternate Units of Measure".  My problem is that in our R/3 system the conversion from base unit of measure to pounds is maintained, but no conversion from base unit of measure to kilograms is maintained.  In BW, I have 0MAT_UNIT for conversion to pounds but not to kilograms.  For the solution to work, am I correct in thinking that the conversion to kilograms must exist in 0MAT_UNIT?
    Also, the paper states that it is applicable to BW releases 2.0A to 3.1C.  Those of you on BW 3.5 - is there new functionality or a different way of handling reporting in alternate units of measure?
    Thanks for your help,
    Gail Bodner

    Gail,
    Nothing new in 3.5 for UoM conversion. It will still have to be the way described in the How To paper.
    Maintin the conversion in R/3. Also, Pounds to KG is a standard coversion - you can hard code it too. Issue in UoM conversion comes in where you cut across type of uints, i.e. from vol. to weight. Then additional information like density is needed but within the same area, it shouldn't be a problem.
    Cheers
    Aneesh

  • Follow up material with different base unit of measure

    Hi all,
    I have the BOM with material Mat1 as a component. The base unit of measure of Mat1 is KG.
    Is it possible to replace Mat1 with Mat 2 material in MRP once the Mat1 warehouse stock is depleted.
    The base unit of measure of Mat 2 is KGK.
    The required quantity of MAT1 should be recalculated from KG to KGK accordanly unit ratio.
    Please, expain, where does it maintain?
    Thanks,
    Peter

    Hello Peter,
    You can use follow-up setting (set Mat2 as follow-up of Mat1 in MRP 4 view of material master if this follow-up scenario is valid for all BOM) with discontinuation indicator '1', w/o effective-out date. In this case Mat1's stock will run out (no PldOrd, PR, etc) will be created, and from the date, when Mat1's stock runs out, MRP will calculate with Mat2.
    As I told you, according to my best knowledge, you cannot realize this with different base unit of measures. (you have to change the buom of one of the related material masters or create a new material master if you cannot cope with buom-change).
    Follow-up group scenario can also be used but I guess different buoms will be a problem in that case as well.
    Maybe there are better solution but I'm not aware of it...
    BR
    Csaba

  • Reporting data in alternate unit of measure

    hi
    I was going through the document " How to report data in alternate unit of meaure" .
    There they have talked about modification in program LRRSVF20.
    Can anyone tell me what does this include "LRRSVF20" does?
    Regards,
    Moniika

    Hi,
    Please tell me when i create a program "YBW_AUNIT_ENHANCEMENT" UNDER se38 and type: include...
    what code i should write under this program?
    i am pasting the program LRRSVF20 AND please tell me what should i write in program ""YBW_AUNIT_ENHANCEMENT"?
    ***INCLUDE LRRSVF20 .
    *& Form varchavl_atr_get
    form varchavl_atr_get using i_t_sid type rrsi_t_sid
    i_chanm type rsd_iobjnm
    i_th_var_atr type rro01_th_var_lrech
    i_srdate type sy-datum
    i_mostrecent type rsr_mostrecent
    changing c_th_varchavl type rrsv_th_varchavl.
    call method l_r_reader->sid_read_master
    exporting
    i_readatr = rsdm_c_readatr-specified
    i_t_req_atr = l_t_req_atr
    i_date = i_srdate
    i_mostrecent = i_mostrecent
    importing
    e_tx_atr = l_tx_atr
    changing
    c_t_chavlinfo = l_t_chavlinfo
    exceptions
    others = 1.
    if sy-subrc <> 0.
    raise inherited_error.
    endif.
    *{ INSERT
    Enhancement Alternate U.o.M.
    INCLUDE ybw_aunit_enhancement.
    *} INSERT
    PERFORM varchavl_atr_fill USING i_th_var_atr
    l_tx_atr
    CHANGING c_th_varchavl.
    endform. " varchavl_atr_get
    ***INCLUDE YBW_AUNIT_ENHANCEMENT.
    TYPE-POOLS: rrs0.
    DATA:
    l_vnam LIKE rszglobv-vnam,
    l_s_cob_pro TYPE rsd_s_cob_pro,
    l_s_rkb1d TYPE rsr_s_rkb1d,
    l_periv TYPE rro01_s_rkb1f-periv,
    l_t_var_range TYPE rrs0_t_var_range,
    l_s_var_range TYPE rrs0_s_var_range,
    l_t_range TYPE rsr_t_rangesid,
    l_s_range TYPE rsr_s_rangesid,
    l_unit LIKE rszglobv-meeht,
    l_currency LIKE rszglobv-waers.
    FIELD-SYMBOLS:
    <l_sx_atr> TYPE rsdm_sx_atr,
    <l_s_var> TYPE rro01_s_var_lrech,
    <l_s_atr> TYPE rsdm_s_atr,
    <l_s_atr_cu> TYPE rsdm_s_atr.
    Loop over all characteristic values
    LOOP AT l_tx_atr ASSIGNING <l_sx_atr>.
    Loop over all variables to be replaced by attributes
    LOOP AT i_th_var_atr ASSIGNING <l_s_var>.
    Fill additional information into pseudo variables
    REFRESH l_t_var_range.
    InfoObject (i.e. characteristic)
    CLEAR l_s_var_range.
    l_s_var_range-sign = 'I'.
    l_s_var_range-opt = 'EQ'.
    l_s_var_range-vnam = '1CHANM'.
    l_s_var_range-iobjnm = i_chanm.
    l_s_var_range-low = <l_sx_atr>-chavl.
    APPEND l_s_var_range TO l_t_var_range.
    Attribute
    READ TABLE <l_sx_atr>-t_atr ASSIGNING <l_s_atr>
    WITH KEY attrinm = <l_s_var>-attrinm.
    IF sy-subrc <> 0.
    RAISE x_message.
    ENDIF.
    CLEAR l_s_var_range.
    l_s_var_range-sign = 'I'.
    l_s_var_range-opt = 'EQ'.
    l_s_var_range-vnam = '1ATTRINM'.
    l_s_var_range-iobjnm = <l_s_atr>-attrinm.
    l_s_var_range-low = <l_s_atr>-attrivl.
    APPEND l_s_var_range TO l_t_var_range.
    Unit of measure (only for amounts and quantities)
    IF ( <l_s_var>-mwkz = 'M' OR <l_s_var>-mwkz = 'Q' ) AND
    ( <l_s_var>-fixcudim IS INITIAL ).
    CLEAR l_s_var_range.
    l_s_var_range-sign = 'I'.
    l_s_var_range-opt = 'EQ'.
    l_s_var_range-vnam = '1CUNM'.
    READ TABLE <l_sx_atr>-t_atr ASSIGNING <l_s_atr_cu>
    WITH KEY attrinm = <l_s_var>-cunm.
    IF sy-subrc = 0.
    l_s_var_range-iobjnm = <l_s_atr_cu>-attrinm.
    l_s_var_range-low = <l_s_atr_cu>-attrivl.
    APPEND l_s_var_range TO l_t_var_range.
    ENDIF.
    ENDIF.
    Key date of query
    CLEAR l_s_var_range.
    l_s_var_range-sign = 'I'.
    l_s_var_range-opt = 'EQ'.
    l_s_var_range-vnam = '1DATE'.
    l_s_var_range-iobjnm = '0DATE'.
    l_s_var_range-low = i_srdate.
    APPEND l_s_var_range TO l_t_var_range.
    InfoObject properties
    CALL FUNCTION 'RSD_COB_PRO_GET_ALWAYS'
    EXPORTING
    i_iobjnm = i_chanm
    IMPORTING
    e_s_cob_pro = l_s_cob_pro
    EXCEPTIONS
    infocube_not_found = 1
    error_reading_infocatalog = 2
    iobjnm_not_found = 3
    illegal_input = 4
    OTHERS = 5.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    l_vnam = <l_s_atr>-attrinm.
    Call variable exit to get virtual attribute
    CALL FUNCTION 'EXIT_SAPLRRS0_001'
    EXPORTING
    i_vnam = l_vnam
    i_vartyp = rrkg_c_vartyp-formula
    i_iobjnm = i_chanm
    i_s_cob_pro = l_s_cob_pro
    i_s_rkb1d = l_s_rkb1d
    i_periv = l_periv
    i_t_var_range = l_t_var_range
    IMPORTING
    e_t_range = l_t_range
    e_meeht = l_unit
    e_waers = l_currency
    EXCEPTIONS
    OTHERS = 1.
    IF sy-subrc = 0.
    READ TABLE l_t_range INTO l_s_range INDEX 1.
    IF sy-subrc = 0.
    Attribute value
    <l_s_atr>-attrivl = l_s_range-low.
    Attribute unit of measure (only for amounts and quantities)
    IF <l_s_var>-mwkz = 'M' AND <l_s_var>-fixcudim IS INITIAL.
    <l_s_atr_cu>-attrivl = l_unit.
    ELSEIF <l_s_var>-mwkz = 'W' AND <l_s_var>-fixcudim IS INITIAL.
    <l_s_atr_cu>-attrivl = l_currency.
    ENDIF.
    ENDIF.
    ENDIF.
    ENDLOOP. " variables for attributes
    ENDLOOP. " characteristic values
    Thanks,
    Vijaya.

  • COPA reports - Quantity in alternative Unit of Measure

    Hi all
       My clients requirement is to dispaly quantities in both base UoM and alternative UoM in COPA reports. Alternative unit of measure and the conversion factor is maintained in the additional data of material master. After reading through several forums and documentation, i understand that this can be achieved using COPA enhancement COPA0005.
    I am thinking of creating new value field to store the quantity in alternative UoM and to calculate the required quantity using the conversion factors in MARM table.
    But I have a few questions regading the same.
    1. There are 2 function modules EXIT_SAPLKEII_001 and EXIT_SAPLKEII_002. Which one should i be using for my purpose?
    2. Should enchanement COPA0003 be actived first to make COPA0005 active?
    3. Is any other configuration required apart from created in new value field for quantity in alternative UoM.
    Thanks
    Vamsi
    Edited by: VamsiM on Mar 17, 2011 7:21 PM

    Thanks Ajay for ur reply.
    When I created the quantity value field (say VVXXX), added it to Op. Concern and regenerated the structure; the system itself created the quantity unit field  VVXXX_ME for alt UoM. This field is also added to field catalougue and is also readily avialable for used in KE30. So I didn't have to create a new Characteristic.
    In my case, the alternative UoM is not the same and depends on the material.

  • XML PO PRINT REPORT for different Operating Units

    Hi all,
    We are stuck at a point, hope someone helps us out.
    Requirement : We need to generate PO print report in pdf format for US and Mexico , both having different layout.
    Things done : We customized standard PO Print report to fetch XML output from it, and attached rtf(developed) to it.
    Things working fine : For US , report is perfectly fine and looks good.
    Issue : We need to generate for Mexico as well with different format.
    We have value in xml tags which can distinguish between US and Mexico OU's and we can simple use if else condition in the template itself .
    Here limitation is we have made MS word header as the PO header so we are not able to create different header for Mexico in the same rtf.
    We dont want to complicate the rtf much with more loops by removing it from Header and then page break and all.
    Can someone suggest something like use one rtf which handles both the format OR two different rtf registered for same concurrent program and which are called on the base OU.
    We are totally fine if we can do something while registering to Apps.
    Please let me know if any one wants more information.
    Hoping for a positive reply.
    Thanks in advance.

    Hi Vishal,
    Assuming you are using R12+, you can have seperate templates used for differrent OUs. In the PO Approval workflow it shall pick the respective template.
    During submission of concurrent program "PO Output for Communication", you can specify the right template in the input parameters.
    Regards,
    G V Ranjith

  • Report / inquires showing dual unit of measures

    Hi
    A material is maintained in Kg and drums (i.e. a drum contains 100Kg of material)
    Please mention T Codes of inquires / reports where I can see stock of material in both UoM at a glance.

    hiiii
    I have checked in our standars system
    I hope only possible way to see in standard system is MMBE.
    Its possible to create a custom report on Stock display with different UOM.
    Dicsuss with ur ABAPer iss very see to create with help of technical consultant.
    Hope this wil help to proceed further.
    If u need still more clarity, revert ..
    Thanks
    SAP-MM

  • Standard Report for base Unit of measure & alternative unit

    Hi experts
    Please give me standard reports for viewing base Unit of measure & alternative unit for a material code.
    Regards
    sandeep

    Dear Mr Sabine
    I observed that you have closed lots of thread without a proper solution. How can you do that? Or what propel you to close the thread? The closure should be done by the person who have created the thread. Till he/she gets a proper reply or the problem is resolved why to close. It may take some time, some days also. Delay reply should not be the reason for closure.
    So please avoid from closing unilaterally.

  • Alternate Unit of Measure with several Qty KF's

    Case is as follows:
    3 different plain KFs related to qty. Sales volume, net weight anddelivery qty.
    All need to be dispalyed in the same report. All have different base unit of measure.
    I have only one variable [YTAUNIT) for entering required unit.
    Now if I enter all KFs using this same YTAUNIT variable for them each separately I get error message on the query that this is not permitted.
    How should I change the structure ?
    - add new variable for each KF ? (YTAUNIT1, YTAUNIT2, .....) -> do I need to change any of the ABAP codes? is there a link only picking YTAUNIT ?
    Please can You give me an example (detailed) how to proceed ?
    Thanks in advance
    Petri

    Hi,
    I have worked on single variable But from the understanding of working I feel you need to create three diff variable (input var) YTAUNIT1, YTAUNIT2 ect Because they are on same base unit of measure with different units of measures. And you will have to take corresponding variable for every key figure in the calculated KF.
    Just try with different variables.
    Assign points if it helps.
    Regards,
    Wrushali

  • Error of Unit of Measure in Invoice Parking

    Hi ,
    I am trying the invoice parking from a vendor portal by using BAPI_INCOMINGINVOICE_PARK ... we have created ZPTP_INVOICE_PARK function module for it ... now I have an issue that when I am paassing the following fields
    in FM
    LIFNR : 107411
    Header table entries
    Doc_date : 01.06.2011
    Gr_date : 01.06.2011
    Com : 1500
    Curre : INR
    Gross amt : 46676.22
    Vendor Inv : keep blank
    DO : keep blank
    Vendor Inv Amnt : 46676.22
    Input Table IT_INV_Table
    EBELN     1540027236
    EBELP     00020
    MBLNR     5000781648
    MJAH     2011
    ZEIL     0001
    MW     01
    ITM_AMT     46676.22
    WAERS     10
    PO_QTY     50
    MENGE : 50
    MEINS : EA
    Now,I am getting an error that "Unit of measure SET differs from unit of measure EA in order item 1540027326 00020" where my 00020 item no. is having UOM as EA and item no. 10 is having UOM as SET(and it is a deleted line item ).
    My question is why it is saying unit diffres as even in FM I am giving the right UOM i.e. EA
    While SET is a unit of first line item which is deleted.

    Thanks for the response.
    But the Unit is not fixed for D. there are number of transaction takes place and accordingly the units are. That is why I can not hard code it.
    Plz advice.

  • 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.

  • MMBE-i want display (1 box = 10 pc) in unit of measure

    Dear All,
    In MMBE t-code if we execute it,stock overview we can c as a report output.Displays Base unit of measure as(PC,EA....) here i want display (1 box = 10 pc) Which we ll give it while creating a material in mm01-purchasing.
    There is no exits for this t-code so is there any options that functional people can enable to view it in output or any developments to do here.
    Or in any other T-code we can display it.
    <removed_by_moderator>
    Edited by: Julius Bussche on Jul 28, 2008 10:29 AM

    hi,
    ask your mm consultant.....he needs to configure...

  • How to hide/suppress unit of measure for  values of columns in structure

    hi,
    hi i am using following in rows and columns.
    Rows:
    1. material group
    2. structure (key figures)
         key figure 1
         key figure 2
         key figure 3
    3. base unit of measure
    Columns:
    1. structure (time scale)
        fiscal period 1
        fiscal period 2
        fiscal period 3
        fiscal period 4
    If I run the report I am getting unit of measure for each key figure in each fiscal period. I wan to show unit of measure only once in a base unit of measure (row).
    I want to suppress / hide unit of measure in columns (time scale - fiscal period). If I wasn't using strcture, I could have used NODIM in formula. But I dont think that I can use NODIM in strctuere.
    Is there any alternative.
    pls suggest. Thanks.

    It seems that i have found the answer. I have checked the query properties --> check the option - Display scaling factors for key figures.
    Pls let me know if  you have any other alternatives. Thanks.

Maybe you are looking for