Simple input field

quick question:
How can I avoid upper case conversion when getting value from a simple input field?
I binded input field to a node and when I get values from the node they are in upper case. I tried to look for alpha conversion field but I didn't see nothing like normal dynpro.
thanks in advance
Gabriele

Hi Gabriele,
Keep your attribute of type String...... this wont convert whole text in uppercase....
regards
Pranav

Similar Messages

  • Convert Input Field in Picking List in the WEB UI interface

    Hi, Experts
    I´ve used the EEWB to create a new field (like a select-option) in the business transaction of opportunity in the new tab "Customer Fields". I´ve included it as a WEB UI, transaction BSP_WD_CMPWB.
    Using the transaction CRMD_ORDER the field appear as I want it. However in the WEB UI the field appears like a simple Input Field. I need to change the field´s type to Picking List, I imagine.
    But I don´t have idea how can I do it.
    Can anyone help me?
    tnks in advanced.

    Doug,
    Honestly the steps are pretty basic assuming you have an enhancement set setup in your client.  If not create one in table BSPWDV_EHSET_DEF and then assign it in view: BSPWDV_EHSET_ASG.
    1.  Find the name of the component and view that you need to enhance by hitting F2 on the screen in question.
    2.  In the SAP GUI go to transaction BSP_WD_CMPWB
    3.  Display the component that you want to enhance
    4.  Hit the enhance component button on display view of the screen
    5.  When prompted for a storage location name it Z<component_name>
    6.  Keep the repository.xml the same
    7.  Now that it is enhanced.. you see the screen as component xxxx enhancement set xxxx, you can right click on the view name in the tree and choose the enhance option.
    8.  Step through the screens to put in a transport request and then it should be ready to go.
    My blog here shows the basic steps:
    /people/stephen.johannes/blog/2008/01/25/crm-40-to-52-customerh-fields
    Keep in mind since you already have the field generated you don't have to do much else.
    Take care,
    Stephen
    Edited by: Stephen Johannes on Feb 12, 2009 11:20 AM

  • Read content of input fields in an internal table?

    <b>Hello everybody!</b>
    This is my first posting here in that forum, so i hope you can help my with my issue..
    In the following time i will develop with Adobe Interactive Forms. I already had a SAP Training in it.
    My Question: It is very simple to define input fields in an Adobe Form. After fireing an Action (example "Send Document") the entered value should be transported back to the ABAP Interface, which is calling the Adobe Form. Is this plan realizable? If so, how can i realize it?
    The Adobe Form will calling from the SAP R/3 System and not via Web Dynpro!
    Thanks a lot for engagement.
    Greetings from Germany
    Ismail Er

    Has Anyone an idea? it is very urgent to know that...
    Thx

  • Restricting a user to enter fixed characters in an input field (mobile)

    Hi All,
    I have created a simple type and set its length to some fixed characters. I have mapped this simple type to an input field. When I run this application on desktop it doesn't allow the user to enter characters more than the fixed length of the simple type. But this functionality is not available on the mobile ie. when I try to enter some text in the input field on the mobile device it allows me to enter as many characters as I want and the fixed length property of the simple type doesn't work here. Can anyone suggest me a solution for this. Reply ASAP.
    Thanks in advance,
    Murtuza

    padma,
    You have to set it in the wdDoModifyView()
    if ( firstTime )  {
    IWDInputfield inp_field  = (IWDInputfield) view.getElement("<inputField_ID>");
    inp_field.requestFocus();
    regards,
    nikhil
    xxxxxxxxxxxxxxx
    Edited by: Armin Reichert on Feb 23, 2008 6:29 PM

  • Disabling one input field if i enter text in second inputfield

    Hi,
    I am new to WebDynpro. My problem is very simple. I have two input fields. When i enter text in one input field i want the second input field to be disabled & Vice versa. The idea is that i want to give the user the option to enter in only 1 input field of his choice. The second input field should automatically get disabled. He can choose any input field of his choice. The second one should get disabled.
    EG: Assume that there are two input fields "Item No" & "Material". The user wants do a search using any one of these parameters, but not both. So, when he chooses to do a search based on "Item No", the "Material" input field should be greyed out(disabled). And, vice versa. The user may decide to choose any one of these fields.
    Please advise.

    This is not possible because there is no "onFocus" event on the input field.
    But you could use two radio buttons R1, R2 to enable exactly one of the input fields F1, F2 at a time.
    In the view designer, set R1.keyToSelect = "1", R2.keyToSelect = "2".
    Bind R1.selectedKey and R2.selectedKey to a common context attribute A (type string).
    If (at runtime) A contains "1", radio button R1 is selected, if A contains "2", radio button R2 is selected.
    To enable input field F1 exactly if R1 is selected:
    Create a calculated boolean attribute E1 that returns the boolean value ("1".equals(A)), bind property F1.enabled to E1. Do the same for F2.
    Armin

  • Event.value = Math.round (a.value * 5.00) / 100; Replace this with an input field for user to change

    I have a taxe calcul script in a field with a annulation check box like this:
    if (this.getField("CheckBoxHST").value=="Off") {
    // no tax
    event.value = 0;
    } else {
    // calculate the amount of tax to be paid
    var a = this.getField("pricehorstx");
    event.value = Math.round (a.value * 5.00) / 100;
    I like to able the user to change the percentage —>  (a.value * 5.00) with a simple text field — Say they enter 6% or any other percentage in there and the calcul become (a.value * 6.00) / 100;
    Not to sure how to acheive that....

    Work perfectly thanks...
    I feel so bad, everything work perfect, almost   — 
    — I just want when I check off (checkbox) the tax calculation to put whatever is in the tax percentage input box to zero and I can’t

  • Error in validation an input field in a table ui and high lighting the cell

    Hello All,
    I have a table ui in one of my application.   This table has, say 6 columns; out of these 6 columns 4 columns are shown as input fields.  User needs to put in some numbers in two of the fields.  I need to capture these two number fields data and subtract one from the other.  If number is negative , I need to let the user know by error message that the number is negative and they need to fix their input to make the answer positive.  I am able to do all this, but I am not able to high light the corresponding field which needs to be fixed.  Is there anyway I can do that...I mean high light the particular field as one gets it when we use the "report attribute error message" method of message manager class. 
    Secondly I can not halt the application, I need to do some work around for that using some flags.  Is there a simple way to halt the application, other than using flags and if condition?  I searched this forum, but could not find any definite answer....
    Thanks very much!
    Any help would greatly be appreicated.

    Hi....
    First you should have the table values in an internal  table.... for that yo need to get the values from the context like this....
    *DECLARE INTERNAL TABLE AND WORKAREA.
    data ls_nd_stru type wd_this->element_<node name>
    data lt_nd_table type wd_this->elements_<node name>
    get all declared attributes
    lo_nd_<your context node>->get_static_attributes_table(
                                               importing
                                               table = lt_nd_table ).
    *now your lt_nd_table will have the values.....what ever you have in the table.
    *then
    loop at lt_nd_table into ls_nd_stru.
    <.....your logic.....>
    <ie., read the current line of the field like
    ls_nd_stru-<field name1> = ls_nd_stru-<field name2> - ls_nd_stru-<field name3>
    then check error msg... based on your postive or negative values
    endloop.
    Hope this will help you....
    Thanks & regards
    Raja

  • How to restrict the user to enter only numeric values in a input field

    How to restrict the user to enter only numeric values in a input field.
    For example,
    i have an input field in that i would like to enter
    only numeric values. no special characters,alphabets .
    reply ASAP

    Hi Venuthurupalli,
    As valery has said once you select the value to be of type integer,once you perform an action it will be validated and error message that non numeric characters are there will be shown. If you want to set additional constraints like max value, min value etc you can use simple types for it.
    On the project structure on left hand side under local dictionary ->datatypes->simple types create a simple type of type integer
    The attribute which you are binding to value property ;make its type as simple type which you made
    Hope this helps you
    Regards
    Rohit

  • Problem with time input field

    Hi,
    I have an input field which mapped to a context attribute of type Time. When I try to enter any value during runtime I have a small message in the bottom of my webpage ( Error during parse, please give a value in form 10:11:12 AM ). After that I should enter a good value otherwise I cannot do any other action.
    Thanks,
    Younes

    Hallo Younes,
    that's the purpose of implicit validation based on the dictionary type definition.
    By default the format of the built-in type 'time' is "<b>hh:mm:ss a</b>" but you can easily change this format by defining your own simple data type. Name this local dictionary type <i>MyTime</i>, select the built-in type 'time' and then specifiy its <i>format</i> (tab 'Representation') via "<b>hh:mm</b>". In this case the generic validation will accept '12:10' as input field value.
    For more details look at  http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html
    Greetings, Bertram

  • F4 / Help Functionality for input field in custom java iView

    Hi,
    As we see many F4 help on each input field in a transaction, how can we mimic the same functionality in a Custom Java iView. For example, ME23N, you can search a PO based on some criteria, when i create a new custom java iview using BAPI_PO_DISPLAY, how can provide that F4 or help functionality to the Purchase Order field.
    Your help is really appreciated.
    Thanks,
    Vijay

    Hi Vijay,
    the F4 Help functionality is always of big concern when you're switching from a R/3 or ABAP-SAP GUI environment to a webfront end. First of all: the convinience you're used to of creating a seach help and adding it to your data fields is gone, i.e. the current development status in the portal/java/webdynpro implies that you have to do most of the work on your own. Simple value helps might not be a problem, but complex ones are (as the one you've described). Here is a link to a tutorial in Java-webdynpro, maybe it gives you an idea:
    https://www.sdn.sap.com/sdn/developerareas/webdynpro.sdn?page=TutWD9_OVS.htm
    Regards,
    Ulli

  • Compound date (dd.MM.yyyy HH:mm) from two input fields

    Hi,
    I need to compound a date field in format dd.MM.yyyy HH:mm from two input fields(date and time field). I was trying a lot but could not get it to work. So right now I'm trying to start it simple but still have a couple of problems.
    1.) To start easy I wanted to fill a hardcoded date into my field.
    setAttribute(MYDATE, "01.01.2005 12:10");
    brings (java.lang.IllegalArgumentException) Timestamp format must be yyyy-mm-dd hh:mm:ss.fffffffff
    2.) setAttributeInternal(MYDATE, "01.01.2005 12:10");
    brings JBO-27018: AttrSetValException Cause: The type of attribute value provided as an argument to the set() method for this attribute is not an instance of the Java type that this attribute expects.
    3.) The thing that I reall need is something like:
    DateFormat sim = new SimpleDateFormat("dd.MM.yyyy HH:mm");
    java.util.Date datum = new java.util.Date();
    try
    datum = sim.parse("01.01.2005 12:30");
    } catch (ParseException e)
    setAttributeInternal(MYDATE, datum);
    but right now this also ends with the JBO-27018
    I also did try different types (timestamp and date) in my entity object and different format masks. Not working at all. All the threads I found are pointing to articles from Steve, which are not available anymore (the links don't work). So any help is appreciated.
    Regards, Peter

    Thankyou for the hint. I get it to work with
    public void whatever
    DateFormat simple = new SimpleDateFormat("dd.MM.yyyy HH:mm");
    java.util.Date javaDate = new java.util.Date();
    try
    javaDate = simple.parse("01.01.2005 12:30");
    } catch (ParseException e)
    java.sql.Timestamp sqlDate = new java.sql.Timestamp(javaDate.getTime());
    oracle.jbo.domain.Date nowDate = new oracle.jbo.domain.Date(sqlDate);
    setAttributeInternal(MYDATE, nowDate);
    but is there an easier and more 'beautiful' way to do this? Like using a date formatter on oracle.jbo.domain.Date instead using the SimpleDateFormat? btw. did I mention that I'm a Forms and PL/SQL programmer ;-)
    Regards, Peter

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

  • Services in empty input fields

    I am creating a very simple Service which will just paste some frequently used text. My problem is that if there is no text in an input field (in Safari but also elsewhere) the Text services don't appear when I right-click. Is there any way to create a service which will appear regardless of context? Or which will always appear in text contexts even if there is no selected text?

    Ok...the service appears in the Services menu, but not in the context menu. Is this a bug?

  • ESS: Changing input field to dropdown box

    Hi,
      We are configuring ESS, portal's record working time iview has a column "wage type(CATSD-LGART)" which is input field with search help in portal screen.We are looking for an option to change this field to drop down box.  Client wants simple navigation. Please let me know if I can change this with customization.
    Again, changing input field to drop downbox in working time iview.
    Your help will be appriciated.
    Thanks,
    Edited by: Satyanarayanan Gadadas on May 12, 2010 7:48 PM

    What is the reason that the customer is wanting only dropdown and not the search help.
    Can you please ask for business reason for such requirement. (Please ask only if you are in a position to)
    The reason is that its too much an effort so I am keen to understand the reason.
    Puja has advised the right solution.

  • Simulate FileUpload via HTTP Plain Adapter (input field type = file)

    Our Partner would like to get the payload via html input parameter with type=file.
    The Szenario:
    The payload is generatet in one CRM System as an individual structure. We send the payload via proxy to the integration enginge. Is it possible to simulate the fileupload technology of a simple html form with input field with type=file.
    Any idea is helpfull. Thanks!

    Hi Stefan,
    thank you for the tipps. I know about epilog parameters of plain http adapter and i. e. xslt mappings.
    I don' t know how the simple html upload works and if it is possible to build multipart upload?
    Manualy upload is resolvable with
    <HTML>
         <HEAD>
              <TITLE>Upload</TITLE>
         </HEAD>
         <BODY>
              <FORM ACTION="/cgi-sample/upload.pl" METHOD="post"
                                                ENCTYPE="multipart/form-data">
                         File: <INPUT TYPE="file" NAME="file"><BR>
                                   <INPUT TYPE="submit">
              </FORM>
         </BODY>
    </HTML>
    Meanwhile, we have solved the problem with a simple xslt mapping for plain html on the receiver side.
    Kind regards
    Jochen

Maybe you are looking for

  • Re-saving docs in iCloud

    I have Pages and Numbers documents saved on my Mac. How do I now save them in iCloud? When I choose Save As, I get no iCloud option. Kind of a basic question, I know.

  • Why do I have 2 passcodes?  I cant wipe!

    I made a mistake setting up a new iPad:  I mistakenly restored from my daughters backup.  Cant have that, so I went to wipe it but I got prompted for 2 passcodes!  Sure I know the first one, but not the second one...  Wait 60 minutes great...  How ca

  • Consignment and pipeline settlement

    Hi Gurus,            When we executed MRKO the below screen shot we are getting , here we have material document number its fine, and we have Doc. no column, the document number if we double click its not displaying and if we see in FB03 also its not

  • Error message 2122

    i try to burn music onto a cd but i get an error message 2122. i've updated my firmware but it still doesn't work. what can i do?

  • In 10.10.2 an opened "Reading List" article is no longer archived in the "Reading List"

    in 10.10.2 an opened "Reading List" article is no longer archived in the "Reading List"!