How to define ranges for a keyfigure

Hi Frnds,
I have two keyfigures for employee experience. One for present company experience and the second for previouse experience. And I have created a calculated keyfigure for calculating the total employee experience by adding the those two keyfigures.
Here I want to design a query using the range values for that calculated keyfiger values. And for that range i want to display count i.e the no. of employees.
for eg:
range   | TotalYrsof exp
<1       |  10
1-2      |  20
3-5      |  30
6-10    |   40
So anybody pls help me in this problem.
Here How can I define ranges for that calculated keyfigure?
Is there any other way to define ranges?
Thanks in advance,
Sridhar

Hi,
Create a Cal.Keyfigure on Total Exp. and use that for another cal keyfigure
Example for  <1
Total Exp <1
for 1-2
Total Exp >=1 AND Total Exp <=2
for 3-5
Total Exp >=3 AND Total Exp <=5
and so on...
Thanks,

Similar Messages

  • How to define variable for value range in Bex Query?

    Hi
    How to define variable for Keyfig. value range on runtime like characteristic in Bex Query?
    Example: On runtime user select one of the following condition:
    1)User want to those records where amount is greater than $1000
    2)User want to those records where amount is greater than $1000 and less than $5000
    3)User want to those records where amount is greater than and equal to $1000

    Hi ,
    Need to Use exceptions & conditions for this scenario's  & need to create variable for exceptions based on condtions.
    Below document provides steps how to make selections at run time for a kfg.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60b33a28-dca2-2d10-f3b2-d2096b460b1e?QuickLink=index&overridelayout=true&48842368468641
    Regards,
    Seshu.P

  • How to define roles for the reports that i have created using WAD?

    Hi all,
    Can anyone let me know how to define roles for the reports generated using WAD. And what is the procedure for creating and defining roles. Is this process take care of Bw consultant nor the basis guys.
    Can anyone let me know the entire procedure about the roles in bw 3.5
    thanxs
    haritha

    Following links might helps you
    create a role
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/bi/authorizationinSAPNWBI&

  • How to define job for V_V2

    Can anybody tell step by step "how to define job for V_V2"?
    Thanks in advance for the answers.....

    BElow there exist a good document:
    http://www.scribd.com/doc/39230554/Background-Job-Scheduling-in-SAP#source:facebook

  • How to define Discounts for Salesman?

    Hi all,
    How to define Discounts for the Salesman in either the Receivables or Order Mgt Module?
    Rgds

    Hi,
    Please try this:
    Define discount account in Financial Options
    In Payable Options > Payment Tab, uncheck the Check box: "Exclude Tax from Discount Calculation"
    In Payable Options > Invoice Tax Tab, check following Check boxes: "Use Automatic Tax Calculation", "Calculation Level Line", "Allow Calculation Level Override".
    In Payable Options > Withholding Tax Tab, check following Check boxes: "Use Withholding Tax", "Allow Manual Withholding", "Include Discount Amount", "At Invoice Validation Time", "Never"
    At supplier site level in Payment Tab, use the Payment Terms as create in step 1:
    Term Date Basis - Invoice,
    Pay Date Basis - Discount, and
    Check the Check Box - Always Take Discount.
    At supplier site level in Invoice Tax Tab, use the Tax code as created in step 2:
    Calculation level - Line,
    Check Allow Calculation Level Override,
    Rounding Rule - Nearest, and
    Uncheck - Distribution Amount Include Tax.
    Thanks,
    Shikha

  • How 2 define alias for WD Component / Application

    Hi all,
    There are methods in IWDDeployableObject to get WD Component / Application (WDDeploableObjectPart) by alias.
    But how to define alias for them? Where should definition be placed and what is the format? Could anyone share working example or point to related documentation?
    VS

    Noufal & Bharathwaj,
    Probably there is a confusion here: HTTP aliases are related only to corresponding service, and affects how URL is composed / interpreted.
    On other hand, aliases I mentioned are related to  deployment service (in this case: lookup deployable object part by alias). By the way, they cover both WD applications and <b>components</b> (probably component interfaces and more).
    Valery Silaev
    EPAM Systems
    http://www.netweaverteam.com/

  • How to select range for dater in BAPI_DOCUMENT_GETLIST2

    Hi All
    I have following problem with this FM BAPI_DOCUMENT_GETLIST2. I was looking a lot on different forums but I cannot find answer which corresponds to my problem.
    I have in DMS saved files for our customer and Iu2019m using object linking as
    Objlinkselection-DOKOB  =  KNA1
    Objlinkselection- OBJKY   = KUNNR.
    It works well, but it takes all doc from beginning.  Iu2019d like to make selection that final table documentdata is in range of defined range date with values 20111201 to 20111231
    Now I have to select all documents for this customer and after that I have to make loop to get correct files. And it takes a huge time and in a few years it will collaps
    LOOP AT LT_DOCUMENTDATA INTO <FS> WHERE CREATEDATE IN  rn_DATE.
    ENDLOOP.
    Any hint how to make this faster? 
    Just to avoid any misunderstandings, I'm not asking on loop speed but how to select by FM less rows based on create date.
    Thank a lot fo any hint
    Petr

    Hello Deepak,
    Thanks a lot for your answer. I have read this thread already, but it is not realy what I need. But anyway in the night I have found solution.
    I will go through table DRAW where I will get just DOCNUMS for current date range.
    Than I will select correct rows from table DRAD for selected KUNNR.
    Final set od DOCNUMS I will use as selection criteria for BAPI.
    It should help, now I go to try it.
    Thansk anyway
    Petr

  • How to define validity for RA key

    Hi
    I want to define validity for RA key. This is available in OKG3 under Edit tab.  However, the functionality of "Define Validity" is inactive.
    How can we activate the same?
    Regards,
    Vijay

    Hi,
    I think Michael is asking how you would define the Filter in the Coherence Console not in Java code.
    In the Console you prefix the method name for the filter with an exclamation mark.
    In your example you see this
    Map (jk):  filter f Equals getUserId 'Master'...when you press enter you see the toString of the Filter...
    EqualsFilter(.getUserId(), Master)Using an exclamation mark you get a Key Filter like this
    Map (jk): filter f Equals !getUserId 'Master'...when you press enter you see the toString of the Filter...
    EqualsFilter(KeyExtractor(extractor=.getUserId()), Master)...which you can see has a KeyExtractor.
    JK

  • How to defining mimetypes for project?

    Which is the way to define mimetypes for a project?

    Stephen,
    Now I know that setting this signal is not possible for this resource.
    But I always thought that the less threads in process are the less CPU consumption is, which means that not all cpu-shares are used?
    So if I have the case that application server has a control loop which
    is responsible for finding the optimal size of thread pool, then it can rely on SIGXRES which indicates that cpu-shares threshold is exeeded and size of thread pool shouldn't be increased.
    Anyway if signals are not supported threre is a possibility to analyze syslog messages which for me is unconfortable.
    I appreciate your help!
    marcin

  • Define range for a parameter with reference to Login USER in selection

    Hello Experts,
    I have a selection screen where in I can enter a customer number (defined as parameter). I need to restrict entries depending up on the user who has loged in.
    Ex: User1 customer number range 1000 to 3000
          User2 customer number range 5000 to 10000
    How to achive that?
    Thanks in advance,
    Sandhya.

    REPORT  ZSRK_064 MESSAGE-ID ZMSG.
    PARAMETERS : P_KUNNR LIKE KNA1-KUNNR.
    DATA : WA_USR01 LIKE USR01,
           L_MSGTXT(100).
    RANGES : R_KUNNR FOR KNA1-KUNNR.
    INITIALIZATION.
      IF SY-UNAME EQ 'SAPUSER'.
        R_KUNNR-SIGN = 'I'.
        R_KUNNR-OPTION = 'BT'.
        R_KUNNR-LOW = '0000001000'.
        R_KUNNR-HIGH = '0000003000'.
        APPEND R_KUNNR.
      ELSEIF SY-UNAME EQ 'KSREDDY'.
        R_KUNNR-SIGN = 'I'.
        R_KUNNR-OPTION = 'BT'.
        R_KUNNR-LOW = '0000005000'.
        R_KUNNR-HIGH = '0000010000'.
        APPEND R_KUNNR.
      ENDIF.
    AT SELECTION-SCREEN ON P_KUNNR.
      IF NOT P_KUNNR IN R_KUNNR.
        CONCATENATE 'Customer No not in range' R_KUNNR-LOW 'and' R_KUNNR-HIGH INTO L_MSGTXT
        SEPARATED BY SPACE.
        MESSAGE E999 WITH L_MSGTXT.
      ENDIF.

  • BMM - Decision criteria on how to define LTS for a multi-source object

    I am curious to know what others use as their decision criteria when determining how to setup a BMM logical table that has multiple sources that map to multiple columns in the logical table.
    For example,
    If you have defined logical table Dim - Customer in the BMM that has 4 fields:
    Dim - Customer
    Customer Id
    Customer Name
    Customer Address
    Customer Phone
    The sources for this logical table from the physical layer are:
    CUSTOMER (all customers exist here)
    CUSTOMER_ADDRESS (A customer may or may not have an address, but can have only one address to simplify this conversation)
    CUSTOMER_PHONE (A customer may or may not have a phone, but can have only one phone to simplify this conversation)
    Field Mappings from Logical Table to Physical Table are:
    Dim - Customer
    Customer Id - CUSTOMER
    Customer Name - CUSTOMER
    Customer Address - CUSTOMER_ADDRESS
    Customer Phone - CUSTOMER_PHONE
    How would you setup the logical table and LTS's for this object in the BMM knowing the following requirements?:
    1. The Address and Phone tables should only be joined in when fields from those tables are used in a report/query.
    2. Since a customer may or may not have an address or phone, the BMM table needs to be setup such that adding those fields into a query will not filter all customers that dont have data for those fields, i.e. display null if it does not exist.
    My initial approach for resolving this would be to set it up as follows:
    A single Logical Table Source: LTS_CUSTOMER
    Three Tables added to the LTS:
    CUSTOMER, CUSTOMER_ADDRESS, CUSTOMER_PHONE
    Two joins defined for the three tables:
    CUSTOMER - CUSTOMER_ADDRESS (LEFT OUTER JOIN)
    CUSTOMER - CUSTOMER_PHONE (LEFT OUTER JOIN)
    Issues/Questions:
    - The problem I have run into is that any query that uses Customer Id or Customer Name still causes a join to the CUSTOMER_ADDRESS and CUSTOMER_PHONE table even though I didn't use a field from those tables. I assume this is because OBIEE things that any query to that Logical Table using that LTS has to query it as the LTS is defined (so all three tables are joined in)
    - Is there a way around this? If so, is it to specify separate LTS tables for the Logical Table Dim - Customer? If you do this, then there is no way to specify a LEFT OUTER JOIN and the query will just default to what is specified in the Physical Layer as an inner join.
    - Curious as to what peoples thoughts are in general for how to decide whether to specifiy multiple sources in a single LTS or just add multiple sources to the Logical Table and the decision criteria for going either way.
    Thanks in advance.
    K
    Edited by: user_K on Jun 3, 2010 11:09 AM
    Edited by: user_K on Jun 3, 2010 11:10 AM

    Thanks a lot for the example, that fixed the problem.
    I've been reading the NSAPI programmers guide several times now and I was under the impression that you should either use <object> or <client>, never thought about this approach. Now when I re-read it is makes sense, but wasn't very clear at first.
    I think I'll e-mail Sun to suggest an addition of the <Object> tag in their <Client> tag example (http://docs.sun.com/source/817-6252/npgobjcn.html#wp1045056) to make things a little more clear.
    Thanks again, now I can finally implement the final configuration settings and plan for the actual switch later this evening.

  • How to define endpoint for SessionBeans webservice in OC4J 10.1.3.1?

    Hi Gurus,
    I am trying to find solution for defining endpoint in HTTP/SOAP webservice created from SessionBeans based on annotations JSR-181. My problem is that I have cluster of J2EE nodes where my webservice is deployed and each node has its own hostname. when I access WSDL file from particular node I see that endpoint definition is pointing directly to its hostname. For example:
    <service name="CreditService">
    <port name="ValidateCreditCardServiceSoapHttp" binding="tns:ValidateCreditCardSoapHttp">
    <soap:address location="http://node1.site.com:7777/CreditService"/>
    </port>
    </service>
    But this is unwanted behavior, because I am loadbalancing my nodes by HW loadbalancer and I'd like to have this endpoint to pointing to my HW loadbalancer. Like this:
    <service name="CreditService">
    <port name="ValidateCreditCardServiceSoapHttp" binding="tns:ValidateCreditCardSoapHttp">
    <soap:address location="http://hwloadbalancer.hostname/CreditService"/>
    </port>
    </service>
    In normal WebService project I could force this endpoint definition in oracle-webservice.xml by adding this tag to it:
    <oracle-webservices xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/oracle-webservices-10_0.xsd">
    <web-site host="hwloadbalancer.hostname" port="80" />
    But it SessionBeans webmethods I can't do it because I don't have oracle-webservice.xml file. I have just this java file where I specified by annotations webmethods:
    package org.soademo.customerservice.business;
    import java.rmi.RemoteException;
    import javax.jws.WebMethod;
    import javax.jws.WebParam;
    import javax.jws.WebService;
    import org.soademo.customerservice.persistence.Customer;
    @WebService(serviceName = "CustomerSvc",
    targetNamespace = "http://www.globalcompany.com/ns/customer")
    public interface CustomerService {
    @WebMethod
    Customer findCustomerById(
    @WebParam(name = "custid",
    targetNamespace = "http://www.globalcompany.com/ns/customer")
    String custid) throws RemoteException;
    @WebMethod
    Customer findCustomerByEmail(
    @WebParam(name = "email",
    targetNamespace = "http://www.globalcompany.com/ns/customer")
    String email,
    @WebParam(name = "password",
    targetNamespace = "http://www.globalcompany.com/ns/customer")
    String password);
    @WebMethod
    String getCustomerStatus(
    @WebParam(name = "CustomerID",
    targetNamespace = "http://www.globalcompany.com/ns/customer")
    String CustomerID);
    @WebMethod
    String addNewCustomer(
    @WebParam(name = "customer",
    targetNamespace = "http://www.globalcompany.com/ns/customer")
    Customer customer);
    Do you have any idea how to do it?
    Any advice is welcomed.
    Thanks
    Peter

    Hello Peter,
    The version of JSR181 (WS Annotations) we have implemented does not provide such feature.
    So Oracle has implemented a proprietary annotation to control the endpoint (context) generation, this is the @Deployment annotation that is documented here
    Regards
    Tugdual Grall

  • How to define routes for freight cost calculation

    Hi,
    in our company we plan to use LE-TRA Transport with Freight costs calculation. To use Transport it is a must to maintain routes in all sales orders/deliveries. Currently we do not use it and now we have the challenge to define routes and later due to freight costs calculation Stages. There are different solutions for routes. In some other companys we have only routes dependent on the Transit duration, but that's all. They don't use stages and they don't use freight cost calculation in SAP.
    As I know routes should describe geographical locations (The way location A till location B). Based on the route we have a defined stage with a distance, shipping type.... That would mean for a company:  They need to analyse all delivery channels with different forwarding agents and so on. Is that possible when the forwarding agent is responsible for scheduling? That means for a company with customer around the world thousands of routes?
    Alternatively it is possible to create stages in the transport documents. Is that more recommendable? It would be nice, when someone could post his experience with that topic.
    Thank you,
    Raphael

    Hi Luis,
    thank you for the response. My problem is not the technical view. I know how to create the routes and what kind of information I need. The problem is to unterstand how this concept can operate in practise in a company with many different customer.
    The following site describes the concept of routes in SAP:
    http://blog.tkreddy.com/2010/09/17/understanding-the-concept-of-routes-le-shp-in-sap-ecc-6-0/
    A company with many delivery plants and customer around the world needs to forward all delivery channels they have to us, A route describes an area and includes stages with location A and B. The stages are assigned to a forwarding agend. Based on that information I can start a freigt cost calculation. The structure of stages and routes also depends on the situation how many different forwarding agents are involved in a delivery process.
    In my opinion it is really a big effort to find a reliable solution for the amount of routes and stages. I am thinking about to use the solution to create the stage manually in the transport document and to use the routes to describe the transit time.
    Raphael

  • How to define selectedRowKeys for a table?

    Hi,
    I have a table defined in jsff page and it is not defined using searchResultsIterator. Instead it is defined using CollectionModel.
    How can I define the selectedRowKeys attribute for this table?
    Table code:
    <af:table value="#{pageFlowScope.PipeProvidesListBean.pipeProvidesCollectionModel}"
    var="row" emptyText="#{inventoryUIBundle.TABLE_EMPTY_TEXT_NO_ROWS_YET}"
    selectionListener="#{pageFlowScope.PipeProvidesListBean.providesPipeSelectionListener}"
    rowBandingInterval="0" id="t1"
    rowSelection="#{pageFlowScope.PipeProvidesListBean.rowSelection}"
    binding="#{pageFlowScope.PipeProvidesListBean.resultsTable}">
    <af:column sortProperty="id" sortable="false" headerText="#{inventoryUIBundle.ID}" id="c5">
    <af:commandLink action="summary" id="cl1" actionListener="#{bindings.openSubTaskForSummary.execute}">
    <af:setActionListener from="#{row.oid}" to="#{objectId}"/>
    <af:outputText value="#{row.id}" id="ot1"/>
    </af:commandLink>
    </af:column>
    <af:column headerText="#{inventoryUIBundle.NAME}" id="c1">
    <af:outputText value="#{row.name}" id="ot5"/>
    </af:column>
    </af:table>
    Thanks
    Ravi

    You can limit the number of rows using a trigger. Below is quick and dirty example that has not been fully tested.
    test@ORCL> create table rowlimit (col1 number);
    Table created.
    Elapsed: 00:00:00.34
    test@ORCL> create or replace trigger limit_rows
      2  before insert
      3  on rowlimit
      4  declare
      5    v_count number;
      6  begin
      7     select count(*)
      8     into v_count
      9     from rowlimit;
    10
    11     if v_count >= 4 then
    12       raise_application_error(-20000, 'Table can have no more then 4 rows');
    13     end if;
    14  end;
    15  /
    Trigger created.
    Elapsed: 00:00:00.09
    test@ORCL> insert into rowlimit values(1);
    1 row created.
    Elapsed: 00:00:00.03
    test@ORCL> insert into rowlimit values(2);
    1 row created.
    Elapsed: 00:00:00.00
    test@ORCL> insert into rowlimit values(3);
    1 row created.
    Elapsed: 00:00:00.00
    test@ORCL> insert into rowlimit values(4);
    1 row created.
    Elapsed: 00:00:00.00
    test@ORCL> insert into rowlimit values(5);
    insert into rowlimit values(5)
    ERROR at line 1:
    ORA-20000: Table can have no more then 4 rows
    ORA-06512: at "TEST.LIMIT_ROWS", line 9
    ORA-04088: error during execution of trigger 'TEST.LIMIT_ROWS'
    Elapsed: 00:00:00.04
    test@ORCL> commit;
    Commit complete.
    Elapsed: 00:00:00.00
    test@ORCL> select count(*) from rowlimit;
      COUNT(*)
             4
    Elapsed: 00:00:00.00
    test@ORCL>

  • How to define range when using oo environment

    Hi all,
    I have a doubt regarding this when using OO:
    DATA: spfli_wa TYPE spfli,
          r_carrid TYPE RANGE OF spfli-carrid,
          r_carrid_line LIKE LINE OF r_carrid.
    Is there a structure I can do "type" for the work-area?
    Thanks in advance,
    Edited by: orgasmics on Sep 9, 2010 9:23 PM

    Hello,
    if you maintain or develop your class in transaction SE24 for example, then you will find a button Local Types in the Icon Bar.
    Click on it and define a Type range.
    E.g.
    TYPES : rnge_bukrs TYPE RANGE OF bukrs.
    TYPES : rnge_line TYPE LINE OF rnge_bukrs.
    That will create a range table type and a structure of the same type.
    You can use these types in any data statements of any method in that class or attribute of your your class or interfaces of your methods.
    Hope that is what you are looking for.
    Cheers

Maybe you are looking for

  • Screen Sharing and MobileMe

    Hi There, I have a problem, I have a MobileMe account, as does my brother who is currently at university in the US, Im working out of an Apple Mac Pro that is going into a BeBox Speedtouch. Typically, when i'm at work i can connect via 'Back to My Ma

  • What's a good External Hard Drive to use with Time Capsule

    I have a MacBook and a 1GB Time Capsule, and until recently used my TC to store and access the music and video files I've purchased from the iTunes store as well as my Time Machine backups. The HD in the TC crashed a few months ago, and necessitated

  • Baseline calculation

    Hi all , I have a table that holds data about dates .. Table : MonthYear 2011/12 2011/01 2010/08 I need to get the baseline of each row as below Baseline 2011/06 2010/07 2010/02 ie Baseline=Monthyear - 6 months Create table mon(monthyear date); I am

  • FC Beta 2 Installation Problemo

    Apparently -- I was a bad boy. Trashed my Flash Catalyst Beta 1 DMG. Since then and now, I jacked up my FC Beta 1 install and now I cannot uninstall FC Beta 1. Therefor, I cannot install FC Beta 2. Help me, help me please.... Is there an available FC

  • Solaris 8 error

    Hi, Does any one know why in solaris 8 (only) ifconfig device0 plumb issue DL_PHYS_ADDR_REQ ?? and do yo know how to avoid that ? Thank you [email protected]