How to control attributes in 'Add Fields' in af:query Advance mode

Hi,
The VO attributes those set Queriable=false doesn't appear in the Add Fields dropdown in ad:query advance mode.
But I have few attributes in a VO those required to use in VO query so I cannot set those attrbutes Queriable as false.
Also observed that QBE doesn't work for the attributes whose Queriable set as false.
So can someone please suggest me how to achieve below,
VO attribute which having Queriable=true but doesn't appear in 'Add Fields' dropdown in af:query advance mode.
JDeveloper version 11.1.1.7.0
Edited by: user12820425 on Mar 21, 2013 10:16 AM

Hi Naresh
Thanks for your reply.
In ViewCriteria -> UI Hints we can set attribute Rendered Mode as never, but that perticular attribute still appear in 'Add Fields' section.
I think renderedMode=never means that attribute doesn't appear in Advance or Basic mode user need to manually select that attribute.
So please suggest me how to achive my requirement.

Similar Messages

  • How to control the number of fields in the Advanced mode in af:query

    Hi,
    How to control the number of fields in the Advanced mode in <af:query>?
    Say i have 20 fields in my table and i created a view criteria with 2 fields. It would work perfectly in Basic mode. But in the Advanced mode all other fields selection is possible on clicking the ADD Fields button. I did not want the client to make a search with all 20 fields. Only 10 fields are to be listed in the Advanced Mode even though there are 20 fields in my table.
    How do i control the list of fields in ADDFields button?
    Any ideas?
    KR

    You can uncheck the Querable property of the attributes which you need not show up in the Advanced Mode (but they will not show up in other modes too !) or programatically set the same as mentioned here -
    http://adfcodebits.blogspot.com/2010/11/bit-27-setting-view-object-attributes.htmlAlso you can hide the AddFields button as suggested here - http://www.notjustjava.com/2011/12/cool-tips-to-showhide-components-of-the-query-control-of-adf/

  • How to get POF object's field value from query result

    hi,all:
    I want to get field value from the query result, my code is below
    Set setResults = cache.entrySet(createFilter("homeAddress.state = 'MA'"));
    for (Iterator iter = setResults.iterator(); iter.hasNext(); )
    Contact c=(Contact)iter.next();
    System.out.println ("firstame####=" + c.getFirstName());
    * but I get error*
    Exception in thread "main" java.lang.ClassCastException: com.tangosol.util.ConverterCollec
    tions$ConverterEntrySet$ConverterEntry cannot be cast to com.oracle.handson.Contact
    at com.oracle.handson.QueryExample.printResults(QueryExample.java:159)
    at com.oracle.handson.QueryExample.query(QueryExample.java:86)
    at com.oracle.handson.QueryExample.main(QueryExample.java:43)
    who can tell me how to get POF object's field value from query result

    Hi,
    If you look at the Java Doc for the entrySet method here http://download.oracle.com/docs/cd/E15357_01/coh.360/e15725/com/tangosol/util/QueryMap.html#entrySet_com_tangosol_util_Filter_ you will see that it returns a Set of Map.Entry instances so you need to do this...
    Set setResults = cache.entrySet(createFilter("homeAddress.state = 'MA'"));
    for (Iterator iter = setResults.iterator(); iter.hasNext(); )
        Map.Entry entry = iter.next();
        Contact c=(Contact)entry.getValue();
        System.out.println ("firstame####=" + c.getFirstName());
    }JK

  • Duplication of attributes in Add Fields dropdown of  Advanced Search

    I am instantiating a secondary VO twice in the View Criteria. This leads to a duplication of query able attributes in the Add Fields drop down.
    Is it possible to override certain method in af:query, and suppress the attributes appearing in the Add Fields drop down.

    Unchecking the queryable attribute would remove the attributes from the Add Fields drop down all together. I need to avoid duplication and display the attributes only once.

  • How to custom Add Fields in af:query?

    Dear all,
    I try to customize the af:query as follows:
    The search criteria have two attributes, and when the addFields option is
    chosen (in Advanced Mode), the already existing fields (the two attributes
    of the search criteria) shouldn't be listed as possibility to be added in the
    search criteria.
    Does anyone know if there is a solution?
    Thanks,
    Mirela

    say suppose you have field A and field B...
    there might be a case... like you want to query like
    A contains 'S' or A contains 'X'.. for this case you need to show the field that is already existing in the query panel..

  • Add fields in abap  query

    Hi,
      Please let me know , how to add two fields in ABAP Query.  Please it  showing  two fields in list fileds  but i want to add two into one.
    thanks,
    Sonar

    Thanks  for  Inf
    Here I want  to  print total  of two fields  into  one  field,  where  concatenate  should  be there
    mv_abrmenge, mn_abrmenge  
    select ebelnr, htariftyp, csparte, cvertrag, cvkont, mbelzart, cbegabrpe, cendabrpe, mv_abrmenge, mn_abrmenge, e~budat
    from erchc as e
    join dberchz1 as m
    on ebelnr = mbelnr
    join erch as c
    on mbelnr = cbelnr
    join ever as r
    on cvertrag = rvertrag
    join eanlh as h
    on hanlage = ranlage
    where h~tariftyp in @p1@
    and c~erchc_v = 'X'
    and c~simulation = space
    and c~tobreleasd = space
    and e~budat in @p2@
    and e~simulated = space
    Thanks,
    Sonar

  • Add field in a query (logical data base)

    Hi,
    I want to add a field in a query .
    The data source of  its infoset is logical database .
    When i tried to drag and drop the field, the alv grid turned to alv list.
    Can you help me.
    thanks,
    Meriem.

    Hi Merim,
    As KAMESH mention,
    you can add  additional fields in your infoset and put the logic for that field in your infoset program and assign the same field in your existing group within infoset.
    once you assign the infoset and generate the infoset then your field will be reflected  in sap Query .
    you can add additional field in your output.
    Regards,
    Prasenjit Mishra

  • Hide 'Add Fields' in af:query

    Hi guys,
    I just want to hide 'Add Fields' alone in advanced section of af:query.
    Is it possible?
    Thanks in advance
    Dev

    There are two possible solutions:
    1. you can add a skin selector and hide hte footer component, which holds the button to add fields.
    in your skin.css file add
    .AFMyQuery af|query::footer-facet-content-style
      display: none;
    }and put this as AFMyQuery as styleClass onto the af:query
    ... styleClass="AFMyQuery"...2. you add a af:spacer into the footer facet of the af:query and set it's height and width to 1px. This will hide the button too. From the doc
    . If a footer is not specified then an 'Add Fields' dropdown is automatically added to the facet. If a footer facet is specified, (that includes custom buttons for example) the default 'Add Fields' dropdown will not appear and users are required to specify it explicitly in the footer facet along with the other content if this functionality is desired.add this to the af:query
                                           <f:facet name="footer">
                                                <af:spacer width="1" height="1" id="s1"/>
                                            </f:facet>
                                        </af:query>Timo

  • How to view/use 0costcenter txt fields in the query

    Hi,
    How to use the fields defined in the text table (/BI0/TCOSTCENTER) of 0costcenter. I want to be able to include them as fields in the query I am configuring and I don't see them available for choose from in the Query Designer. The cube that I am using is CO-OM-CCA(cost and allocation), standard cube from the business content. Do I need to include them separately in the dimension of the cube first to be able to use them in the report? The fields that I want to use are DATETO, DATEFROM, CO_AREA and COSCENTER. I assume description is already available in the display tab of the query designer tool.
    Thanks,
    Sharon

    Hi,
    In the Query designer, select the characteristics Cost center in the Rows/ Columns tab.
    On the display properties tab there are display options available,
    1. Key - Will display cost center number only
    2. Key and Text - Will display the CC number and the associated text.
    Selecting the second option will solve your problem.
    Also check for the same in Business Explorer Tab of the info object.
    Regards,
    Shyam.

  • Af:query advanced mode.How to hide ???

    I am using Jdeveloper 11.1.2.3.0
    I have a af:query component. I need to have the advanced mode features like add fields but I want to know is there a way to make the screen have the look and feel of basic mode.(Just to have one search box for a field ,not the another search box with has the drop down options like "equals,contains" etc ).
    Is there a way to avoid coding by using "CompOper" to hide each and every option in the search field ?
    Could some one pls guide me ????
    - Pani

    In the Structure window, double-click af:query.
    In the Property Inspector, click the Appearance tab.
    To enable the basic/advanced mode button, select true from the ModeChangeVisible field. To hide the basic/advance mode button, select false from the ModeChangeVisible field.
    You can Edit View Criteria as well, set the Search Region Mode to Basic.

  • How to use EEWB to add fields in business partner page

    Hello All
    I am working on CRM 5.0 EEWB
    I am trying to add new field in the business partner page I followed the steps for creating the project and the extension but I faced some problems
    1-I chose the package BBP_BUPA_MAIN    BBP Business Partner General
    I created two transport requests for the workbench and the customizing
    2- I created an extension with EEW Bus. Object: BUPA and extension type: ADD_NEW_FIELDS
    3- I got an error that <b>"Object DOMA ZBU_009XN27S is in the name range reserved for customers. The object cannot be assigned to package BBP_BUPA_MAIN, since it belongs to a different name range or namespace"</b>
    I tried to change the package but the same problem occurs and if I choose a custom made business package I get an error <b>"Extension type BUPA - ADD_NEW_FIELDS cannot be combined with package Z###"</b> but, before the wizard starts
    I want to know the exact steps to create new field using the EEWB
    Regards
    Jacopo Francois

    Hi,
    Error info:  "Object DOMA ZBU_009XN27S is in the name range reserved for customers. The object cannot be assigned to package BBP_BUPA_MAIN, since it belongs to a different name range or namespace"
    Clearly states that you need to assign some different name to the package which is not reserved by SAP as Z### is already reserved by SAP and thus you will not be able to create the enhancement in the same.
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

  • How to change title of a field in SAP Query

    Dear All,
    I have created a financial query. I want to change the field title which is displayed in the layout. Pls guide what is the process to change the title of a field appearing in the report.
    Regards
    Kundan
    Edited by: Kundan Pariyar on Jan 23, 2009 11:41 AM

    Hello,
    I believe you have created the query in SQ00.
    Go to SQ00.
    Select your Query.
    Click on Change
    On the Top Left Hand Corner, you will find "BASIS MODE"
    Click on the Basis Mode Button
    Once you click on Basis Mode Button, you will get "Title"
    Change the title what you are intended to change.
    SAVE the entries.
    Execute the Query.
    You will be able to see new Heading on the Query.
    Hope this helps you.
    Regards,
    Ravi

  • How to know that a form is running in query-only mode

    I have a form that can run in query-only mode or non-query-only mode depending on the current user who logs in, and I want to change its apprearance dynamically when it's in different modes (for example, enable or disable buttons). Is there a built-in or system variable from which I know that the form is running in query-only mode or not?
    Thanks,
    Shu

    The global variable solution is what we are using now. I thought there are some unpublished built-in or system variables. In my application, there is a public "menu" form from where hundreds of forms are CALLed with some in query-only mode and some in non-query-only mode depending on the current user role. :PARAMETER.QUERY_ONLY will always be 'NO' because the "menu" form is started in non-query-only mode. But it's good to know about it.
    Thank you very much for your replies,
    Shu

  • How to show attributes only in query panel but not in Add fields.

    Hi,
    Jdev - 11.1.1.7.0
    I have a requirement where I need to show attribute only in search panel but not in Add Fields list which is available in advanced section.
    Thanks for your time and help.
    Regards,
    Dileep.

    Hi,
    Is it really possible implement this kind of scenario, I could not find any property to disable the attribute only 'Add Fields' but not in query panel.
    Please some one confirm me this behavior.
    Thanks,
    Dileep.

  • While giving add fields in advanced mode

    Hai everyone, i met with a problem such that while using search in advanced mode we can add fields multiple times. Can anyone suggest me to restrict same field appearing more than one time in advanced mode --> add fields.
    Thanks in advance.

    Hi,
    there is no such restriction as far as I know. Background is that you may want to define "OR" condition for a field
    Frank

Maybe you are looking for

  • PR able to reject even after PO is created

    Hi Team, PR is created and subjected to release strategy and is released.now PO is created .and now i am able to go and cancel  the PR . which should prevent from happening so. that is after PO  is created PR should not able to reject  or cancel shou

  • Wliconfig install script

    Hi. When I run wliconfig the install program attempts to create the domainname file under the integration/bin directory. This leads to file permission issues in Unix. Is there any way in which that can be changes. Also, How come DB2 isn't listed as o

  • XML condition value

    Hi friends,                        I did filtration in Employee Master Choose From List. That condition is "termination Date is null" . It doesn't work. can you guide me... regards, Silambu

  • Seperate music and ringer volume please!!!

    Seriously, I don't want the volume high when listening to music, want to preserve my ear drums, you know?! But then, I keep missing calls because the phone rings so silently...because I have volume set to low when I was listening to music! The two se

  • HDV workflow, minimum system req

    What is the minimum G5 that can handle native HDV editing? And what is a recommended workflow for a nonbroadcast piece? I currently have a dual 1G G4 and will have to update to edit this 1hr. show. I'd rather not use all my income to buy the new syst