How to verify the input fileld

Hi All,
I have a text field the contents of text field(it should not contailn any thing other then alpah numeric) without using javaScript
regards
sankar

Interesting. What do you want to use? You can use Java if you want to validate on the server side.

Similar Messages

  • How to change the input language ?

    Hello,
    I am writing an Add-on that needs to change the input language when the user
    clicks on the Item Code field ("5") in the "Item Master Data" form.
    I can perform the change when I am out side of the SAP application (for example if I create a Windows Form), however I cannot control the input language of the SAP itself through code.
    I even tried using Application.Sendkeys, however I was unable to send a combination of ALT+SHIFT, or at least it did not have any affect
    Here is the code on how to change the input language on a Windows Form:
    For Each Lng As system.Windows.Forms.InputLanguage In system.Windows.Forms.InputLanguage.InstalledInputLanguages
       sValue = Lng.Culture.DisplayName.ToUpper()
       If sValue.StartsWith("ENGLISH") Then
                        system.Windows.Forms.InputLanguage.CurrentInputLanguage = Lng
                        Exit For
        End If
    Next
    Any ideas ?

    I am not sure I understand the problem. Anyway in B1 you change the language by
    changing it from the Administration module. This raises a Application event that
    is sent to all the add-ons. The event is aet_LanguageChanged and you should
    then change the language handled by your add-on when you receive it.

  • In BSP how to give the input field as mandatory?

    Hi friends,
    In BSP how to give the input field as mandatory?
    In BSP i want to validate the input field (example checking the material no is valid or not)
    if this material no doesnot exit means i want to pass error message.What is the code for that.
    Moosa

    hi
    try this
    in LAYOUT
    <htmlb:inputField id = "vname"  disabled = "False" value = "<%= v_visitor %>"/> <font color="red" size="2"><b><%= page->messages->assert_message( 'vname' ) %></b></font></td>
    in DO_HANDLE_EVENT
    in oninputprocessing
    CLASS CL_HTMLB_MANAGER DEFINITION LOAD.
    IF event_id = CL_HTMLB_MANAGER=>EVENT_ID.
      DATA: event TYPE REF TO CL_HTMLB_EVENT.
      event = CL_HTMLB_MANAGER=>get_event( runtime->server->request ).
      IF event->name = 'button' AND event->event_type = 'click'.
        DATA: button_event TYPE REF TO CL_HTMLB_EVENT_BUTTON.
        button_event ?= event.
      ENDIF.
        case event->id.
            when 'select'.
               if v_visitor = ''.
                 page->messages->add_message(
                 condition = 'vname'
                 message   = 'Visitor Name can not be blank'
                 severity  = page->messages->CO_SEVERITY_ERROR ).
              ELSE.
                    here u can write ur when ur field getting filled
            endif.
         endcase.
    endif.
    give marks if it is helpful
    thanks

  • How to change the input and output schema in BPEL process

    hi',
    Please tell me how to change the input and output schema in BPEL process after the process is made.
    thanks
    Yatan

    If your intention is just changing the content you are passing to bpel/returning from bpel
    Here is another way
    just update your default created xsd files with new elements, update wsdl elements in message definition and chnage bpel code to reflect new elements in activities
    Regards,
    Praveen

  • How to make the inputs appear in Playback

    Hi,
    I would like to know how to make the inputs (line-in, mic, SPDIF-in) appear in playback of windows's mixer ?
    Im running XP pro sp3 with XFI Extreme Audio PCI-Express.
    I dont know why but there is no inputs in playback that making me unable to hear it while its being recorded.
    <img border="0" height="405" width="640" src="http://img70.imageshack.us/img70/672/mixergq0.png">
    <img border="0" height="542" width="640" src="http://img399.imageshack.us/img399/486/allmysettingsmq2.png">
    Message Edited by Nuja on 0-06-2009 2:07 [email protected]

    - I've read a little more and come to these conclusions:
    . The instructions presume that a CD is included with the card for the purpose of installing the software. A CD/DVD reader is a requirement for this reason.
    2. The card uses Intel HD Audio. This changes enough of what I know about CL's card that I really don't know that the lack of external inputs in the playback mixer is not intentional and uni'versal. A recording application could let you listen to what is being recorded by having an option of playing back what's being recorded.
    I have enough uncertainty now that I don't think it's useful for me to continue commenting. If someone who has a? PCI Express X-Fi Xtreme Audio that came with the software CD and hard-copy documentation wishes to share whether or not they have line-in, etc. in the playback mixer, it could be useful.
    -Dave
    ?[email protected]

  • How to refresh the input text value in backing bean

    hi all
    i want to know
    how to refresh the input text value in backing bean?
    i have tried this code ,but it doesnt work
    public void click(ActionEvent actionEvent) {
    tempConId.setValue("111111111111111");
    AdfFacesContext.getCurrentInstance().addPartialTarget(tempConId);
    sb know?
    Edited by: Joe Zou on 2012-4-6 下午9:11

    The code looks good.
    Here is a sample based on your use-case:
    InputTextSample.jspx:
    <af:form id="f1">
            <af:panelFormLayout id="pfl1">
              <f:facet name="footer">
                <af:commandButton text="Ok" id="cb1" partialSubmit="true"
                                  actionListener="#{InputTextSampleBean.onClick}"/>
              </f:facet>
              <af:inputText label="InputText" id="it1"
                            binding="#{InputTextSampleBean.myInputText}"/>
            </af:panelFormLayout>
          </af:form>
    InputTextSampleBean.java:
    import javax.faces.event.ActionEvent;
    import oracle.adf.view.rich.component.rich.input.RichInputText;
    import oracle.adf.view.rich.context.AdfFacesContext;
    public class InputTextSampleBean {
        private RichInputText myInputText;
        public InputTextSampleBean() {
        public void setMyInputText(RichInputText myInputText) {
            this.myInputText = myInputText;
        public RichInputText getMyInputText() {
            return myInputText;
        public void onClick(ActionEvent actionEvent) {
            this.myInputText.setValue("1234");
            AdfFacesContext adfFacesContext = AdfFacesContext.getCurrentInstance();
            adfFacesContext.addPartialTarget(this.myInputText);
    }

  • How to verify the status of lock object???

    Hello,
    How to verify the status of lock object???
    I need to know the status of the lock object and put the user in list.
    Exists a FM for this?
    Thanks!

    You can check the list of lock objects for the ztable by this way....
    Go to SE11, click the radibutton for lock object, then do F4 on the field. Click the "All Selections" icon, in the "Basis Table" field, put the table that you want the lock object for. click green check.
    Regards.

  • How to read the 'Input help with fixed values' of domain .

    How to read the 'Input help with fixed values' of domain .
    The domain has a Value range i want to read those values .
    Are these values stored in any table ?
    Plz help me i need it ver badly...
    Thanks in Advance...

    Hi Chandra Shekhar,
    To read the 'Input help with fixed values' of domain , you can use the function module : HR_P_GET_FIXED_VALUE_TEXT.
    iIf you enter the domain name, you will find the fixed values entered in the domain.
    These values are stored in a table DD07L(DD zero 7 L). Here the values are stored based on domain name.
    See if it works for you.
    Award points if its helpful.
    Regards,
    Bhanu

  • How to get the input details on the output screen in T code KCR0

    Hi All,
    How to get the input details on the output screen in T code KCR0, the issue is that we need to get the input details like Company code and payment date on the output screen while executing the report painter via t code KCR0.
    I tried to chane the settings via t code KCR6 but still didn't get the required output details.
    Regards,
    Ajay

    This is the asset accounting forum.  You should post your question in the proper forum.

  • How to disply the input text box when the data in the table is empty

    Hi,
    I m using JDeveloper 11g 5.1.1.1 : How to display the Input text box when the data in the table is empty or by using the dual table.
    Since there is no record in the table, screen is displying only the lable. not displying the Input text box.? Any property is there to enable?.
    One more case i tried by using dual (eg Select '0' as name from dual) created one view object and dragged in the JSF screen as input combo box with list of values.
    In this case also it is not displaying the combo box.Just displaying the Lable name and 0 only.
    Regards
    Bijesh K

    Hi,
    I didn,t get you.Could you please explain. I am not choosing the ADF table. Selecting and dragging ADF form only.
    Regards
    Bijesh K

  • How to view the input and output layouts created in the planning folder?

    Hi all,
    How to view the input and output layouts created in the planning folder in the bw 3.5?
    Thanks
    Pooja

    Hi,
    You can refer to this link. How to create planning folder and executing the planning folder.
    http://help.sap.com/saphelp_nw04/Helpdata/EN/5d/7c4b52691011d4b2f00050dadfb23f/frameset.htm
    Hope this helps

  • How to pass the input control

    Hi, how to pass the input control from  1 report to another report please reply me ...

    HI Stefen,
    That feature is not yet provided .
    But you can achieve if you ahve that kind of requirement using the reportfilter summary options.
    please check if it can help you
    User input control for more than one tab in webI

  • How to verify the AP detail (ip, MAC, etc) on WLC in CLI mode

    How to verify the AP detail (ip, MAC, etc) on WLC in CLI mode

    You can do a show run-config or else do a show ap ? and that will list commands you can run. You might have to enter different commands to get the info you want.
    Or use the wlc config analyzer which takes your show run-config and puts it in a nice format.
    I don't know what info you are looking for, but their isn't one command that just gives you all the ap details. Try the config analyzer it might be the easiest for you.
    https://supportforums.cisco.com/docs/DOC-1373
    Sent from Cisco Technical Support iPhone App

  • HOW to Restrict the input Help for 0MATERIAL in the BPS Layout

    Hi,
    I have requirement to Restrict the input Help for 0MATERIAL  in the BPS Layout.
    For Example if the Planning Package is Restricted to SALES ORGANISATION ( 3000 )  then the system shuold  check the 0MAT_SALES  where SALES ORGANISATION IS "3000" )AND PASS THE Material Numbers to the 0material list.
    I have Copied the standard Funtcion group  "UPF_VARIABLE_USER_EXIT"  to Z fucttion and have attached to Z Variabe as User Exit .
    this Variable is  Attached to 0material in the Planning Pakage. So tha now the 0MATERIAL is restricted to the variable which is having the User Exit.
    But how to acces the Values of Planning Package for which the Layout is bein Executed from this Z User Exit ???
    I Know how to restrict the input help, but my only problem is that how to get the values of Planning package through this User Exit.
    Please suggest if it is possible.
    Regards,
    Nilesh Labde

    Hi Nilesh,
    As I understand from your question,you know how to restrict but the issue is to know the value in the package with which you need to restrict.
    There are two tables which can help you finding the value used in package for sales organisation:
    1. UPC_PACKAGE
    2. UPC_OPTIOS
    How to use ?
    From UPC Package you will get one GUID, Hit the second table UPC_OPTIOS with this GUID.
    In field "FIELDNAME" enter the name of the characteristic whose value is req (sales organisation in your case)
    Hope this helps you
    Mann

  • How to Verify the Variable Input in Customer EXIT

    Hi,
          I have a requirement to find out "Estimated Hours Total Calculation" with User input date range. I know little bit knowledge about Customer Exits please some one give me how to write code in CMOD. I have requirement how to get the Extimated Hours Total Calculation is follows ....
            Actual hours are the Hour Meter Reading used by the truck, it's calculated based on the "from and to" date parameters.       
    Collect the initial hours and adjusted hours from EM.       
    Get the PMN and Service Order data close to or within the Date Range.     
    1) If the Fleet Management Date (Start-up Date on EM) started before the input date Date Range (From-Date), calculate the average usage (in hours) based on the initial hours and the first PMN (or SO) falls within the Date Range to estimate the hour usage at start of Date Range. 
    2) If the Fleet Management Date started after the From-Date, use the Hour Meter (EM) as the Estimated Hours Begin. 
    3)If the last PMN (or SO) fell short of the Date Range (To-Date), obtain the Estimated Hours End by applying the average usage to fill the time-gap.       
    4)If the last PMN (or SO) fell after the Date Range (To-Date), get the Estimated Hours End by getting the next to last PMN performed inside the window parameter,           
         calculate the average usage between the two PMN's (or SO's) then apply the weighted average to fill the time-gap.       
    Adjusted Hours, if not zero or null, needs to be added to the Ending Hours to achieve the real number. 
    For Example
    User Input Date Range:  Jan. 1, 2006 - Dec. 31, 2006          
    Initial Hour (Equipment Master):  10          
    Adjusted Hours (Equipment Master): 0          
    Fleet Management Date (Equipment Master):  Dec. 1, 2005          
    1st PM Notification (Feb. 1, 2006):  410          
    Last PM Notification (Feb. 1, 2007):  2810          
    Second to last PMN (Dec. 1, 2006):  2410          
         Equipment was put into service (12/1/05) before the Date Range, needs to find the Estimated Hours Begin.     
         The first PM was performed (2/1/06) exactly two months from in-service date (12/1/05).
         Average monthly usuage from first PMN = (410 - 10) / 2 = 200
         Estimated Hours Begin = 200 + 10 = 210 (estimated Hour Meter Reading on Jan. 1, 2006)
         Average monthly usuage from the last 2 PMN = (2810 - 2410) / 2 months = 200
         Estimated Hours End = 2410 + 200 + 0 (adjusted hours) = 2610 (estimated Hour Meter Reading on Dec. 31, 2006)
         Estimated Hours Total = 2610 - 210 = 2400
               Please give me your valuable answers. Please let me know if you need any further information.
    Thanks
    Dave Sam.

    hi,
    well, your requirement seems clear but complex and needs more clarification:
    - what kind of infoprovider do you use
    - what is posted in your provider, I mean which characteristics and and key figures (name and descriptions)
    - what is the user input
    depending on that, the implementation may vary
    Please clarifiy
    Olivier.

Maybe you are looking for

  • How to change the recipients in workflow?

    I'm not  a workflow expert. Please help me how to change the recipients in workflow. The approver already resigned and we would like to change it to a new approver. We already deactivated the user and I stiil see him in SOST. In some releases, he is

  • Question about Java's use.

    Hello. Nowadays in my shcool we are learning Java and I am pretty good in it (to my age , I think.. ) Anyways , I asked my firend what the biggest use of Java, He said that usually , Java is used for communication between servers. my Teacher said tha

  • Status on RE:Reporting after many forte tasks run

     

  • Report KeyMapping File Question

    Hi, I am using Reports6i and have created keymap file to hide the username and password. The issue is that any user can get to the key map (if s/he finds out the report server name) and then can see the database username and password. Is there any wa

  • Print to PDF (Acrobat9) from InDesign CS4

    The Adobe PDF Conversion Settings will not allow me to use other settings than "standard.joboption". If I choose other settings it automatically jumps back to "standard. Anyone else got the same problem or maybe a solution?