How to show field based on query

Hi all,
I have a field in JSP Customers -> Tax Registration Num. My task is when a customer being queried that field to be shown in Customer Information tab. I create a new field via personalization but where to specify what result it will show? Thanks in advance.
BR,
Konska.

Hi Gyan,
Thanks for reply. Can you provide me the way i have to do this. I saw in "About page" under the field i need:
VO - HzPuiOrganizationProfileQuickVO
View Attribute - TaxReference;
When i go to the field which i want to display, via personalization i have to set View Instance and Attribute Name to what value? I guess Attribute Name must be - TaxReference? But the other one(View Instance)?
BR,
Konska.

Similar Messages

  • Using jquery to hide/show field based on query results

    I have a form that includes fields for country and state/province.  Initially, the state field is hidden.  When the user selects a country, I use a bind expression in the state field to get the states in the selected country.  I want to display the state field only if the country has states (since some countries don't).  Can someone tell me how to do this?  Here's the relevant stuff:
    <script>
        $(document).ready(function() {
            $('#stateID').hide();
            $('#stateIDLable').hide();
    </script>
    Country:
    <cfselect name="countryID" query="qryCountries" value="countryID" display="country" />
    <div id="stateIDLable">State or Province:</div>
    <cfselect id="stateID" name="stateID" bind="cfc:geography.getStates({countryID})" />
    Thanks.
       Pete

    I presume you have a JavaScript function that handles the results of the cfc binding?
    If you don't you will need to incorperate one.  Then, as well as populating the second select, this function can use logic to show the second set of controls.

  • How to Substr field in SAP Query.

    Dear Developer,
    How to substr any field in SAP Query ?
    Regards,
    Ujed.

    Hi Ujed,
    if SUBSTR stands for substring, then possibly your question may be how to get the substr method as konown in languages like php in ABAP.  If SAP Query points to a SAP query as created in transaction SQ01, then you should explain what you want to achieve.
    Note: Better ask a specific question and get am answer you can or which is already generalized.
    If I need a substr function, I'd create a functional method for that:
    method substr
      importing
        anyfield type any
        offset type i
        length type i
      returning substring type string.
      try.
        substring = anyfield+offset(length).
      catch cx_root.
    * handle error
      endtry.
    endmethod.
    Regards,
    Clemens

  • How to show synonyms in the query builder?

    Hi all,
    is it possible to show the synonyms in query builder? The synonyms are created to the objects from another schema.
    Regards,

    I don't believe so. If you create a view on the foreign schema's table you can use the view in the QB.
    Scott

  • How to show field Posting Date (FB60)

    Hi All...
    I have some problem with my SAP testing,
    when i try to created some testing with AP Invoice transaction FB60 @ SandBox Client 200, i can found field Posting Date.
    but when i try to create testing with FB60 @ SandBox Client 300, i can't found field Posting Date,
    does any body can give me the solution, how to display field Posting Date @ my client 300 ??
    Regards
    Ferry

    Hi,
    There must a screen varient activated for tcode FB60 in yuor 300 clent to suppress the PD field.
    In standard system it will always shown.
    Please check with your ABAPer for the screen varient activated to it or not.
    Thanks,
    Srinu

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

  • How to display field when using Query Panel..

    Hello,
    I created a Named Criteria with a bindvariables then I drag the Named Criteria I created to the page with ADF Query Panel, then I drag the VO where the Named Criteria to the page with ADF Form.
    now what I need ..
    I need the Fields in ADF Form (input text....) to be displayed befor I cliked the search button. becasue the page design will appear bad. so how can I dislpay them when the page load.
    Thanks,

    May be you need to update the values of the screen field like:
    DATA BEGIN OF LNA_DYNPF OCCURS 1.
    INCLUDE STRUCTURE DYNPREAD.
    DATA END OF LNA_DYNPF.
        l_total = l_total + S10_QUANTITY.
        LNA_DYNPF-FIELDNAME  = 'S10_TOTAL_PRICE'.   " field name
        LNA_DYNPF-FIELDVALUE = l_total.   " value
        APPEND LNA_DYNPF.
        CALL FUNCTION 'DYNP_VALUES_UPDATE'
             EXPORTING
                  DYNAME               = l_cporg        " your program
                  DYNUMB               = '0100'  " your screen
             TABLES
                  DYNPFIELDS           = LNA_DYNPF
             EXCEPTIONS
                  INVALID_ABAPWORKAREA = 1
                  INVALID_DYNPROFIELD  = 2
                  INVALID_DYNPRONAME   = 3
                  INVALID_DYNPRONUMMER = 4
                  INVALID_REQUEST      = 5
                  NO_FIELDDESCRIPTION  = 6
                  UNDEFIND_ERROR       = 7
                  OTHERS               = 8.
    Regards,
    Naimesh Patel

  • How to show pages based on user logged in adf security ?

    Hi All,
    JDev ver : 11.1.1.4.0
    I have three Roles MANAGERS, ADMIN, ANALYST with users in each role.
    And i used form based authentication. There are seperate screens for each user, i want to show according to the user entered with Roles.
    How to Configure these roles in Resource Grants and what should be done in login action..
    For me the page now going forward, it remains in the login page itself
    How to do that ?
    thanks,
    Gopinath

    Hi..
    try out following sample
    http://andrejusb.blogspot.com/2011/05/oracle-webcenter-11g-ps3-adf-security.htmlalso check this >http://andrejusb.blogspot.com/2009/01/practical-adf-security-deployment-on.html

  • How to show the result of query in oracle forms 10g to Excel Sheet File

    Dear All,
    I have query and i want the result to be show in excel sheet file in oracle forms
    for example if i have a form with search criteria and when pressed the button of ( export to excel ) the result is
    excel file contains the result of the query .

    The only method to achieve this is with the help of Webutil. Please go through documentation for more help.
    Regards,
    Manoj Chakravarthy

  • How to show view based on condition

    Hi,
    I have a scenario with login screen with a submit button and two views(success and error).
    Now I want to show
    a)a successful view if user enters a correct login name and password(which will be validated with static values in action method of submit button)
    b)a Error view if user enters wrong username and password.
    I am struck at action code to write a condition to show respective views.
    Some thing like (In Java)
    If (login.id=='abc' && login.password='xyz')
    show.view1
    else
    show.view2
    I am not familar to ABAP coding as I just started to know.
    If anyone know action code, Please help on this.
    Thanks in advance
    Praveen

    Hi Suman,
    Thanks for the code. my issue is still not solved
    I have to change the code with respect to context node info.
    My context looks like
    Root
       ->Person
             -->Name
             -->Address  (which is designted as password)
    Now how to do modify your code with respect to the context. I'm sorry I m new to ABAP coding.I tried with below changed code.it gave me an error as shown in below.(type if_first=>element_name is unknown)
    method ONACTIONACTION_GO .
    data:
        node_input_data  type ref to if_wd_context_node,
        elem_input_data  type ref to if_wd_context_element,
        stru_input_data  type iffirst=>element_name._
    navigate from <CONTEXT> to <INPUT_DATA> via lead selection
      node_input_data = wd_context->get_child_node( name = 'PERSON' ).
    get element via lead selection
      elem_input_data = node_input_data->get_element(  ).
    get all declared attributes
      elem_input_data->get_static_attributes(
        importing
          static_attributes = stru_input_data ).
    if stru_input_data-name = 'praveen ' and
      stru_input_data-address = 'ilkal'.
    Navigate to view1
      wd_This->Fire_Outtov2_Plg(
    else.
    Navigate to View2
    wd_this->fire_<plugname>_plg(
      wd_This->Fire_Outtov2_Plg(
    endif.
    endmethod.
    Error:
    type if_first=>element_name is unknown  (why this error..?)
    Thanks
    Praveen
    Edited by: Praveen kumar Kadi on Sep 12, 2008 9:38 AM

  • How to show field at item detail level (purchase requisition layout)?

    Hi, gurus!
    We're trying to get field "processor" shown at item detail level (release strategy tab) when we create, modify or display
    a purchase requisition.
    We click on right button, select "Show" and get column name "Processor" in displayed columns and save layout as default,
    but that field is not visible when entering again transactions ME51N, ME52N or ME53N.
    Could anyone help us?
    Thanks in advance
    Regards,
    J Madariaga

    J,
    This field on the release strategy tab is linked to workflow.  You can maintain the "Processor" data by each release group and release code in the IMG menu path:  Materials Management -> Purchasing -> Purchase Requisition -> Release Procedure -> Set Up Procedure with Classification.'
    Here you enter a processor's entry under Workflow:
    Grp: Release group
    Code: Release code
    Plant: Plant
    Agent type: US is user
    Agent ID: UserID
    Once this is maintained, you return to the Release Codes section and enter a "1" by each Grp/Code where a workflow entry was created in table T16FW.  When you look at the release tab in the PR that has the same code as the one you created in the configuration, you will see the Workflow username (First and Last Name) in the "Processor" field.
    Hope this helps.

  • How to disable field based on the selected value

    Hi everyone,
    I have "employee" table,
    it contains the following field,
    emp_name
    emp_designation
    Category
    YearsHere the "category" is the select list value which has the following values in select list,
    Fresher
    Experienced,
    when the value :Fresher" is selected for "category" then the "Years" field should be disabled.
    I tried the following dynamic action ,
    Name:Disable_year
    sequence:20
    Event:Change     
    Selection Type:Item
    Item(s):Category
    Condition:equal to
    value:Fresher
    Fire When Event Result Is:TRUE
    selection type:P1_YEARBut it doesnt work.
    can anyone give alternate solution?
    Thank you.
    Regards,
    gurujothi

    Name:Disable_year
    sequence:20
    Event:Change     
    Selection Type:Item
    Item(s):Category
    Condition:equal to
    value:FresherTry return value instead of this display value(Fresher) of select list
    Fire When Event Result Is:TRUE
    selection type:P1_YEARIn your above dynamic action, where is the disable action?

  • APEX 4.1 show hide fields based on value of checkbox/radio

    I am trying to successfully hide and show fields based on the value of a clicked checkbox.  I am using a dynamic action, but it isn't working. 
    I followed the sample at Does Oracle Apex 4 enable the following AJAX features? (ie without the dev writing the Javascript) - Stack Overflow
    I even tried a radio button, but it didn't work.  I cannot uncheck the radio button.  What am I doing wrong?  Thank you for any help you can provide.

    Hi,
         create a dynamic action for page load to hide the item which you wanna hide
         now create another dynamic action
         event : Click
         Selection Type : Items
         Items : P1_Check_box(name of the check box item)
         condition : equal to
         value : return value of the check box item (if you click the check box and the return value is 1 then just add 1)
         in true actions
         Action : Show
        Selection Type : Items
         Items : P1_Text_field(name of the field)
         uncheck fire on page load
         create exact opposite false action, that's it.
    Regards,
    Mohan.

  • Show field mara-MFRPN in the MP02 without double click

    Hi all,
    Anyone know how to show field mara-MFRPN in MP02?
    I know that once we enter the internal material, it will show a list of MPNs, but in order to view the vendor manufacturer part number, we need to double click on each of it. How can we view mara-mfrpn in the same screen, means on the 1st screen instead of double click?
    Thanks!

    Hi,
    Check ur pf-status. in that did u give PICK to the functionkey F2 which will enable the db click facility.
    apart from setting the PF-status with PICK (F2) also set the property "respond to double click" for the tablecontrol column in screen painter.
    and u can get the values of the clicked field by GET CURSOR command.
    Also you can refer:-
    double click from table control?
    Doubleclick in Table control
    Hope this helps you.
    Regards,
    Tarun

  • Adding a custom meta data field which lists out content id based on query

    How can we add a custom meta data filed which lists out content id based on query like dDocType <matches> `AssociatedProduct`?
    Or other alternative would be to have a custom metadata field such that it allows selection of content id using link wizard which we typically use in site studio. It would be preferable to have this second option as it is user friendly. Can we do this on a check-in screen?
    -Pratap

    Thanks for the reply Deepak.
    We got it resolved. We did following changes in /ucm/custom/SiteStudio/resources/ss_custom_field_resources.htm file and it worked cleanly.
    Added following section at the end before body tag
    ===================================================================================================
    <@dynamichtml ss_parent_definition_field_entry@>
         <$include super.std_edit_entry$>
         <$if isQuery and isTrue(isQuery)$></td><td><$endif$>
         <$include ss_contributor_base_scripts$>
         <script type="text/javascript" src="<$HttpRelativeWebRoot$>resources/<$SSContributorSourceDir$>/sitestudio/wcm.contentserver.popup.js"></script>
         <script language="JavaScript">
         function OnSelectParentId()
              var selectParentIdOptions = {};
              selectParentIdOptions.httpCgiPath = '<$HttpCgiPath$>';
              selectParentIdOptions.queryText = 'dDocType <matches> `Country`';
              selectParentIdOptions.coreContentOnly = '<$if coreContentOnly and isTrue(coreContentOnly)$>1<$else$>0<$endif$>';
              selectParentIdOptions.callback = function( returnParams )
                   returnParams = returnParams || {};
                   if( returnParams && returnParams['dDocName'] && ( returnParams.dDocName.length > 0 ) )
                        // Set the actual metadata value
                        <$if isQuery AND isTrue(isQuery)$>
                             for (var i=0; i < document.<$formName$>.elements.length; i++)
                                  var elt=document.<$formName$>.elements;
                                  if (elt.name=="<$fieldName$>")
                                       elt.value = returnParams.dDocName;
                        <$else$>
                             document.<$formName$>.<$fieldName$>.value = returnParams.dDocName;
                        <$endif$>
              WCM.ContentServerPopup.ChooseManagedDocument(selectParentIdOptions);
         </script>
         <input type="button" value="<$lc("wwBrowse")$>..." onclick="OnSelectParentId();">
    <@end@>
    ======================================================================================
    Then modified the section which show xWebsiteSection, xRegionDefinition etc to include my custom meta data defitnion as well ('xParentContentType')
    ===================================================================
    <@dynamichtml std_edit_entry@>
         <$if fieldName and ( fieldName like "xWebsites|xDontShowInListsForWebsites" )$>
              <$include ss_website_query_text_field$>
         <$elseif fieldName and strEquals( fieldName, "xWebsiteSection" )$>
              <$include ss_website_section_field_entry$>
         <$elseif fieldName and strEquals( fieldName, "xRegionDefinition" )$>
              <$include ss_region_definition_field_entry$>
         <$elseif fieldName and strEquals( fieldName, "xParentContentType" )$>
              <$include ss_parent_definition_field_entry$>
         <$else$>
              <$include super.std_edit_entry$>
         <$endif$>
    <@end@>
    ====================================================================
    This worked fine.
    Regards,
    Pratap

Maybe you are looking for

  • How to set a page template for news detailed view?

    Is there a way to set a page template for the detailed view of the news module? I have a page template setup and added the {module_announcement,,,,,} to the page. When the news item is clicked it always opens the default template - is this how it is

  • HT201302 How to import photos from an ipad to a windows 8 pc????

    i am trying to transfer my photos from my ipad to my pc, i am using windows 8. There is no autoplay pop up available and the ipad does not come up in the computer folder. please help its really frustrating.

  • Importing images from an SD card to Lightroom 3.6

    I am a newbie to Lightroom and am having trouble importing images from an SD card. Can somebody run through the import procedure step by step for me please??

  • Aleternative account no historical information

    We have Alternative Accounts defined at Chart of account level ( COA A). These alternative accounts, have been assigned to our operating GL accounts defined under Operative Chart of Accounts ( COA B). Our Cleint is expected to see the Line item infor

  • Problem when using JPA/EJB in webservice

    I wrote a web service that use JPA/EJB to connect to Sybase (the existing tables), and deployed to OC4J, but it got the following error when the web service is invoked: <env:Envelope   xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"   xmlns:xsd