BEx Output in Kilograms or US Pounds

Hello,
All of the quantity data in our cube is in Kilograms, is there a way to allow the user to select Kilograms or US Pounds for quantities?  The difficult part is the units associated with the quantity should appear in Excel as KG when the user selects KG, and LB (pounds) when the user selects pounds.
The paper "How to Report Data in Alternate Units of Measure" is much more extensive than we would like, it is inefficient (a select for each distinct 0MATERIAL), requires a change to SAP standard function module, and requires maintenance of all material units in pounds.  We were hoping for a simpler solution.
Thanks for your input!

Hi Larry,
You can use the approach that you mentioned in your post but I am not sure how to pass variable   Units ( KG or LB)   for the quantity in the cutomer exit.
In my approach  the result is always with  correct units.
You are using text varible for selecting KG or LB .
As mentoned in my earlier reply you have to create two CKFs(global).
1.  Quantity LB   =  NODIM(Qty KG  ) * 2.2046 LB (  2.2046  is a formula variable with units LB)
2.  Create a text variable user input mandatory for entering KG  or LB.  lets say " TEXTKGLB"  
3. Create a cust exit variable   say  "READKGLB"   to read TEXT variable "TEXTKGLB"  and will pass a value 1  for KG and 2 for LB
4,  Create 2nd CKF -   Description   Quantity &TEXTKGLB& and use following formula.  (READKGLB==1)* Qty KG  + ( READKGLB ==2) * Quantity LB .
In the query you  have to use the CKF Quantity &TEXTKGLB&  . This will display the desired result with correct units.
Jaya

