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

Similar Messages

  • How shall we do validation for Unique Key and Multiple Primary Key?

    Hi,
    I have table created From EO in which one column is checked as Unique.
    How to do validation for column checked as Unique.
    I know how to do validation for column checked as primary key.
    Below is sample code for primary key validation
    if (getRvSize() != null)
    throw new OAAttrValException(OAException.TYP_ENTITY_OBJECT,
    getEntityDef().getFullName(), // EO name
    getPrimaryKey(), // EO PK
    "RvSize", // Attribute Name
    value, // Attribute value
    "AK", // Message product short name
    "FWK_TBX_T_EMP_ID_NO_UPDATE"); // Message name
    if (value != null)
    OADBTransaction transaction = getOADBTransaction();
    Object[] rvKey = {value};
    EntityDefImpl rvDefinition = xxczVAGCSRVSizingEOImpl.getDefinitionObject();
    xxczVAGCSRVSizingEOImpl rv =
    (xxczVAGCSRVSizingEOImpl)rvDefinition.findByPrimaryKey(transaction, new Key(rvKey));
    if (rv != null)
    throw new OAAttrValException(OAException.TYP_ENTITY_OBJECT,
    getEntityDef().getFullName(), // EO name
    getPrimaryKey(), // EO PK
    "RvSize", // Attribute Name
    value, // Attribute value
    "AK", // Message product short name
    "FWK_TBX_T_EMP_ID_UNIQUE"); // Message name
    What changes need to be done for above code in order to do the validation for Unique Key.
    I have one more Question
    How shall we do the Validation for Multiple Primary Key in a table?
    - Mithun

    1. If you just validate on one attribute like your unique key, then put your logic in the set<Your AttributeName) method
    2. If you want to do the cross validation ( like validating multiple attributes) then put your logic in the validateEntrity Method
    How to do that?
    1. Create a Validation View object.
    2. Associate your VVO to the VAM
    3. Create entity expert.
    4. Have method in entity expert for your validation (you would be calling AM and then VO execute the query and do the validation.
    5. You would be calling the Entity experty method from your EO either setMethods or validateEntity.
    I have given just the high level points.
    Hope this helps.
    Thanks,
    RK

  • 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 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 do validations for select-options

    Hi gurus,
    can you suggest me
    how to do validations for select-options
    Thanks&ragards,
    Kals.

    HI,
    TABLES: BKPF.
    TYPES: BEGIN OF TY_BKPF,
           BUKRS TYPE BUKRS,   "COMPANY CODE
           GJAHR TYPE GJAHR,   "FISCAL YEAR
           MONAT TYPE MONAT,   "FISCAL PERIOD
    DATA: T_BKPF TYPE TABLE OF TY_BKPF,
          W_BKPF TYPE TY_BKPF.
    SELECTION-SCREEN : BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS: S_CODE   FOR BKPF-BUKRS,
                    S_YEAR   FOR BKPF-GJAHR,
                    S_PERIOD FOR BKPF-MONAT.
    SELECTION-SCREEN: END OF BLOCK B1.
                        AT SELECTION-SCREEN                           *
    IF S_CODE IS INITIAL OR S_YEAR IS INITIAL OR S_PERIOD IS INITIAL.
      MESSAGE E000(0) WITH 'ENTER VLAUES'.
    ENDIF.
    SELECT SINGLE * FROM BKPF WHERE BUKRS IN S_CODE.
      IF SY-SUBRC <> 0.
      MESSAGE E000(0) WITH 'ENTER VALID VALUES'.
      ENDIF.
    reward if useful
    thanks and regards

  • 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 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 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 write Validations for Sample Data??

    Hi Frnds,
    I want to know how to write validations  for sample oracle data?? Can anyone explain anyone clearly??
    Regards,
    Raj

    Hi shushma,
    Simply put a check that:
    If(wdContext.current<YOUR_NODE>Element().get<YOUR_ATTRIBUTE_NAME> !=null){
    else{
    // Show the error messages
    //Displaying the error message is very easy.
    //You can report exception using the message manager API's. You will get this easily on SDN.
    I hope this helps! if you need ay further help please let me know.
    Thanks and Regards,
    Pravesh

  • How to write Validations for RadioButton

    Hi All,
    in my Application , two RadioButtons and one submitbutton is there, in that
    1. yes
    2. no
    both are radio buttons
    when i click on submit button, without selecting any one of those radiobuttons ,
    it shud display error message, this errormessage i have written in iwdmessage.
    it shud show this error message, instead of displaying nullpointer exception.
    how to write validation for this.
    please help me.
    regards
    sush

    Hi shushma,
    Simply put a check that:
    If(wdContext.current<YOUR_NODE>Element().get<YOUR_ATTRIBUTE_NAME> !=null){
    else{
    // Show the error messages
    //Displaying the error message is very easy.
    //You can report exception using the message manager API's. You will get this easily on SDN.
    I hope this helps! if you need ay further help please let me know.
    Thanks and Regards,
    Pravesh

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

  • How to stop validation for Back action in ADF

    Hi,
    In ADF form, I have a 'Back' button which should just go back to the previous page. But when I select 'Back' button, the form is validated again and I do get validation error messages.
    How can I stop validation for these type of simple actions?
    Please do let me know.
    Thanks,
    priya.S

    You might find this blog post useful in finding a generic solution to your problem:
    http://one-size-doesnt-fit-all.blogspot.com/2007/02/jdeveloper-and-art-of-rollback.html
    CM.

  • Validation for Remote Key

    Hi All,
    Is it possible to create a validation for material that will raise an error if the material is found without a remote key?
    Thanks in advance.

    HI Ervin,
    My pleasure
    The example i sent had both the ways of using Validations,and pg 7 had the Datamanager view.
    Going by the information you provided it seems your no generation and remote key both are being populated by import.
    If you are not getting the Remote key in validation expression,then you can clone the remote key source on the source side and import the same value on a Dummy field, and make this field as Not Null.This should serve the purpose.
    Thanks,
    Ravi

  • How to put validations for Bank Gl accounts

    Dear Gurus,
    I have a requirement, where i want to make Profit center mandatory for the Bank Debits only.
    Can you please suggest if my below written Validation would be useful  in this respect.
    Please correct my coding also. As i am doing validation for first time.
    My working in Validation at line item level is :
    Prerequisite: BKPF-BURKS = "ABCD"
    Check : BSEG-BSCHL = 40 and BSEG-HKONT = "xxxxxx" to "yyyyyy"
    Message: Please enter profit center.
    regards
    NJP

    Hi,
    You can acheive it in  2 ways.
    1. (GL account >= xxxxx AND <= yyyyy)
    or
    2.  Create a set for GL account using t-code GS03 and use as -
    GL Account in <set name>
    Regards,
    Sridevi

Maybe you are looking for

  • 10.5.8 does not resume wired ehternet after resume from sleep.

    I am new to administering macs but have many years linux experience. I have a imac here that does not correctly wake from sleep. It assumes an generic IPV4 address instead of resuming its lease. Here is some data from the kernel buffer running dmesg:

  • Flash not working in FF3

    Hello I recently updated my flash player to version10 and ever since, I haven't been able to view a site seal on my own website properly in Firefox 3. The seal should have my website name scrolling across it (this works in IE7) and should be crisp, n

  • Infoset-query-selection-screen-default-values

    Hi All, I am having the requirement as I need to put default values in the selecion-screen of the report by using  Infoset query. Let me know the settings required for this. I am using SQ01, SQ02, SQ03 T.Codes. And I need display  one record only if

  • Crashing when opening mail with attachments (exchange server)

    Hi, I have a user using Mac OS X Mail with an Exchange Server. OS X Mail crashes when she opens an email with an attachment. Though it doesn't happen all the time, when it does crash there is an attachment with the email. Crash report below: Date/Tim

  • BI Implementation Questionnaire

    Hi All, Do we have any SAP BI implementation/ feasibility study questionnaire. If you let me know where we can find one, it will be of great help Thanks & Regards, Pushpa