Want to read Field value set by Value help

Hello,
I have BSP View which is using Value help extensions for one of the input. The search help is based on the Elementary Search Help which is further based on Z-Table. In my BSP view [IE] I am able to popup the Search help and able to select the Value from list of choice. The selected value gets reflected in the Input field of browser. The problem is I am not able to capture the selected value in Event handler. I need to capture this value and get the related data in other input fields [which are display only]. How to do this?
I even tried getting the value in the Javascript, but unable to assign the Javascript variable to my BSP View attribute or Controller attribute.
Thanks in advance.

>Do I have to trap it in DO_HANDLE_Event by doing Get_Form_Fields??
If you are using MVC and data binding you don't have to do anything.  The field values will be brought in automatically for you.
However in any MVC application, the highest level controller should always contain a small block of code in the redefinition of the DO_REQUEST method.  It is:
if input is available, dispatch this input to subcomponent.
* this call is only necessary for toplevel controllers.
* ( if this is not a toplevel controller or no input is present,
*   this call returns without any action)
  dispatch_input( ).
* if any of the controllers has requested a navigation,
* do not try to display, but leave current processing
  IF is_navigation_requested( ) IS NOT INITIAL.
    RETURN.
  ENDIF.
This code is critical for properly dispatching events through the controllers.  It is also the code that triggers the MVC runtime to restore input values into the model.
Also to eliminate the possibility with a problem in the implementation of the value help, why don't you temporarily switch out this element with just a plain htmlb:inputField.  This way you test to make sure that data binding works correctly with the standard field.

