How to map a context attribute to an input field

Hi,
I am new to CRM 2007 UI.I have a table control view on my screen and records are filled in this table when an user enters a value in an input field and presses enter.My bsp page looks something like this.
<%@page language="abap" %>
<%@extension name="chtmlb" prefix="chtmlb" %>
<%@extension name="thtmlb" prefix="thtmlb" %>
<%@extension name="uhtmlb" prefix="uhtmlb" %>
<%@extension name="htmlb" prefix="htmlb" %>
<%@extension name="xhtmlb" prefix="xhtmlb" %>
<%@extension name="crm_bsp_ic" prefix="crmic" %>
<%@extension name="bsp" prefix="bsp" %>
<%
  DATA lv_xml TYPE string.
  lv_xml = controller->configuration_descr->get_config_data( ).
%>
<thtmlb:grid cellSpacing = "1"
             columnSize  = "1"
             height      = "100%"
             rowSize     = "2"
             width       = "100%" >
  <thtmlb:gridCell colSpan     = "1"
                   columnIndex = "1"
                   rowIndex    = "1"
                   rowSpan     = "1" >
    <thtmlb:label id   = "NAMELABEL"
                  for  = "NAMEINF"
                  text = "Enter a name" />
    <thtmlb:inputField          id                = "NAMEINF"
                            disabled          = "FALSE"
                            tooltip           = "Enter a name to see all records"
                            submitOnEnter     = "X"/>  </thtmlb:gridCell>
  <thtmlb:gridCell colSpan     = "1"
                   columnIndex = "1"
                   rowIndex    = "2"
                   rowSpan     = "1" >
    <chtmlb:configTable id              = "PaymentTable"
                        table           = "//HeaderData/Table"
                        xml             = "<%= lv_xml %>"
                        selectedRowIndex      = "<%= HeaderData->SELECTED_INDEX %>"
                        fillUpEmptyRows = "FALSE" />
  </thtmlb:gridCell>
</thtmlb:grid>
The problem is that I want to map this input field to my context attribute.I am from Webdynpro background and ther its pretty easy :)....
Any suggestions will be helpful.
Thanks
Sourav

Hi,
you should add the context attribute to the html page itself, or another way of doing it is to implement the set_model method of the view controller.
On the view controller you can find a lot of usefull attributes like the view manager which can help you understand the bsp framework
Best regards,
Erika

