How to derive a column (not key figure)

dear all, i am hoping this is going to be a quick on.
i simply need to derive or change a cell's data or description.
it is not a key figure
it's as if i need to access it via an exit and return the desired value.
for example, if the cell says "A" i want to put in "1", if the cell is "B" a "2". as simple as that.
i am stumped whether i do this via a global variable, replacement path, text variable or what ?
any pointers and examples would be great
thanks
g

this kind of requirement you cannot do via  global variable, replacement path, text variable .
either do it at the backend in field routine.
or
THE BEST option is maintain text for values like A ,B etc.
for the infoobject having value as A. MAINTAIN TEXT AS 1.
similarly for  value as B. MAINTAIN TEXT AS 2.
in query designer switch on text in display portion instead of key.

Similar Messages

  • How to write conversion routine for key figure?

    Our customer has this requirment:
    we need to know the last time of some TV program in BEx report, If a TV program last 500 seconds, we need show the key figure like this:  00:08:20, If a TV program last 100000 seconds, we need show the key figure like 27:46:40 (27 hours and 46 minitues and 27 seconds), If we define a key figure as time,  BW system will report a error that say it is not acceptable time.  If we want to define a integer, but we need display it like hhmmss format.  We know we can write conversion routine for char.  but I don't how to write conversion routine for key figure.   Please give me any hint if any other solutions?
    Edited by: SY DONG on Dec 2, 2010 3:36 AM

    If you want to do in Transformation Layer :
    You can use routine ...break up the seconds into minute hour and seconds
    you will have to handle few cases in this:
    let say your variable lv_seconds holds the number of seconds you want to convert to hour min and seconds
    DATA: lv_seconds type i,
               lv_hrs  type  i,
              lv_sec type i,
              lv_min type i.
    lv_hrs = lv_seconds / 3600
    if lv_hrs >= 1.
    lv_min = (lv_hrs - trunc(lv_hrs))*60
    here again handle seconds if min >60.
    else.
    lv_hrs = '00'.
    lv_min = lv_hrs*60
    It is just hint ..how you can manipulate the seconds to get it...you will have to think about the complete algorithm
    Regards,
    RK

  • How to create Variables for the Key Figures

    Hi All,
    How to create Variables for the Key Figures
    Thanks
    Bhaskar

    Hi,
    It is not possible to create the variables on Key figures directly. But we can create a formula variable with processing type 'User Entry' ,SO that the user entered value can be used in the calculations of the query.
    With rgds,
    Anil Kumar Sharma .P

  • How to create a non-cumulative key figure & How to make a info cube as so

    Hi Experts,
    How to create a non-cumulative key figure & How to make an info cube as non-cumulative cube?
    Can any one kindly provide me the steps we need to performe?
    Thanks in Advance,
    Raj

    Hi Azael,
        In the How to Papers, you will find a Guide on how to take a Sanpshot view of the Stocks(How To Handle Inventory Management Scenarios in BW). Basically if you implement the Guide, you will have another cube called ICSNAP1, which will contain stock quantities /values at the end of each month. You will therefore have to take stock at the end of the last month from that cube and add up the relevant receipts and issues to arrive at the current Stock or Stock as on a particular date.
    Hope this helps!
    Regards
    Sriram

  • How to populate values in DP key figure which is not present in Info Cube

    Hi
    We have a special Key figure in Demand Planning created for uplaoding Forecasts coming directly from customer,
    This key figure is not present in Info Cube and data doesnot pupulate in this key figure through Info cube build,
    Hence data in this key figure is to be loaded externally , Customer sends his forecasts through EDI messages, Now we want to update forecast from external customer in to this  special key figure,
    Please suggest some ways
    Thanks and regards,
    Nitin Lavhe

    Hi
    I think you can get loaded this information in the cube in any other key figure which is available in the info cube. Then while loading the data into planning area using TSCUBE, you can define the key figure assignment.
    In which you define data from which key figure of infocube has to be get loaded into which key figure of planning area. Here you can define the respective key figures.
    Please let us know if it helps you. Please let us know if you require any more information from our side.
    Thanks
    Amol

  • How to add Characteristic text to Key figures in Bex report?

    The result set of a report is like this
                                          Q1             Q2            Q3           Q4
    Payment amount      Payment          2000           4000          1200         1400
                        Recovery         1200           1400           100          200
    Commission          Payment          4000           5000          2000         2000
                        Recovery         2000           2000           100          100
    Total               Payment          1500           1200          5000         4000
                        Recovery          600            200          1000          200
    The first Column Payment amount, Commission and Total are key figures.
    Payment  and recovery are text of a Characteristic Infoobject ( Flag type : X = Payment, # = Recovery ).
    Now the requirement is not to have Characteristic Infobject as Column but to have them as text beside keyfigure.
    LIike this
                                          Q1             Q2            Q3           Q4
    Payment amount (Payment)             2000           4000          1200         1400
    Payment amount (Recovery)            1200           1400           100          200
    Commission (Payment)                 4000           5000          2000         2000
    Commission (Recovery)                2000           2000           100          100
    Total (Payment)                      1500           1200          5000         4000
    Total (Recovery)                      600            200          1000          200
    How to achieve this kind of result?

    Create Restricted Keyfigures to achieve this requirement.
    create 2 RKF for Payment Amount Keyfigure
    Create RKF1 with Payment Amount keyfigure and restrict flag type with "X" and then
    Create RKF2 with Payment Amount keyfigure and restrict flag type with "#".
    And use the RKF's in the query.
    Similarly create two RKF's for each Keyfigure used in the query and restrict it with flag type.
    --- Thanks...

  • How to use a non cumulative key figure in a multi planning area

    Hi
    I'm new to bps, my problem is
    I need to read the last stock quantity and value at plant and material level to do further calculations in a fox formula, so i made a planning area for the cube 0rt_c36 and another for my tc cube where the results should go, then i combine these areas in a multiplanning area.
    problems arise when selecting the key figure in the ratios tab of the multi area, the ratios 0CPTOTSTOBU (last stock) and 0CPTOTSTOPV (last stock purchase value) are not available, only the inflow and outflow ratios are 0CPTOTREBU and 0CPTOTREPV.
    I know when reporting, the actual value for stock is calculated by  bex, namely, there is no data store at database level, so the question is:
    How to obtain last stock for using in bps??
    thank you for any help
    regards
    A. Garduñ

    Hi Azael,
        In the How to Papers, you will find a Guide on how to take a Sanpshot view of the Stocks(How To Handle Inventory Management Scenarios in BW). Basically if you implement the Guide, you will have another cube called ICSNAP1, which will contain stock quantities /values at the end of each month. You will therefore have to take stock at the end of the last month from that cube and add up the relevant receipts and issues to arrive at the current Stock or Stock as on a particular date.
    Hope this helps!
    Regards
    Sriram

  • How to calculate percentage based on key figure maximum value

    Hello everybody!
    I need your expertise on a query 'issue' I'm facing. Let's say I have a query getting me the Number of Open Items per Week (starting from billing document's Issue Date).
    My client wants to be able to see the percentage per week and not the actual number.
    So, what I have is below:
    <b>Wk</b><b>"OI Nr"</b>
    1                                "68.801"
    2                                "66.288"
    3                                "59.344"
    4                                "50.506"
    5                                "20.950"
    And what I want is below (in italics):
    <b>Wk</b><b><i>"OI %"</i></b>
    1                       "<i>100%   </i>"           (i.e. 68.801 / 68.801 * 100)
    2                      "<i> 96,34%  </i>"         (i.e. 66.288 / 68.801 * 100)
    3                      "<i> 86,25%  </i>"         (i.e. 59.344 / 68.801 * 100)
    4                       ......
    5                       ......
    Is it possible to achieve sth like this by altering some key figure properties or in any other way?
    Thanks in advance.

    First u need to create a calculated Key Fig globally. You can do this at the extreme left end of the query Designer. Just right click on the Calculated key Fig and say <b>New Calculated Key Figure</b>
    Give the description of the Key Fig and in the formula section just put the the key fig . <b>'OI Nr'</b> in you case
    When u say ok it will open the properties of the key fig there u can see <b>Enhance>></b> at the bottom. Click on that make the <b>exception aggregation</b> to <b>maximum</b> and <b>refernce characteristic</b> for the one which u are having the values 68.801, 66.288, 59.344, ..
    Save this calculated key fig
    now in the Columns create a <b>new selection</b> under the key fig.
    drag the newly created calculated key fig in this <b>new selection</b> and say ok.
    Now right click on this <b>new selection</b>, go to the <b>Calculated Single Value</b> as drop down and make it <b>Normalize-Sub Totals</b>
    Tick the checkbox  <b>Also Apply to result</b>
    and select <b>Calculate Along Columns</b>.
    Save the query and execute. This should solve youe issue
    Hope this helps.

  • How to add unit to calculated key figures in BEx

    How to add unit to BEx calculated key figures in SAP BW BEx?
    I would like to add a unit to a calculated key figure in SAP BW BEx, so that it gets visible on the end user level. Currently the unit field is empty. I calculated the value from various key figures with different units and removed the units with the NODIM()-function. Is there an inverse function to NODIM() with which you can add a specific unit (like EUR or TAG).
    The "How tou2026 Report Data in Alternate Units of Measure" does not seem to cover the point.
    "Quantity Conversion Guide for SAP Business Intelligence" refers to the "Conversion" tab.
    I suppose you have to add a conversion routine, which is 1:1 and sets the target unit defined in BEx.
    Has anyone tried this? Is there a more simple solution?
    OLAP-Quantity Conversion:
    http://help.sap.com/saphelp_nw70/helpdata/EN/27/b65c42b4e05542e10000000a1550b0/frameset.htm

    Hi,
    if your CKF will have always same unit and you have one KF in you inforpovider with this unit, you can try to do this trick
    create a new hidden CKF as new CKF = KF / KF (with this equale new CKF = 1 unit)
    change your old CKF as old CKF = old CKF * new CKF
    let me know if it works.

  • How to create a variable for key figure (value will be entered by the user

    I want to create one query, where the user has to entered a max value when the query is started, so that only the query rows will be listed, where the key figure value (integer) of the row is smaller than the max value given.
    How can i define that variable which has to start at the begin of the query; and also the restricted key figure iin consideration of the KF variable.
    Thanks for helping
    Ar.

    Hi Arnaud,
                Go to Conditions-> Right click -> New Condition -> Edit -> NEw -> Selct the KEy figures from the dropdown( the KFs that are used in the rows/columns) -> Select Less than from the operator drop down (less than is for you case) -> Values, there is an option to create a variable -> Select the variable -> transfer. It will appear on the top.
    Save & Execute, you will find it in your selction criteria.
    Regards
    Sunil

  • How to redefine the width of key figure through ABAP CLASS

    Hello experts:
         I encounter a problem when using table interface.
         I make a wad with two table(two query).The two queries have same characteristics, but different key figures in row.Now i want to adjust the format to make all the cell aligh. I have realize that when i keep the column header of the tables. But if i hide the second column header of table,  it's failed. I don't know where i can adjust the width of the key figure cell without column header.
    For example: query1: zmodel  qty01
                                          aaa       100
                          query2: zmodel  qty02
                                          bbb        200
    how to make the width of qty01 the same as qty02
    look forward to your answer.

    While populating the value in the cell use the following command.
    c_cell_td_extend = 'style = "width:200px"'.

  • How to check where a apraticulr key figure has currency translations?

    Hi,
    i need to check the currency translations for a key figure!
    where i can find those translations? i mean i am not sure whether this has been wrdefined in update rules or transfer rules!
    how to check this?
    Thanks,
    Ravi

    Hi Sankar,
    i did not find any currency translations in URs nor in TRs nor in report KF properties!
    where else can be possible?
    i guess it is in extract structure? are there any still methods available to define currency translations.
    while running the report it is asking for currency variable in the selection screen!
    but really no idea what does this variable will have the effect on translation!
    any inputs?
    Thanks,
    Ravi

  • How to see all structure and key figures

    HI friends,
    I can not to see in query designer all structure, all calculated and restricted key figure than I have create.
    How can I do??
    Thanks
    bye bye

    May be something wrong with authorisations... Trace it in SU53.
    Or this is one of numerous bugs of BEx. Try relogon...
    Foolish question: Are you sure that you are using the same infoprovider?

  • How do i create a Statistical Key Figure ?

    Hi everybody,
    I want to create a statistical key figure ...
    How can i proceed ?
    Thanks
    Rodolphe.

    As explained - just enter master data straight into your ZInfoobject in BW
    You can use the business content characterisitc for statuistical key figure or define your own
    All you are doign is creatinging a partioning chacracteristic to differntiate your key figure in a restricted key figure
    ie
    create a object called ZTYPE char 2 with master data and text
    create a key figure called ZKF with type number
    enter master data into ZTYPE via maintain master data on ZTYPE
    z01 with text "No of Flights"
    enter master data into ZTYPE via maintain master data on ZTYPE
    z02 with text "no of miles"
    Then design a cube with say
    0fiscperiod
    0comp_code
    0ztype
    and
    zkf as the key figure
    Load a csv file into the cube so we have for example:
    0fiscperiod = 003.2008
    0comp_code = aa01
    0ztype = z01
    zkf = 10
    0fiscperiod = 003.2008
    0comp_code = aa01
    0ztype = z02
    zkf = 5
    The create a query with 2 RKFs - one called "No of Flights" which has zkf and a restriction of 0ztype = z01
    and the other RKF which is called "No of Miles" which has a zkf and a restriction of 0ztype = z02
    The in your rows have fiscal period and co code
    You will then see two columns of No fo Miles and No of Flights
    As mentioned before you can add more 0ztypes without having to extend the columns of your cubes (hence the term partioning characteristics) - the same prinicipal as CCA uses in CO - ith actual and plans
    phew - hope that explains it all

  • How to calculate the value of key figure by considering other char or kf

    Hi
    My requirement is like this:
    I have a key figure which gives me the planned issues and receipts but i know that if only from locaton is blank  and to loc is filled then that are receipts and if both the from and to location values are filled then it is issues,
    can you pls let me know how i 'll put this logic in th reporting bex and how i achieve this by user exit or any other way
    thx
    rubane

    Create two RKF, restrict first with [ from = '#' ] to get the planned receipts, and restrict the second with [ from <> '#' and to <> '#' ] to get the issues.

Maybe you are looking for

  • Error message RunDLL while booting up the Windows 7

    Hello, when i start my laptop i get following error message: RunDLL Problem beim Starten von C:Users \ name of my laptop \ AppData \ Roaming \ shell32C.dll I am afraid maybe this is virus. My anti-virus programm found 2 virus and stored them. Thanks

  • How does one Rewire Reason 4 into Logic Express 7.3?

    I've been trying to help a friend do this over the phone. I used to have Reason 3 and never had a problem with it, but when I have my man boot up Reason 4 after Logic Express, it does not go into slave mode. I don't know why, or how to tell him what

  • Bug 585844 JDBC Thin and Char Fields

    I would like to see this bug fixed because the workaround that I have been using for the past two years is a cluge. I could buy the reasoning listed in the bug database at to why why this bug exists, and why it hasn't been fixed, except that it doesn

  • Subcontracting accounting document

    Hi I created purchase order for subcontracting process, in material master maintained std price and inforecord price 1rs,in po i maintained finished product 1 qty for 1 rs,how its showing accounting document in 2rs debit finished goods and 2 rs credi

  • Problem using passivateStateForUndo when having taskflow requires-transacti

    HI All, i'm trying to use oracle.jbo.server.ApplicationModuleImpl.passivateStateForUndo / activateStateForUndo methods to make and restore some application savepoints. The problem is that, when i try to use these methods from adf bounded taskflow, (p