Similar Messages

  • How to make a value set dpepenedent on other value set's values

    Hi,
    I want to have two parameters on my report in oracle apps. I made one Value set which is 'Table' in Validation Type, now I want the other value set dependent on this previous value set's values, Is there a way to make it possible.
    Regards,
    Nidhi...

    Nidhi,
    There is no relation to OAF for your issue. I will suggest to put your query in proper forum. Try http://forums.oracle.com/forums/forum.jspa?forumID=40
    --Shiv                                                                                                                                                                                                                                                                                                                                                       

  • Can't find value set in values screen of flex field

    Hi,
    I want to see values associated with a value set. This valueset is for one of the segment of Position Flex field of HRMS.
    When I go to Application>FlexField>Key>Values and query for the value set, It doesn't appear in the list of value sets. I am unable to find any value set for any segment. Both the value sets are table based.
    Can anyone tell me why I can't see them?
    Abdul Wahid

    Mark,
    You did not say whether you are using Frame 8 or not, but I use Frame 7.2 and have cross-reference elements in my documents; however, they are named XReference. I have no trouble finding them...an element is an element.
    Check to be sure your EDD includes elements named xref and that when the insertion point is inside some text that the element catalog shows that xref elements are allowed.
    If your EDD does not include xref elements or elements that serve as cross-references but are named differently, then Find will not be able to find them as elements. If you insert your cross-references NOT as elements, then again Find will not find them as elements. You must have an element that you use for cross-references. If so, Find should work.
    Van

  • WAD drop-down box and commands on Set Variable values/ Set Filter Values

    Hello to all
    I am confused in WAD and Help online couldn't clarify my concerns. Thus here following issue:
    I am using a WAD, where the data provider (query)  is set dynamically. I would like that
    1 user selects company in  drop-down-box 1
    2 I use commands on drop-down-box 1 to manage the next drop-down-box 2 ( like it becomes input ready)
    3 user selects plant in drop-down-box 2
    4 User selects a tab strip A, where report A of multiple reports is placed. Now in this moment I assign the query A to the data provider A.
    Now my questions:
    - I am not clear how to use the bex-variables required for the query ( like company and plan). If I use in drop-down variables, then I can't set anymore commands
    - What means and makes the command set_variable_state
    - What means and makes the command set_selection_state
    Thanks a lot for your clarification and help
    Christian

    Hi Christian,
    I will try and answer your Qs
    - I am not clear how to use the bex-variables required for the query ( like company and plan). If I use in drop-down variables, then I can't set anymore commands
    >> Can you explain how exactly are you trying to populate the DropDown webitems for Company / Plant data for user-selection.
    - What means and makes the command set_variable_state
    >> SET_VARIABLE_STATE is used to assign input values to your query variables. Here, the command gives you a range of input options to select from such as Characteristic/Text/Formula/Hierarchy Variables & Binding Type Selection. Binding Type Selection in addition gives you more options such as assigning manual input from a Text webitem [ITEM_INPUT], assigning value from another Variable [VARIABLE], or simply assigning the selected value from an underlying Data Provider such as one mapped to a DropDown webitem [DATA_PROVIDER_CHARACTERISTIC].
    - What means and makes the command set_selection_state
    >> SET_SELECTION_STATE is used to assign input values to Characteristics in your query. It serves as a Filter option.
    I think in your case using SET_VARIABLE_STATE makes more sense. You can use Binding Type Selection with [DATA_PROVIDER_CHARACTERISTIC] on both the DropDown webitems to assign the values of Company / Plant to the query on runtime.
    --Priya

  • Setting data values on insert with a form

    I have a form I am using to insert records into a table, and I want to be able to set the value for a certain column ( in this case status) to be dependent on the a value that another column is set to. The specific case here is I have an application users table so if I get a request for a user asking for lookup privilege I want to status field to be set to approved other requests should have status set to pending.
    I have tried adding a process and doing an update to the status based on the value of the role, but it seems that the role is null when it gets to the process. I am merely referencing the column of the form. In this case :P7_ROLE.
    Any help would be appreciated.
    John

    For anyone who looked at this, I found my problem. The process I created was at the wrong sequence and was executed after the page cache was cleared.
    Newbie mistake:)

  • How to set default values on the screen painter parameters?

    Hello ABAP Gurus,
    I would just want to ask how to set default values on the screen painter parameters.
    Thank you for your replies.

    Hi,
    To set default values for screen painter parameters initialize the field names with default values in the PBO module....
    say u have the field name as f_field1....
    in the PBO of that screen initialize it....
    f_field1 = '100'  "here 100 is the default value.
    <b>reward points if useful.</b>
    regards,
    Vinod Samuel.

  • Set init values for Edit Form

    Hi!
    I'm using JDev 10.1.3+ADF+Struts
    I have some attributes in viewObject, and have related bindings in PageDef. I whant to set init values for that attributes in 2 cases:
    1. Edit Form doesn't contain fields for entring attribute value.
    For example:
    Current_User
    Creation_Date
    etc.
    2. Edit Form contain fields for entring attribute value. And i want that input fields display my init values.
    The purpose is to perform it in onCreate event in PageController.
    But i don't know where to put my values.
    Any help will be appriciated!

    Thank you very much!
    Maybe my question is not so clear.
    I mean, when we call event=Create i need to set values, but before Submit/Commit the Row in viewObject is not exist.
    So I founded solution for this issue - to set my values in method 'create' of Entity Object.
    I have another big problem i confused with. Would you help me, please?
    Description is here:
    Database Constraint Error Handling on create/edit (Struts ADF)

  • Pass variable and set default value based on user's group

    Hello
    I'm using SharePoint 2010 and SQL 2012. I need to send a variable to the page and based on its value, set default value for a drop down list and send it to other web part to filter the data. Is it possible for certain users to send that value as a default
    and limit user to see only this value in the text field or drop down list; for others - to allow to see the drop down list, but also set the default value for that list?
    The main page was designed in SharePoint designer, using web parts (aspx page). I had setup a connection to Active Directory and already have the code to get user's groups and based on their group, I have that variable pulled into the web page for further
    use. But I don't know how to pass that value as a default value to the web part (currently using SharePoint Filter web part). When I tried to set a default value for the web part - it automatically puts the quotation marks around the name of the variable
    and shows it as a text instead of showing the value of the field.
    Thank you!
    P.s. I have limited knowledge of SharePoint and need guidance (links, examples, recommendations)!
    Alla Sanders

    Thank you for your response. I'll try to give you more details. On PageA I check user's groups and based on the group, assign the value and pass it to the next page (no input from the user, all done behind the scene and user is redirected to PageB).
    On the next page I read that value and would like to send it to the SharePoint List Filter Web as a default value, as well as send it to another web part that displays the list from SQL, filtered using that default value. Ideally, if the user is from Group
    A, I'd like for them to have only one value in that drop down list; if user is from Group B - give him drop down list with 40 items to choose from. Below there is a part of the code and variable fnum has the value from PageA (if I print the value on the screen
    - I do see that it has correct value, so the code that gets groups from Active directory works correctly). If I assign fnum as a default value of the list, it shows "fnum" instead of the value of variable fnum. I connect to SQL database, using external
    content - so the other list that I'm filtering based on the value in that drop down list - is XSLT Data View Web part. I also have 2 more filters on that page, that user will have full access to and based on their input, it is also sent to the XSLT web part
    to filter out more data. Since one of the filters is the date and I am filtering data starting from the date that user chooses - XSLT is the only web part that I was able to make it work with.
    I looked at the link you provided (thank you). It is using Content Query Web part. Will it work with external content, as well as accepting multiple filtering, including custom starting date? I appreciate your help!
    <%
    string fnum = Request.QueryString["field1"];
    %><table cellpadding="4" cellspacing="0" border="0" style="height: 1000px">
    <tr>
    <td id="_invisibleIfEmpty" name="_invisibleIfEmpty" colspan="2" valign="top" style="height: 101px">
    <WebPartPages:WebPartZone runat="server" Title="loc:Header" ID="Header" FrameType="TitleBarOnly"><ZoneTemplate>
    <WpNs0:SpListFilterWebPart runat="server" FilterMainControlWidthPixels="0" RequireSelection="False" ExportMode="All" PartImageLarge="/_layouts/images/wp_Filter.gif" AllowHide="False" ShowEmptyValue="True" MissingAssembly="Cannot import this Web Part." AllowClose="False" ID="g_1ccc4bca_3ba1_480b_b726_adfdb1e9e02d" IsIncludedFilter="" DetailLink="" AllowRemove="False" HelpMode="Modeless" AllowEdit="True" ValueFieldGuid="fa564e0f-0c70-4ab9-b863-0177e6ddd247" IsIncluded="True" Description="Filter the contents of web parts by using a list of values from a Office SharePoint Server list." FrameState="Normal" Dir="Default" AllowZoneChange="True" AllowMinimize="False" DefaultValue="fnum" Title="Facilities List Filter" PartOrder="2" ViewGuid="2da5d8db-6b55-4403-80a8-111e42049f8b" FrameType="None" CatalogIconImageUrl="/_layouts/images/wp_Filter.gif" FilterName="Facilities List Filter" HelpLink="" PartImageSmall="/_layouts/images/wp_Filter.gif" AllowConnect="True" DescriptionFieldGuid="2d97730a-cd0d-4cb9-8b55-424951201081" ConnectionID="00000000-0000-0000-0000-000000000000" ExportControlledProperties="True" TitleIconImageUrl="/_layouts/images/wp_Filter.gif" ChromeType="None" SuppressWebPartChrome="False" IsVisible="True" ListUrl="/Lists/FacilitiesList" AllowMultipleSelections="False" ZoneID="Header" __MarkupType="vsattributemarkup" __WebPartId="{768E2035-0461-4A09-8DDD-CA7020C2B23D}" WebPart="true" Height="" Width="615px"></WpNs0:SpListFilterWebPart>
    Alla Sanders

  • Set initial value based on query

    Is it possible to set the initial value of a field based on a query. Kindly advice.
    Regards,
    Careen

    Hi,
    Yes. You can create a VO for your query and map that to the field on your page. Then execute the VO in PR method.
    Or if the field is not based on VO, you can execute your query in PR method using PreparedStatement. Then get the handle of the field and set its value to the value returned in resultSet of the query.
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Minimum ship value set for customer#

    Hi All,
    I have been given list of SOLD TO
    and requested this information at account level :--
    u2022     Are min ship values set / what value
    u2022     Is the u2018Consolidationu2019 flag set
    How can I proceed.
    Thanks

    hi
    this is to inform you that
    as per my understanding goes
    have been given list of SOLD TO - you might have given an excel sheet to find out.
    and requested this information at account level - here i have doubt
    is account group level or reconcialiation account level ?
    if it is reconcialiation level - please chec AONT field
    u2022 Are min ship values set / what value - this comes in MMR in the field called Minimum Delivery Quantity.
    u2022 Is the u2018Consolidationu2019 flag set - this might come inside G/L account or in Company Code Data account management tab page.
    please clarifywhich one you want.
    regards
    balajia

  • Setting Node value in a DOMtree

    Hello Techies,
    I am trying to create a DOM Tree. I had create Node's for the DOM Tree. I want to know how to set the Values to these Nodes.
    Element root = null;
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    DocumentBuilder builder = factory.newDocumentBuilder();
    Document document = builder.newDocument();
    root = document.createElement(Root_Element);
    document.appendChild(root);
    Element applicationElement =document.createElement(Application_Element);
                applicationElement.setNodeValue("krish");
      root.appendChild(applicationElement);Now when I try to get the This Node Value , I am getting null Pointer Exception.
    Here is my code of retrieving the node value
    NodeList applicationNodeList = null;
    applicationNodeList =finalElement.getElementsByTagName("application");
    System.out.println("applicationNodeList size"+applicationNodeList.getLength());
          for(int i = 0; i<= applicationNodeList.getLength();i++)
               System.out.println("eachApplicaiton in the DOM"+applicationNodeList.item(i).getNodeValue());
               }I am getting NodeList size is 1 , but I the node Value I am getting as Null.
    What I am doing for setting the Node Value is correct(or) am I missing some thing.
    Can u guys help me out to fix this problem.
    regards,
    Krish.

    Thanx 4 u r reply.
    I had found where exactly the problem is .The element Node will take only null values.
    I have to create a DOM Tree in the following format.
        <Application>
            <application_id>   1 </application_id>
            <application_name>krish    </application_name>
            < description>   This is test </description>
      </Application>The values that I am placing in the following tags tage<application_id>,<application_name> and <description> are from database.
    My Code is
    Element root = null;
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    DocumentBuilder builder = factory.newDocumentBuilder();
    Document document = builder.newDocument();
    root = document.createElement(Root_Element);
    document.appendChild(root);
    Element applicationElement =document.createElement(Application);
    root.appendChild(applicationElement);
    Element applicationIdElement =document.createElement(application_id);
    applicationIdElement.setNodeValue("1");
    appliationElement.appendChild(applicationElement);
    Now let us suppose that I had created Text Node
    TextNode t  =  applicationElement.createTextNode(application_id);
    applicationElement.appendChild(t);Now The value which I am getting from database I am not sure that it is always be a String , Some times , it may be
    int,bigInt,String,Clob.
    In this situation How can I create DOM Tree??
    To obtain the above xml structure, Whether I have to create text Node's under application?? Plz guide me.
    Looking forward 4 u r solutions
    Regards,
    Krish

  • Need to make Value Set as Case insenstive attached with a DFF on OA Page

    Hi All,
    I have enabled DFF on iExpense web page, OA Page, and attached a Value set to this DFF. This is an independent Value Set. Now when user enters a value in this DFF and press tab then it validates and chaged accordingly. Suppose user enters a value 'card' whereas Value set has value as 'Card'. now when user press tab button it changes automaticaaly to 'Card'. But if user enters 'card' and press 'Next' button on page it throws an exception that this value is not available in the value set.
    Kindly let me know that how can I overcome from this problem.
    Thanks,
    Sandeep

    You can add the read-only token ($RO$) after any of the segments in the list. For example, the ($RO$) designator below sets Segment1 in structure code 1 to be read-only:
    Structure code1|Segment1($RO$)|Segment2...
    P.S: After I posted this message, I realized this was not what you are looking for. After all, this may help somebody.
    Edited by: dbhat1 on Dec 8, 2008 3:55 PM
    Edited by: dbhat1 on Dec 8, 2008 3:56 PM

  • SQL dependent Value Set

    hi experts
    I want to make value set ( single value column) dependent upon select statement. How can i do that . i know how to make table dependent value set but i dont know how to make value set dependent upon select .
    Please help me out of this ..
    regards
    Anwer

    Hi Anwar
    Go to Value Set creation screen.
    Go to Value Validation Region
    Select validation type as Table
    Click Edit information and enter your table details as follows
    Name of the table
    ID and name combination ( Like if you want to create a value set in person table in LOV you would like to show Full Name but while passing parameter or storing value you will store person_id)
    Add your where clause and order by clause in the where/order by clause.
    See a seeded value set of this type (BEN_ACTN_TYP) for reference.
    For more details go through flexfield guide at following location
    http://download.oracle.com/docs/cd/B34956_01/current/acrobat/120flexug.pdf
    Regards
    Gaurav

  • About precaliculated value sets

    Hai all experts,
                                I want to know usage of precalicaulated value set in reporting agent.give me one scenario regarding usage of this. i would be very happy if any body respond ASAP.
    suneel

    Hi,
    Precalculating Value Sets
    Use
    The distribution type Precalculated Value Set allows you to fill variables of the type precalculated value sets with values for characteristic values in the background. The precalculated value sets are then available as variable values in BEx queries.
    The following cases are typical examples of where the execution of precalculated value sets in the background is used:
    ·        When analyzing target groups, because you can specify a fixed value
    ·        When complex selections are involved such as with top N queries, used to greatly improve query performance
    ·        Instead of variables that are filled from a query event (Replacement Path: Replacement from Query)
    Prerequisites
    The query must contain the characteristic that is the placeholder for the variables.
    You have created a broadcast setting or reporting agent setting for the query you want and you have chosen the distribution type Precalculate Value Set. The output format is value set.
    BW Variables can be filled by precalculated value sets (e.g. a variable filled with a top N customer list). This value set is based on a separate query. The precalculation of the value set is done in the Reporting agent or Broadcaster.
    Create a BW Query Q1 that provides the basis for the value set, e.g. a top N customer list based on sales in the last year.
    Create a value set variable V1 that is based on the corresponding characteristic.
    Create a query Q2 that uses this variable.
    If you want more help let me know. If it is useful don't forget to assign points.
    Regards,
    Senthil Kumar.P

  • Value Set Discrepancy

    Hi,
    I entered few records to the table FND_FLEX_VALUES for a specific flex_value_set_id.But wheni query for the value set from the front end i cant find those values.
    However when i try to create the same record from front end i get an error message that the value already exists.
    Not sure what is happening and why i am unable to see the values from front end.
    The value set is an independent value set.
    Please help.
    Thanks,
    Ramendra.

    When you enter value from front end in Independent value set Insertion happens in two tables
    1)FND_FLEX_VALUES
    2)FND_FLEX_VALUES_TL
    Here you have manually Inserted in FND_FLEX_VALUES but not in FND_FLEX_VALUES_TL.
    Now 1) you can't see those manually inserted records in front end is because in form records are displayed from View "FND_FLEX_VALUES_VL" which is
    created on above tables.
    2) you are getting error while you insert from front end because in table FND_FLEX_VALUES records are already inserted by you manually.
    You should not have done manual Insertion in just FND_FLEX_VALUES because there is more more table "FND_FLEX_VALUES_TL" where insertion happens.
    API fnd_flex_loader_apis.up_value_set_value can be used instead of mannual Insertion.
    Sunil
    Edited by: Mendiratta Sunil on 26 Feb, 2009 1:18 PM

Maybe you are looking for

  • Closing references to front panel objects

    Short version of my question: are programmatically generated references to front panel objects (controls, etc.) automatically disposed of when the VI exits? More details: I'm recursively retrieving references to all the controls on the front panel.  

  • I want to buy a MacBook Pro, but is it worth it?

    The computer I buy is going to be my computer through High School and hopefully College, but a MacBook Pro is around $1000 to $1300 dollars right? So is it worth the cost? 

  • In snow leopard, you could see the size of each file. Is this the case for os lion?each file

    In Snow Leopard, you could see the size of the file which was shown at the bottom of the file. This does not appear to be the case with OS Lion. Am I wrong? Thank you for your help.

  • After Update bad association on .asp files

    Ok, this seems a minor annoyance compared to what I've been reading but it's a real pain for me as I'm dealing with ASP pages all day long (web tech). Since the update today (thru Software Update) any *.asp file I double-click opens up in Apple Syste

  • Running Oracle ADF tutorial example to weblogic server

    Hi all, I am following the tutorial at [Developing RIA Web Applications with Oracle ADF|http://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/ria_application/developriaapplication_long.htm] . However, I did something new here. I deployed the finishe