Similar Messages

  • BEx output issue

    Hi All,
    I have 2 fields in the rows of my BEx query designer, when you run the report both of those fields data show in single column of BEx output.
    Ideally those two fields show  in different columns instead of single.
    Please review the attached and let me know if any resolution to fix this?
    thanks in advance,
    vinay

    Hi Suman,
    I was wondering where do we see the "Display as hierarchy" setting for the KF structure, i remember we can see the hierarchy settings for characteristics not sure how for KF structure.
    May be am missing something here, though currently i dont have system in front of me .
    If its ok, could you please take a minute and show  me exactly where i can see that option. A screen shot would be of great help.
    thank you..

  • Master Data in BEX Output with no Transaction Data?

    Is there a way I can show in my BEX output master data even if no transaction data ever existed for it?
    We have accounts in ECCS that have never had any transaction data, but our accountants want that to show up in our BEX output.
    We have tried setting the properties of the query to show all zero values, but since this never got a SID for the cube, it will not even show up then.
    Any suggestions?

    Hi Brent,
    Please take a look at the following:
    http://help.sap.com/saphelp_nw04/helpdata/en/3a/d1603d13b5c72ee10000000a114084/content.htm
    It talks about a multiprovider including the cube and InfoObject "to display characteristic values for which no transaction data or only low values exist.."
    Hope this helps...

  • Any hints of how to exclude these lines from the following BEx output?

    Hi,
    I have a BEx report which outputs the following shipment activities, showing Doc and Items numbers, Requested and Received dates, actual and PO quantities.
    DocNoItmNoReqDate-RcvdDate-PO_Qty-Act_Qty---TB%
    1101-----5--12/10/05-12/5/05020--
    80
    1101-----5--12/10/05#00--80
    1101-----5--12/10/05#200--
    80
    1101-----7--12/10/05-12/5/05030--
    50
    1101-----7--12/10/05-12/8/0505--
    50
    1101-----7--12/10/05#00--50
    1101-----7--12/10/05#350--
    50
    Somehow, I am getting some activity lines which I do not understand but do not want in the output. Those are the lines which show u201CPO_Qty = 0 AND Act_Qty = 0 at the same time.u201D i.e. the highlighted lines.
    Any hint on how to eliminate the highlighted lines from the output?
    I played with calculated key figures but could not reason it out.
    Thanks

    DocNoItmNoReqDate-RcvdDate-PO_Qty-Act_Qty---  Formula                        TB%                                                                               
    PO QTY + ACT QTY
    1101-----5--12/10/05-12/5/05020-----               20                        -
    80
    1101-----5--12/10/05#00--                 0                         -80
    1101-----5--12/10/05#200-----                  20                     -
    80
    1101-----7--12/10/05-12/5/05030-----                30                      -
    50
    1101-----7--12/10/05-12/8/0505--
                    5                         -
    50
    1101-----7--12/10/05#00-----                  0                         -50
    1101-----7--12/10/05#350-----                 35                        -
    50
    Create Conditions over the Formula. Since the sum would be always 0 only when both the KF's are zero I think you can create condition over this formula.
    Would this help?
    Regards
    VJ

  • Date format in Bex Output should be changed while using with Text Variable

    I am using a Bex Query where have defined a Text Variable with replacement path. So whatever Date user enters in the selection screen variable (Input Variable) the same date appears in the report description.
    For Ex: If user enters 30.04.2012 in Char Variable/Input Variable before executing the report, so once he executes the report the same date appears on report description like "ABC Analysis as on 20120430". Is also changes the report description whenever user changes the date in selection screen variable.
    My requirement is......Date format should be come as 30.04.2012 (DD.MM.YYYY) instead of 20120430 (YYYYMMDD) in report description.
    Guys could you please help me out to achieve the desired output.
    Rgds,
    Ritu

    Please check if you have selected Replace with Key in that text variable.
    Instead of that select External characteristic value key.
    This should help you in giving the desired output.
    Regards,
    AL

  • Delimited Org Unit(having end date Current date) are not coming in Bex output.

    HI All ,
    I have problem with BEx query output while using the Org. Unit Time dependent Hierarchy structure. In ECC side some of the Org. Unit nodes were delimited or their end date set to less than current date. Now this hierarchy is loaded to BW on daily basis those Org. Unit also laoded to BW hierarchy and these nodesare not coming up in our query output. Client wants to see these unit data as it important to him.
    Please suggest  .
    Thanks,
    Arvind Venai

    Hi Arvind,
    As per my understanding, the valid to/end date for Hierarchy should be 31.12.9999. May I know what is Valid To in your case?
    Did yo u check the change happend in ECC for hierarchy is reflecting in BW ?
    There mught be some restriction in BEx Query , please check

  • Line items to be clubbed and shown as single record in BEX output

    Hi All
    I needed help in BEX
    The late days are calculated on basis of clearing date , due date which is not shown in output
    Currently I have output as
    Plant  Customer   Amount  Late Days
    A         C1            100          20
    A         C1            200          30
    B         C2            100          15
    B         C2            150          10
    Need output as
    Plant  Customer   Amount  Late Days
    A          C1            300           50
    B          C2            250           25
    Regards
    Ak

    I have posting date which user enters on selection screen.
    Now this posting date I need to compare with clearing date
    and if clearing date is NULL or greater than posting date
    it should display the records.
    I have created 2 variables ZPOST_SO ( user entry)  ZCLARDAT ( customer exit)
    I have written exit but there is a bug in it.
    Please advice what changes need to be done to the code or any other approach
    Data: l_s_var_range3 Type RRS0_s_VAR_RANGE,
    l_s_var_range2 type RRS0_s_VAR_RANGE,
    postingdate Type /BI0/OIPSTNG_DATE,
    clearingdate Type /BI0/OICLEAR_DATE.
    CASE i_vnam.
      WHEN 'postingdate'.
        IF I_STEP = 2.
    READ TABLE I_t_var_range INTO l_s_var_range3 WITH KEY VNAM = ‘ZPOST_SO’.
    READ TABLE I_t_var_range INTO l_s_var_range2 WITH KEY VNAM = ‘ZCLARDAT’.
          postingdate = l_s_var_range3-low.
          clearingdate = l_s_var_range2-low.
          If clearingdate >= postingdate or clearingdate is INITIAL.
            l_s_range-sign = 'I'.
            l_s_range-opt = 'EQ'.
            l_s_range-low = clearingdate.
          ENDIF.
          APPEND l_s_range TO e_t_range.
        ENDIF.
    ENDCASE.
    Regards
    Amit

  • Date formula variable in BEx output

    Dear All,
    In Bex , I made a formula variable F_CURDATE and used it in formula. I fill it with current date
    l_s_range-low = sy-datum.
    My value in BEx comes 201,40,604. This is 04 Jun 2014.
    Why isn't it coming in date format. I then, used data function [date]'process value as date. The output shows value X.
    How can I show  date in date format in BEx?
    Regards,
    cleo

    Hi Cleo,
    The bit l_s_range-low = sy-datum must be coming from the customer exit code, right?
    And should this code not be used for populating a cust exit variable? How do you populate sy-datum to a formula variable in the query? Pls correct me if i m missing something in your question.
    However if it is a formula variable on 0CALDAY, there are standard SAP variables giving current date.
    Can you not use them in your query as per your requirement?
    Regards,
    Srilakshmi B

  • Setting cell format in BW BEX output

    HI ,
    Can we control the FORMAT of the cell output in BEX query?
    Example, i run Sales Query in BEX , and its displayed in excel format. Can we make sure the value displayed ,.eg Orders and Values are of 'NUMBER' format? This will help us to do any other manual changes to the column to NUMBER format instead of text.
    Appreciate input from anyone...
    Thank you.
    Regards,
    Maili

    hi Maili,
    While creating formula variable it will have different tabs in the pop up, please set the below settings in different tabs:
    General Tab:
    Processing by: Replacement path
    Reference Char: Sales order
    Replacement path tab:
    Replace variable with: Infoobject
    Replace with: Key
    Curreny/Unit tab:
    Dimension: Number
    The above formula variable will return the value of Sales order as number, use this in formula or CKF.
    The numbers in SAP are by default shown with , or . depending upon the user setting.
    The number 10000 will either be shown 10,000 or 10.000 in the bex report as per the user setting in tcode SU01.
    If you are using . for showing decimals in the number then , will be used after 3 digits i.e. 10,000.00 and if you are using , as decimal notation then it shows as 10.000,00.
    regards,
    Arvind.

  • BEx output layout

    Hello everyone!
    I have a BEx query (BI 7) in which I'm displayin a key figure in regard to two characteristics:
    Number
    Number
    Value
    Value
    January
    February
    January
    February
    10000
    500
    300
    400
    I want it to appear as follows:   
    Number
    Value
    January
    February
    January
    February
    10000
    500
    300
    400
    How can I do this? In Query Designer, in the preview area, the layout appears as I want, but not in the actual query output.
    It's not a SAP GUI problem, as I have installed the latest version.
    Best Regards,
    Luís Andrade.

    Thank you for your response!
    But that will eliminate the headear altogether. I want the headers to appear once for each set of months (January, February,...)
    Best Regards,
    Luís Andrade.

  • Bex output format

    hi all,
    i have got  liquidity item char.(in a structure) for which i need to find the amount k.f.  related to 3 different cubes. All the cubes are having the same kf amount. the user wants to find  out what is the amnt for each cubes. so, i have 3 restricted kf each restrcited with each infoprov.when i excute the query in BEX analyzer, the values are displayed in this fashion. i am using a multiprovider over 3 cubes.
                                     cube 1        cube 2   cube 3
                fiscyr/period        002/ 09                                          003/09
    cash                          1000                                                    2000
                                                       2000                                                  3000
    the k.f for the same liquidity item for the same period are getting displayed in two different rows. Whereas they want in the same row like this:
                       cube 1                   cube 2
    cash           1000                  2000                                       2000         30000.
    so how do it in bex analyzer? give me in details how to go about?
    Edited by: jumboash on Jun 22, 2009 3:06 PM

    thank u danny.
    sorry for  repeating the same stuff.
    This is how the query is defined:
                                                                    columns:
                                                                         fiscaly year/period
                                                                         kefig
                                                                            amt
                                                                            amt2
                                                                           ckf1(abs(amt- amt2)
                                                                            ckf1(variance)
                                                                                    rows**
    Structrue:lqitems
                  Receipts(f) =
                  ss  lfund(structure)
                    SS Ffund(structure)                                                 NEED SPACE
              Disbursements(f) =
                 SS   Maintenance(structure)
                  SS     payroll (structure)
      ss  -  space. just to display like hiearchy.hope u got it.
    Receipts = lfund + fund. similarly for disbursemnts.say receipts  for amt = A(lpfund + ffunD) and amt2 = B((lpfund + ffunD)
    ,lfund for amt =C,am2 = Dand ckf1 = E=C -D then and
    ,ffund for amt =F,am2 = Gand ckf1 = H=C -D
    Now, as per ur suggestion when i click for the ck1>properties>advance : i dont get  calculate from previous result?
    so,  in the ckf1, i am getting for lfund, ffund, maitenance,payroll  the aboslute difference and for receipts and disbursements i shud be getting the  A - B, however i am getting E-H?so how to achive A_B only for receipts and disbursmets?
    so if at all  i am able to change Ckf1, the values for lpfund,fund,maintenance will get affected.
    2. I had asked ur help for carrying fwd. the closing balance to next month inthe same report ?
    3. in the columns, i have typed need space. how to insert space in the lqitem structure.?
    i tried to create a formula where the value = 0 and in the query properites suppress zero  value = active all and then in the structure properites i tried both by checking and  unchecking only apply  when all elements are 0.
    so, how to insert spaces?
    4. I
    plz. help me out.
    Edited by: jumboash on Jul 2, 2009 3:56 PM
    Edited by: jumboash on Jul 2, 2009 4:05 PM

  • BEx output issue - simple one

    Hi Gurus,
    I copied a query 'A_query1' to another query 'B_query2',.
    A-query1 shows the output as :
    ProfitCenter     CompanyCode
    123                     201
    123                     201
    Not assigned     201
    Not assigned     201
    Not assigned     201
    Not assigned     201
    Not assigned     201
    Not assigned     201
    and When I execute B_query2, the output is looking like,
    ProfitCenter     CompanyCode
    123                     201
    Not assigned     201
    User wants to display 123 to the next row also, and Not assigned should come in all the fields like in A_query1.
    Please let me know how to procede further. This may be small thing, but I dont know how to make this setting.
    Thanks in advance
    Ananya
    ABA
    ABA
    Not assigned
    Not assigned
    Not assigned
    Not assigned
    Not assigned
    But when I execute B-query2, I am getting the following output:
    Companycode
    ABA
    Not assigned

    Hi Ananya,
    If you are sure that the values are in the cube.. Can you please check if the setting 'Suppress repeated key values' is checked? You can see this in the properties. If so, kindly uncheck this setting and refresh the query.
    Hope this helps,
    Juice

  • BEx Output - Export to Excel

    Hi,
    When I am trying to export the BEx report (Through Web) to XL file by using the option - Right click / Enhanced Menu / Export to excel, I am getting the prompt to save / open the file.
    The moment, I select either save or open, my existing window gets closed automatically. This is happening only on one particular PC.
    Is there any settings to do with the PC, to avoid this type of problem. Please help.
    Thanks & Regards
    Ramesh Ganji

    Hi,
    This can happen sometimes when your excel is not installed properly.
    Please check this.
    Hope this helps
    Assign points if useful
    Regards,
    venkat

  • How to remove pound values (#) in bex and need to replace with Blank

    Hello Everyone,
    In Business Explorer Query Designer ,If the data of an infoobject is initial, it will display as  pound(#)  in reports.I want to remove the pound(#) symbol as BLANK , what can i do ? Can anyone help me ?
    Regards,
    John

    Hello Sunny,
    You can refer to the below blog which i had written for a similar requirement .
    Remove '#' for characteristics in BEx output and display it as blank
    Let me know if you face any difficulties in any of the steps mentioned in the blog.
    Regards,
    Ashutosh Singh

  • BI Bex Excel output Question

    I am using a default workbook setings for running my Bex queries in BI new Analyzer. I see that it comes with 3 tabs (or shall I call buttons) Graph/ Filter/ Information. Now I want to add a similar tab/button that will display all the static filters/ variables used and I am not sure how to proceed.
    What I am trying to achieve is create a new button and when I click on it should expand to show me all the variables and statis filters used...and when I click back on it should close. Can soomeone give the procedure for this..

    I am using the SAP Standard template which has got 3 VB buttons in the Bex output Excel 1. Chart 2. Filter & 3.Information.  Now what I am trying to do is to add the Variables (Display Static Filters) as another Text element in the Information tab...so that when they click on the information tab it will show all the variable used...What is happening is that when I add the static filters it is overlapping with the Table (Analysis Grid). Seems like I will have to write a VB Code to auto adjust the rows so that they dont overlap and I am having difficuty in achieving this. Can someone share the code needed to get this done. I went into the Tools -> Macro-> Visual Basic Editor and saw that the module1 is where we make the adjustments but not quiet sure where to exactly change the code......Can someone share their code or what to adjust please?

Maybe you are looking for

  • Time labels in Week View

    I just upgraded to Leopard and have a question about the iCal display in Week View. In prior iCal versions, there was a left-hand column showing the time represented by each horizontal line (e.g., 8 AM, 9 AM, etc.). Now, I only see "Noon"; the other

  • ITunes 11.0.1.12 in Windows 7 Pro stops working if I go to iTunes Store

    iTunes will play music & videos OK, but if I go to the iTunes store, I get an "iTunes has stopped working" message, and I have to close the program. No other information is provided. This is a new problem.  I have been using iTunes with no problems u

  • Anyone has the basic intro of FI terms explaination in SD?

    Hi Team, Is there any one has the basic intro for FI terms in SD? Coz i really quite not understand those FI terms like G/L account/Accout group/revenue account determination..etc. And what kind of deep relation between FI and SD. Thank you!!

  • Some general questions about java

    Hi, I am a beginner with java and actually i am new to programming as such. i want to ask certain questions. I read in The Java Tutorial that java is both a 'compiled' and an 'interpreted' language while most languages fall in either one of the two c

  • Finding iphoto-library for import into aperture

    aperture does not find my iphoto-library for import! I have installed aperture and when I want to import my iphoto-library, the pulldown menu does not give me the option to click on "iphoto library", though it is in the pcts-Folder. It gives me all t