Similar Messages

  • How to change the format of a decimal input field?

    Hello,
    When creating an input field of type decimal the numbers appear at this format: 123,123.
    Is it possible to disable this format and let the numbers to be displayed like this: 123123 ?
    Regards,
    Roy

    Hi Roy,
    Create a simple type in local dictionary of built in type integer. In the representation tab you can give any format you want. For your requirement you can give ####### in the  format. You can also try other formats like ##,#### etc. Now create a context attribute and in it's type property give the simple type you have created by selecting the appropriate folder. Now map this attribute with the input field. 
    Regards,
    Jaydeep

  • How to set todays date in message date input field in uix

    Hello everybody,
    Im using jdeveloper 9015+adf+uix
    I am having an input form and in that i want to set the date input field with the current date(default value).
    Does anybody of you know how I should do this.
    Any help is appreciated,
    Thanks in advance

    Hi,
    Did you figure out on how to default system date in a date input field??
    I have a similar requirement in OA framework. Please let me know if you have any ideas.
    Thanks,
    vinay.

  • How to map single context value attribute to multiple value attributes?

    Hello,
    is there any way to map a single value attribute
    from view's context into several value attributes
    in controller's context?
    The business context of what I want to achieve
    is the following: I have a view which can be called
    in two modes: read only (RO) and read-write (RW).
    The input parameters to the view are the same for
    both modes, however when in RO mode, the view calls
    a different set of web services than when called
    in RW mode. Before calling each of the web services
    I need to populate their context value attributes
    with appropriate input values.
    I know I can do it in Java code, but is it possible
    to do it without any programming (doing it in the
    source code is prone to errors)?
    Any help highly appreciated.
    Greetings,
    Tomek.

    Hi Kishore,
    than you very much for your kind help.
    I have already created a value attribute of type
    boolean and mapped it into the read-only property
    of the UI elements. This however does not solve all
    of the problems... I will describe it with an
    example:
    Let's say the form I want to implement will be
    used to: create (read-write mode), update (read-
    write mode) or show (read-only mode) customer's
    data. The customer's data is complex (lots of
    data, including tree structures).
    The problem is that:
    - when the form is called in read-only mode,
      it should populate its fields with values
      provided by the getCustomerData web service,
    - when the form is called to create a new
      customer (in read-write) mode, it should
      not use the getCustomerData web service.
      Instead it should map the input values
      entered by the user into input parameters
      of the createNewCustomer web service,
    - when the form is called to update customer's
      data, it should first display values returned
      by the getCustomerData web service, and then
      it should map the modified values entered by
      the user into input parameters of the
      updateCustomer web service,
    In all the above cases I must map my view's
    context data to different controller's context
    elements. Doing it directly in the source code
    is not a nice solution. Is there any other
    way to achieve this? 
    Calling a form in different modes in not an
    unusual thing, so I was hoping that maybe
    there are any built-in mechanisms that would
    solve the obove problem...
    Greetings,
    Tomek.

  • How to capture the user change in an input field on a selection screen?

    I am coding a selection screen in which there are two input fields. The first field takes a Unix directory from the user input. Based on the input value, the second field will be populated with a the name of a file under the corresponding directory.
    My question is how I can make the program capture the user input without having to make the user press ENTER after they enter the value in the first field?
    Any help will be greatly appreciated.

    Venkat,
    Actually you led me to the real solution! It's the function module DYNP_VALUES_READ that does the trick for me. This function enables the program to capture dynamic user changes without recourse to PAI. Please refer to the code below:
    REPORT   zreiabsintf MESSAGE-ID zreiabsintfmc.
    *<HGDC------------------------------------------------------------------
    *  Selection screen for the conversion program
    *HGDC>------------------------------------------------------------------
    SELECTION-SCREEN BEGIN OF BLOCK input WITH FRAME TITLE text-001.
    PARAMETERS: p_indir   LIKE epsf-epsdirnam OBLIGATORY,                   " Inbound file directory
                p_infile  LIKE epsf-epsfilnam DEFAULT gc_infile OBLIGATORY, " Inbound file name
    SELECTION-SCREEN END OF BLOCK input.
    *<HGDC------------------------------------------------------------------
    *   Displays a file-open dialog when the user clicks the search
    *   help button next to the inbound file text field. The user
    *   can select the inbound file visually.
    *HGDC>------------------------------------------------------------------
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_infile.
    * Capture any user change to the directory.
      PERFORM check_dir_change.
    * Display the file open dialog
      PERFORM file_open_dialog CHANGING p_infile.
    *<HGDC------------------------------------------------------------------
    * Global constants
    *HGDC>------------------------------------------------------------------
    CONSTANTS:
        gc_indir  LIKE epsf-epsdirnam
                  VALUE '/interfaces/<SID>/inbound/',      " Default inbound directory template
        gc_infile LIKE epsf-epsfilnam VALUE 'input'.       " Default inbound file name
    *<HGDC------------------------------------------------------------------
    * Global data
    *HGDC>------------------------------------------------------------------
    DATA:
        gs_dynpfields   TYPE dynpread,                        " Fields of the current screen
         gt_dynpfields   LIKE STANDARD TABLE OF gs_dynpfields. " Table of the screen fields
    *&      Form  file_open_dialog
    *       Opens a dialog window for the user to choose a file in
    *       the specified Unix directory.
    *      <--P_FILE is the file to be selected.
    FORM file_open_dialog  CHANGING p_file.
    * Validate the directory.
      OPEN DATASET p_indir FOR INPUT IN BINARY MODE.
      IF sy-subrc NE 0.
        MESSAGE i001(zreiabsintfmc) WITH p_indir.    " Unable to open the given directory
        EXIT.
      ENDIF.
      CLOSE DATASET p_indir.
    * Call the dialog window to open a file in the directory.
      CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE'
        EXPORTING
          directory        = p_indir
        IMPORTING
          serverfile       = p_file
        EXCEPTIONS
          canceled_by_user = 1
          OTHERS           = 2.
      IF sy-subrc NE 0.
        MESSAGE i002(zreiabsintfmc).                 " Failed to open the file.
        EXIT.
      ENDIF.
    ENDFORM.                    " file_open_dialog
    *&      Form  check_dir_change
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM check_dir_change .
      CLEAR gs_dynpfields.
      CLEAR gt_dynpfields.
      gs_dynpfields-fieldname = 'P_INDIR'.
      gs_dynpfields-fieldvalue = p_indir.
      APPEND gs_dynpfields TO gt_dynpfields.
      CALL FUNCTION 'DYNP_VALUES_READ'
        EXPORTING
          dyname               = sy-repid
          dynumb               = sy-dynnr
        TABLES
          dynpfields           = gt_dynpfields
        EXCEPTIONS
          invalid_abapworkarea = 1
          invalid_dynprofield  = 2
          invalid_dynproname   = 3
          invalid_dynpronummer = 4
          invalid_request      = 5
          no_fielddescription  = 6
          invalid_parameter    = 7
          undefind_error       = 8
          double_conversion    = 9
          stepl_not_found      = 10
          OTHERS               = 11.
      IF sy-subrc  NE 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      READ TABLE gt_dynpfields INTO gs_dynpfields INDEX 1.
      p_indir = gs_dynpfields-fieldvalue.
    ENDFORM.                    " check_dir_change
    Thanks for all your answers! The problem is now solved.
    Edited by: Ning Hu on Apr 9, 2008 11:32 AM
    Edited by: Ning Hu on Apr 9, 2008 11:34 AM

  • How to restrict number of characters for an input field

    Hi All,
    I have an input field.
    The max number of characters for this input field is 10.
    when a user enter more then 10 characters. it should prompt for an error or the input field should not allow to accpet the 11 character.
    how we do this in VC.
    need your helpful answers
    Rgds
    Srinivas

    Hi Srinu
    You could achieve this by configuring error messages under the formula:-
    Select the control properties and in the Input field at the Display tab write the formula
    "IF((@<LEN(text)>10),'appropriate message','Records available')"
    Note :- there is a LEN(text) under text functions in formula tab.
    Regards
    Navneet
    Message was edited by:
            Navneet Giria

  • How to display zero in the screen's input field using numc type

    Hi,
    I want to display the zero value in the input field , when I  using the NUMC input field on the screen .
    The zero will be changed to blank ,when I click the Enter key.
    What I should do for it?
    Any help is appreciated.
    Regards,
    Trevor

    Hi ,
    Thanks for your quickly answer!
    I use the numc input field in the dialog's screen.
    I am not sure how to do the realize the function like 'UNPACK'?
    In fact, I can't changed my input field's data type.
    When the status of my input field is display, I can display the zero on the screen. But when the input field is input status , there is blank!
    Regards
    Trevor

  • How do you wrap the text on an input field with type="button"

    I want to put 2 lines of text on an input field.
    The button size is fixed at 75 and if there is more than 10 characters it truncates the text.
    The input field is defined as :
    <input type="button"
    value="CI<br>Discrepency"
    class="buttons75x75"
    onclick="javascript:callForm('ciDiscrepency');"/>
    If you can show me how, I would really appreciate it.
    -Gary

    Dug up the code I used to do this a while back:
    //The style sheet
      <style type="text/css">
        .buttonUp {
          border-style:outset;
          border-width:2px;
          width:3em;
          float:left;
          padding:2px;
          background-color:#ccc;
          text-align:center;
        .buttonDown {
          border-style:inset;
          border-width:2px;
          width:3em;
          float:left;
          padding:2px;
          background-color:#ccc;
          text-align:center;
    </style>
    //... Example buttons
      <div class="buttonUp" onmousedown="this.className='buttonDown';"
                            onmouseup="this.className='buttonUp';"
                            onclick="alert('Clicked on Small One');">He</div>
      <div class="buttonUp" onmousedown="this.className='buttonDown';"
                            onmouseup="this.className='buttonUp';">Hello</div>
      <div class="buttonUp" onmousedown="this.className='buttonDown';"
                            onmouseup="this.className='buttonUp';">Hello World</div>
      <div class="buttonUp" onmousedown="this.className='buttonDown';"
                            onmouseup="this.className='buttonUp';">Hello<br/>World</div>
      <div class="buttonUp" style="width:5em;" onmousedown="this.className='buttonDown';"
                            onmouseup="this.className='buttonUp';">Hello World</div>You could put any javascript you want on the onclick event, so you would call the javascript you previously used to submit the form and set the input name. In this example I had all the buttons be a fixed width, if you leave out the width in the style sheet then the block will snap to fill the same width as the text inside it, much like normal buttons do. The difference is, with a fixed width then text wrapping occurs automatically (like in the 3rd button) while without a defined width the div will only display a second line when the line break is added. Note the the fixed width can be over-ruled by an inline style if needed (last sample).
    The website I pointed to before has a simpler solution (less javascript events needed). An implementation for his approach would be:
    //The style sheet
      <style type="text/css">
        .button {
          border-style:outset;
          border-width:2px;
          color:#000;
          float:left;
          padding:2px;
          background-color:#ccc;
          text-align:center;
          text-decoration:none;
          display:block;
        .button:active {
          border-style:inset;
          border-width:2px;
          color:#000;
          float:left;
          padding:2px;
          background-color:#ccc;
          text-align:center;
          text-decoration:none;
          display:block;
      </style>
    //... Example buttons
      <a class="button" href="#" onclick="this.blur();alert('Now you clicked linkey');return false;">Hello<br/>World</a>Same deal here with the fixed-width vs.fit-to-content. I add the 'return false;' to the list of the onclick commands so IE doesn't make the 'link clicked' noise and the URL doesn't go to thispage.html#.
    All these buttons work in FireFox 2, IE 7, and Safari 3 if they are running in STRICT mode. The button colors and borders don't precisely match FF and IE buttons, but they are close (although they aren't close at all to Safari buttons).

  • How to Map N number of  columns from input to output schemas at a time?

    Hi,
    I am new to BODI. In my project we are using DAT files, which contains more than 100 columns, as Source. At the Data Flow Level, in Query Transformation we are manually mapping columns from INPUT Schema to OUTPUT Schema one by one.
    Is there any way to MAP all the columns at a time from INPUT schema to OUTPUT schema.
    Hope I am clear with my question.
    Thanks for your support.
    Sudhakar

    Hi,
    Thanks for your answer.It's really helpul.
    But in my case, Source Filed names and Target Field names are different. As we know, OUTPUT column names should be same as Target Field names.
    I am just wondering is there any option to MAP columns between INPUT schema and OUTPUT Schema at a time, like Informatica.
    In Informatica you can MAP all the columns at a time between any 2 Transformation by using their port order, even though the Filed names are different .
    Do we have any option like this in BODI?
    Regards,
    Sudhakar

  • HOW to set the value attribute of FORM INPUT data to a variable in a JSP

    eg. Registration.jsp
    The data is accessed from an hidden field called course
    for example, if I have "Java programming" in the field course, and I use
    an expression to access the value from the hidden field.
    **My problem is that the data gets truncated to "Java" , I need "Java Programming"to display. The code looks like this
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <INPUT TYPE="text" SIZE=12 NAME="course"
    VALUE=<%=getParameter("course") %>
    IS there ANY OTHER WAY to set the value of VALUE to a variable?

    Instead of value=<%=request.getParameter("course")%>
    Use double codes
    value="<%=request.getParameter("course")%>"

  • How to get the latest screen value (of input field in VA01)

    Hi Experts,
    I have a problem that when I am in VA01 (create sales orders) I see the (old) default value of the Req.Deliv.Date
    (in Item Overview tab). I don't see the latest entered value.
    This is screen field RV45A-KETDAT.
    Eg When I enter VA01, I first enter the order type.
    In the next screen you will see that the Req.Deliv.Date has already an intial value (current date).
    Now when I change this field to Nov 14 2011, I will still see the delault current date (in PAI).
    Only much later, the program will adopt the new value (but this is too late for me).
    (I actually need the value in FM SD_PARTNER_ABLAD_SELECTION)
    How come and how can I retrieve the latest value?
    (I already tried FM DYNP_VALUES_READ but this didn't help)
    Please advice.
    Thanks very much!
    Guido

    Did you try DYNP_VALUES_READ like this
          PERFORM DYNP_VALUES_READ USING 'SAPMV45A'
                                   '4001'
                                    'RV45A-KETDAT'
                           CHANGING RV45A-KETDAT
                                    SY-SUBRC.
    try writing this where you need your values. This oerform already exists in VA01 code and is used in teh PAi for another field. So just try callign this with these values and see if it helps.

  • How to control numbers of characters in a input field?

    Hi all
    I need to limit the maximum of input characters to 255 in the field: vendortxt at the Shopping Cart. Do anyone know how to do this.
    Regards, Bjarne

    Hi,
      You can use the BBP_DOC_CHECK_BADI to read the number of characters entered in the text field VENDOR_TEXT and accordingly throw the error message if it exceeds 125 characters.
      In the BADI,use the FM BBP_PD_SC_GETDETAIL to read the details of the SC.In the table E_LONGTEXT,you wil get the value for Vendor text.
    BR,
    Disha.
    Pls reward points for useful answers.

  • When using the placholder attribute in an input field with a dark background, why can't the blinking caret be white on focus?

    Chrome and Safari both do this, making it clear to the user that they're in the field and ready to type. Currently the caret will take the color property but only once the user has started typing. This seems like it would be a worthwhile feature to bake into the next build of FF.

    I have a separate java class that gets my data and returns a Result object. Do you mean java.sql.ResultSet?
    In my main servlet I do the following:
    request.setAttribute("supporttracker",
    supporttracker.findsupporttracker(monthYear));
    and then in my JSP I can iterate through the Result
    like the following with no problems:
    <c:forEach var="supporttracker" begin="0"
    items="${supporttracker.rows}" varStatus="counter">
    My problem is that I can only iterate through this
    once in the page whereas I have no problem doing
    multiple forEach loops through other types of
    lists/collections such as an ArrayList. Right, because a ResultSet is a database cursor and doesn't act the same way that an ArrayList does. It's more like an InputStream - once you read it, you close it. If you want to re-read it, you have to re-initialize it again.
    Iterators behave that way, too. Once you walk through them, you have to re-initialize them.
    I've looked
    on the web and in a couple of books, I first thought
    it may be scope or some attribute in forEach that I
    was missing but I'm stumped. It seems like it's
    because the pointer to the result set is at the end
    of the result set when trying the second iteration,
    but I thought by using the begin="0" would put the
    pointer at the first row again, on my second
    iteration I'm getting no rows/data outputed.
    Please help and thanks in advance!The better thing to do is for your method to return a List of objects, one per row, that represent what the ResultSet returns. Have that method iterate through the ResultSet, loading the rows into the List, and close it before you leave in a finally block. A database cursor is a scarce resource, so it's a good idea to close it as soon as you can.
    %

  • How to code a button to check all input fields at once?

    I have made an interactive math problem that has the user go through about a dozen steps.  One of the steps requires the user to complete the problem on their own.  In order to fill out the problem, I have created multiple input text fields so that they can be filled with the correct answers.  In this problem, there are about 23 of these text fields.  After all of these inputs are filled in, I would like to find a way to display the correct answes with the click of a button.  Once, the button is clicked, I would like to have the correct answers to have a highlight of green or some other indicator behind it to indicate to the user that it is correct.  I have tried to find an if statement to statsify these conditions but I have not been successful at doing so.  In other words, I know what I want to do but I do not know how to tell actionscript 3.0 and flash to do so.  Could someone please help me in figuring this out?

    I added my code that I am using now but obviously I do not want to go this certain route to check all the answers at once.  If you could please explain to me how some of your code would work as I only have basic experience with ActionScript. Also can I just Google how to create a glow filter?  I would appreciate your help.  Thank you
    Code:
    /*-------------show correct answers---------*/
    fourteenthreset_btn.addEventListener(MouseEvent.CLICK, onehundredo);
    function onehundredo(e:Event):void {
           if (fourteenthinput.text == "0") {
        gotoAndStop("label100") ;
    } else {
      fourteenthresponse_txt.text = "Incorrect. Please try again.";
    function fourteenthfocusInListener(e:FocusEvent) {
    fourteenthinput.text = "";
    fourteenthresponse_txt.text = "";
    fourteenthreset_btn.addEventListener(MouseEvent.CLICK, onehundredone);
    function onehundredone(e:Event):void {
           if (fifteenthinput.text == "40.25") {
        gotoAndStop("label101") ;
    } else {
      fourteenthresponse_txt.text = "Incorrect. Please try again.";
    function fourteenthfocusInListener(e:FocusEvent) {
    fourteenthinput.text = "";
    fourteenthresponse_txt.text = "";
    fourteenthreset_btn.addEventListener(MouseEvent.CLICK, onehundredtwo);
    function onehundredtwo(e:Event):void {
           if (sixteenthinput.text == "0") {
        gotoAndStop("label102") ;
    } else {
      fourteenthresponse_txt.text = "Incorrect. Please try again.";
    function fourteenthfocusInListener(e:FocusEvent) {
    fourteenthinput.text = "";
    fourteenthresponse_txt.text = "";
    fourteenthreset_btn.addEventListener(MouseEvent.CLICK, onehundredthree);
    function onehundredthree(e:Event):void {
           if (seventeenthinput.text == "-52.5") {
        gotoAndStop("label103") ;
    } else {
      fourteenthresponse_txt.text = "Incorrect. Please try again.";
    function fourteenthfocusInListener(e:FocusEvent) {
    fourteenthinput.text = "";
    fourteenthresponse_txt.text = "";
    fourteenthreset_btn.addEventListener(MouseEvent.CLICK, onehundredfour);
    function onehundredfour(e:Event):void {
           if (eighteenthinput.text == "26.25") {
        gotoAndStop("label104") ;
    } else {
      fourteenthresponse_txt.text = "Incorrect. Please try again.";
    function fourteenthfocusInListener(e:FocusEvent) {
    fourteenthinput.text = "";
    fourteenthresponse_txt.text = "";
    fourteenthreset_btn.addEventListener(MouseEvent.CLICK, onehundredfive);
    function onehundredfive(e:Event):void {
           if (nineteenthinput.text == "-78.75") {
        gotoAndStop("label105") ;
    } else {
      fourteenthresponse_txt.text = "Incorrect. Please try again.";
    function fourteenthfocusInListener(e:FocusEvent) {
    fourteenthinput.text = "";
    fourteenthresponse_txt.text = "";
    }fourteenthreset_btn.addEventListener(MouseEvent.CLICK, onehundredsix);
    function onehundredsix(e:Event):void {
           if (twentyinput.text == "0") {
        gotoAndStop("label106") ;
    } else {
      fourteenthresponse_txt.text = "Incorrect. Please try again.";
    function fourteenthfocusInListener(e:FocusEvent) {
    fourteenthinput.text = "";
    fourteenthresponse_txt.text = "";
    }fourteenthreset_btn.addEventListener(MouseEvent.CLICK, onehundredseven);
    function onehundredseven(e:Event):void {
           if (twentyoneinput.text == "0") {
        gotoAndStop("label107") ;
    } else {
      fourteenthresponse_txt.text = "Incorrect. Please try again.";
    function fourteenthfocusInListener(e:FocusEvent) {
    fourteenthinput.text = "";
    fourteenthresponse_txt.text = "";
    }fourteenthreset_btn.addEventListener(MouseEvent.CLICK, onehundredeight);
    function onehundredeight(e:Event):void {
           if (twentytwoinput.text == "0") {
        gotoAndStop("label108") ;
    } else {
      fourteenthresponse_txt.text = "Incorrect. Please try again.";
    function fourteenthfocusInListener(e:FocusEvent) {
    fourteenthinput.text = "";
    fourteenthresponse_txt.text = "";
    }fourteenthreset_btn.addEventListener(MouseEvent.CLICK, onehundrednine);
    function onehundrednine(e:Event):void {
           if (twentythreeinput.text == "40.25") {
        gotoAndStop("label109") ;
    } else {
      fourteenthresponse_txt.text = "Incorrect. Please try again.";
    function fourteenthfocusInListener(e:FocusEvent) {
    fourteenthinput.text = "";
    fourteenthresponse_txt.text = "";
    }fourteenthreset_btn.addEventListener(MouseEvent.CLICK, onehundredten);
    function onehundredten(e:Event):void {
           if (twentyfourinput.text == "0") {
        gotoAndStop("label110") ;
    } else {
      fourteenthresponse_txt.text = "Incorrect. Please try again.";
    function fourteenthfocusInListener(e:FocusEvent) {
    fourteenthinput.text = "";
    fourteenthresponse_txt.text = "";
    }fourteenthreset_btn.addEventListener(MouseEvent.CLICK, onehundredeleven);
    function onehundredeleven(e:Event):void {
           if (twentyfiveinput.text == "0") {
        gotoAndStop("label111") ;
    } else {
      fourteenthresponse_txt.text = "Incorrect. Please try again.";
    function fourteenthfocusInListener(e:FocusEvent) {
    fourteenthinput.text = "";
    fourteenthresponse_txt.text = "";
    }fourteenthreset_btn.addEventListener(MouseEvent.CLICK, onehundredtwelve);
    function onehundredtwelve(e:Event):void {
           if (twentysixinput.text == "-385") {
        gotoAndStop("label112") ;
    } else {
      fourteenthresponse_txt.text = "Incorrect. Please try again.";
    function fourteenthfocusInListener(e:FocusEvent) {
    fourteenthinput.text = "";
    fourteenthresponse_txt.text = "";
    }fourteenthreset_btn.addEventListener(MouseEvent.CLICK, onehundredthirteen);
    function onehundredthirteen(e:Event):void {
           if (twentyseveninput.text == "-8.75") {
        gotoAndStop("label113") ;
    } else {
      fourteenthresponse_txt.text = "Incorrect. Please try again.";
    function fourteenthfocusInListener(e:FocusEvent) {
    fourteenthinput.text = "";
    fourteenthresponse_txt.text = "";
    }fourteenthreset_btn.addEventListener(MouseEvent.CLICK, onehundredfourteen);
    function onehundredfourteen(e:Event):void {
           if (twentyeightinput.text == "227.5") {
        gotoAndStop("label114") ;
    } else {
      fourteenthresponse_txt.text = "Incorrect. Please try again.";
    function fourteenthfocusInListener(e:FocusEvent) {
    fourteenthinput.text = "";
    fourteenthresponse_txt.text = "";
    }fourteenthreset_btn.addEventListener(MouseEvent.CLICK, onehundredfifteen);
    function onehundredfifteen(e:Event):void {
           if (twentynineinput.text == "-175") {
        gotoAndStop("label115") ;
    } else {
      fourteenthresponse_txt.text = "Incorrect. Please try again.";
    function fourteenthfocusInListener(e:FocusEvent) {
    fourteenthinput.text = "";
    fourteenthresponse_txt.text = "";
    }fourteenthreset_btn.addEventListener(MouseEvent.CLICK, onehundredsixteen);
    function onehundredsixteen(e:Event):void {
           if (thirtyinput.text == "7") {
        gotoAndStop("label116") ;
    } else {
      fourteenthresponse_txt.text = "Incorrect. Please try again.";
    function fourteenthfocusInListener(e:FocusEvent) {
    fourteenthinput.text = "";
    fourteenthresponse_txt.text = "";
    }fourteenthreset_btn.addEventListener(MouseEvent.CLICK, onehundredseventeen);
    function onehundredseventeen(e:Event):void {
           if (thirtyoneinput.text == "140") {
        gotoAndStop("label117") ;
    } else {
      fourteenthresponse_txt.text = "Incorrect. Please try again.";
    function fourteenthfocusInListener(e:FocusEvent) {
    fourteenthinput.text = "";
    fourteenthresponse_txt.text = "";
    }fourteenthreset_btn.addEventListener(MouseEvent.CLICK, onehundredeighteen);
    function onehundredeighteen(e:Event):void {
           if (thirtytwoinput.text == "0") {
        gotoAndStop("label118") ;
    } else {
      fourteenthresponse_txt.text = "Incorrect. Please try again.";
    function fourteenthfocusInListener(e:FocusEvent) {
    fourteenthinput.text = "";
    fourteenthresponse_txt.text = "";
    }fourteenthreset_btn.addEventListener(MouseEvent.CLICK, onehundrednineteen);
    function onehundrednineteen(e:Event):void {
           if (thirtythreeinput.text == "0") {
        gotoAndStop("label119") ;
    } else {
      fourteenthresponse_txt.text = "Incorrect. Please try again.";
    function fourteenthfocusInListener(e:FocusEvent) {
    fourteenthinput.text = "";
    fourteenthresponse_txt.text = "";
    }fourteenthreset_btn.addEventListener(MouseEvent.CLICK, onehundredtwenty);
    function onehundredtwenty(e:Event):void {
           if (thirtyfourinput.text == "40.25") {
        gotoAndStop("label120") ;
    } else {
      fourteenthresponse_txt.text = "Incorrect. Please try again.";
    function fourteenthfocusInListener(e:FocusEvent) {
    fourteenthinput.text = "";
    fourteenthresponse_txt.text = "";
    }fourteenthreset_btn.addEventListener(MouseEvent.CLICK, onehundredtwentyone);
    function onehundredtwentyone(e:Event):void {
           if (thirtyfiveinput.text == "268800") {
        gotoAndStop("label121") ;
    } else {
      fourteenthresponse_txt.text = "Incorrect. Please try again.";
    function fourteenthfocusInListener(e:FocusEvent) {
    fourteenthinput.text = "";
    fourteenthresponse_txt.text = "";
    }fourteenthreset_btn.addEventListener(MouseEvent.CLICK, onehundredtwentytwo);
    function onehundredtwentytwo(e:Event):void {
           if (thirtysixinput.text == "2450") {
        gotoAndStop("label122") ;
    } else {
      fourteenthresponse_txt.text = "Incorrect. Please try again.";
    function fourteenthfocusInListener(e:FocusEvent) {
    fourteenthinput.text = "";
    fourteenthresponse_txt.text = "";
    }fourteenthreset_btn.addEventListener(MouseEvent.CLICK, onehundredtwentythree);
    function onehundredtwentythree(e:Event):void {
           if (thirtyseveninput.text == "97300") {
        gotoAndStop("label123") ;
    } else {
      fourteenthresponse_txt.text = "Incorrect. Please try again.";
    function fourteenthfocusInListener(e:FocusEvent) {
    fourteenthinput.text = "";
    fourteenthresponse_txt.text = "";

  • How to fill the dropdown list in a input field

    Hi all,
    I have three input fields, Month, Material type and material.
    My requirement is to search material based on material type.  So if i select one material type from the dropdown list, corresponding material should be populate in the material dropdown.
    Pls suggest to this requirement i have
    Regards
    Jeswin

    Hi,
    Refer Below Blog Step By Step For fill data in dropdownlist Getting Data From SAP BI Systems.
    Visual Composer :Get drop down list values  from BI InfoObject master data
    The Below Link is the For getting data from SAP ECC Systems For Both Value Help And DropDown list.
    Visual Composer: Value Help Data Service
    Go Through Above Links
    Points Are Welcome
    tahnks
    SubbaRao Chinta

Maybe you are looking for