How to validate text fields in popup window

Hi All,
I need showing empty string validation  as tool tip for the text fields (RichInputText) on popup window when clicking submit button. kindly advice on this.

Hi
Below link me help u in implementing validation messages
http://andrejusb.blogspot.in/2008/04/adf-faces-rich-client-complex.html
Thanks
Nitesh

Similar Messages

  • How to change text of logon-popup-window from WAS ?

    hi there,
    i have a link in an email, which links to a application in WAS.
    the user gets an POPUP where he has to enter Username and Passwort.
    Above UserID there is a text "SAP Web Application Server [P02]"   (P02 is my system)
    does anybody know how to CHANGE this text ???
    reg, Martin

    Hi Martin Svik,
        Could you please check the below links :
        http://help.sap.com/saphelp_nw70/helpdata/en/23/c0e240beb0702ae10000000a155106/frameset.htm
       and
             http://help.sap.com/saphelp_erp2005vp/helpdata/EN/34/608a44002f41c2a7bcd923758dc03a/content.htm
    Regards,
    S.Manu.

  • How to get hidden field  in popup  window (using jsf)

    Hi,
    I have one hidden field in page first.jsp like <h:inpuHidden id="checkedVals" value="" />.
    from first page i am opening popup (second.jsp) by onclick with command button.
    how can i get the hidden field in second.jsp?
    I want to make a hidden field in second.jsp with the value of hidden filed in first.jsp
    Please help me....
    Thanks in advance

    Hi
    This can help you.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
           EXPORTING
                retfield    = 'input field name'
                dynpprog    = 'progname'
                dynpnr      = 'dynnum'
                dynprofield = 'structure-inputfield name'
                value_org   = 'S'
           TABLES
                value_tab   = tbl_values_tab.(values u want to get while pressing f4)
    Reward if it is useful.
    Thanks
    Siva Kumar

  • How to validate text field against PICK_DATE_FORMAT_MASK format ?

    Hi Folks,
    At application level i've defined a substitution variable PICK_DATE_FORMAT_MASK which stores a date format for all date fields.
    On actual page, I have an editable field (Date Picker (use application format mask)) which stores date value.
    I would like to add a validation to that field, which would validate value entered by user (if he decide not to use date picker!) - validation if entered value is in PICK_DATE_FORMAT_MASK format mask.
    For example:
    if PICK_DATE_FORMAT_MASK = 'DD/MM/YYYY'
    and on my page if user enters: 01-JAN-2009 then validation error should be raised => "Entered date is in incorrect format!"
    Any idea?
    Thanks,
    Tomas

    Hi,
    You don't need to manually test the date against the format - SQL will do that for you and generate errors if it can't make a date from the string using the format supplied.
    For example:
    DECLARE
    vDATE DATE;
    vLEN NUMBER;
    vDATELEN NUMBER;
    BEGIN
    vLEN := LENGTH(:PICK_DATE_FORMAT_MASK);
    vDATELEN := LENGTH(:P1_DATE);
    IF vLEN &lt;&gt; vDATELEN THEN
      RETURN 'Invalid date - use ' || :PICK_DATE_FORMAT_MASK || ' formatted dates only!';
    ELSE
      vDATE := TO_DATE(:P1_DATE, :PICK_DATE_FORMAT_MASK);
      RETURN NULL;
    END IF;
    EXCEPTION WHEN OTHERS THEN
    RETURN 'Invalid date - use ' || :PICK_DATE_FORMAT_MASK || ' formatted dates only!';
    END;This would be for a validation that returns an error message - a NULL return value indicates success - you can change this as required. Note that I am also checking the lengths of the date and the format string as, in some instances, 2-digit years will be accepted even if a 4-digit year is specified in the format string.
    Andy

  • How to get the values from popup window to mainwindow

    HI all,
       I want to get the details from popup window.
          i have three input fields and one search button in my main window. when i click search button it should display popup window.whenever i click on selected row of the popup window table ,values should be visible in my main window input fields.(normal tables)
       now i am able to display popup window with values.How to get the values from popup window now.
       I can anybody explain me clearly.
    Thanks&Regards
    kranthi

    Hi Kranthi,
    Every webdynpro component has a global controller called the component controller which is visible to all other controllers within the component.So whenever you want to share some data in between 2 different views you can just make it a point to use the component controller's context for the same. For your requirement (within your popups view context) you will have have to copy the component controllers context to your view. You then will have to (programmatically) fill this context with your desired data in this popup view. You can then be able to read this context from whichever view you want. I hope that this would have made it clear for you. Am also giving you an [example|http://****************/Tutorials/WebDynproABAP/Modalbox/page1.htm] which you can go through which would give you a perfect understanding of all this. In this example the user has an input field in the main view. The user enters a customer number & presses on a pushbutton. The corresponding sales orders are then displayed in a popup window for the user. The user can then select any sales order & press on a button in the popup. These values would then get copied to the table in the main view.
    Regards,
    Uday

  • How to validate input fields as the user is filling up a form with jQuery?

    Hello EA friends.
    Someone has experimented on how to validate input fields as the user is filling up a form with jQuery?, if the field is numeric and insert an A for example, an alert appears showing "insert a number" or not allowed to enter anything until a number is entered.
    Thanks and regards.
    Fer

    Hi Sudeshna.
    Sorry for not responding on time, how can I be included in this code?
    sym.setVariable("typeActivity", "input")
    var Element_1=document.createElement(typeActivity);
    $(Element_1).css({"text-align": "center"});
    //Answer
    sym.setVariable("Answer_1", "4");
    sym.$("box_1").append(Element_1)
    This code is on my creationComplete and it works fine.
    Would greatly appreciate your help.
    Regards.
    Fer García

  • How to get F4 help in popup window

    Hi all,
    I have to show a popup window after I click on SAVE button of a standard transaction CV01n. I am using BADI for this purpose. I am able to display popup for taking input as "user name". But problem is that I need to provide F4 help to the input field of popup window. After I press F4 I need to display user names which I have stored in one Z table. As I am writing code in BADI i am not able to write any sub-routine or not able to call any sub-screen/selection-screen etc.
    Please tell me how can I provide F4 help to the input fields of popup window.
    Thank in advance.

    Hi
    This can help you.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
           EXPORTING
                retfield    = 'input field name'
                dynpprog    = 'progname'
                dynpnr      = 'dynnum'
                dynprofield = 'structure-inputfield name'
                value_org   = 'S'
           TABLES
                value_tab   = tbl_values_tab.(values u want to get while pressing f4)
    Reward if it is useful.
    Thanks
    Siva Kumar

  • Hot to copy text from a Popup Windows in SAP CRM 7.0?

    Hi guys,
    we want to copy text from a POPUP Windows but you cannot highlighttext there.
    We've tried with "Popup to Decide List" and "Popup for Reuse components".
    Do you know if is possible to copy text from a POP-UP Windows in CRM WUI 7.0?
    We also have tried to export text to the clipboard using:
    CALL METHOD cl_gui_frontend_services=>clipboard_export
      IMPORTING
         data = lt_tab
      CHANGING
         rc = vl_rc
      EXCEPTIONS
         cntl_error = 1
         error_no_gui = 2
         not_supported_by_gui = 3
         no_authority = 4
      OTHERS = 5.
    It doesnu2019t work neither. It gets the exception CNTL_ERROR.
    Do you know any other Function/Class for this purpose?
    Thanks in advance.
    Fernando.-

    Solved.
    I've used a Text Area.

  • How to validate the field when i am populating the data cursor to block

    Hi,
    I am populating data cursor to multi record block.
    Block contain 5 items. I am populating data cursor to block for 4 items. User will enter one item value that is quantity field.
    If user enter negative values and decimal points in quantity filed i need to display message to user item level.
    Please do the needful how to do it.

    902434 wrote:
    Hi,
    I am populating data cursor to multi record block.
    Block contain 5 items. I am populating data cursor to block for 4 items. User will enter one item value that is quantity field.
    If user enter negative values and decimal points in quantity filed i need to display message to user item level.
    Please do the needful how to do it.If you want to validate at entry level then use When-Validate-Item trigger and check the input and show message. Like
    If :quentity <0 then
    message('do not enter negative value');
    message('do not enter negative value');
    raise form_trigger_failure;
    end if;Why u open same thread again ? not closing one.. check this one
    </a>
    How to validate the field when i am populating the data cursor to block
    Hopes this helps
    If someone's response is helpful or correct, please mark it accordingly.

  • How to validate the fields  and how to display the error messagein presenta

    Hi,
    I am new to OBPM 10g, pls tell me how to validate the fields in a presentation.
    for example if we take login presentation if user enters his user name and password wrongle and submit the form. Then we need to display error message right side of the each field i.e user name and passowrd is wrong and try again.
    Regards
    jaya
    Edited by: 12345 on Aug 12, 2010 10:38 PM

    Hi Jaya,
    You can initially set the validation for empty values.. that is when the user dint enters any value and clicks on submit.
    for these vadliations you need to write a method and call it on submit button click!!
    secondly, you can validate for the format if required.
    thirdly, you can validate against a database for the credentials. For this you need to fetch list of usernames from database and search for user entered value in that list.
    Optimal query would be : if user name not null, query for pwd of the entered user name from database or file storage. if you dont get any value for pwd of given username, its incorrect user name. if you get some pwd value for username, then check against the one user entered in pwd field..
    Write all this logic in a method and call on submit button click event of the login form!!
    HTH
    Sharma

  • How to validate ch field in selection screen

    hi experts.......
    how to validate ch field selection screen......... and which function module is used to validate parameter field i.e character

    Hello,
                Is your requirement to Validate the Character Field? This is what I understand. If it is right, then do you want to Validate whether a Character Value is entered?
                Check the below Sample Code.
    At Selection-Screen on P_CHARFIELD.
        IF P_CHARFIELD CA '1234567890'.
            Message 'Enter an Alpha Character only' Type 'E'.
        Endif.
    Thanks and Regards,
    Venkat Phani Prasad Konduri

  • How to stop the Company Code popup window in MIRO!

    Hi,
    When User logs in the system and enters into the MIRO transaction, he is asked to enter the Company Code first in order to proceed further. I know that once you enter the company code then the system does not ask it to enter again during that login, however, it will asks again whenever User login the system again!
    Can someone tell that how to stop this Company Code popup window in MIRO, so that the system should not ask for the Comp Code whenever User logs in and enters into MIRO? I think there are some entries maintained in the User Master for this!
    Thanks.

    Hi,
    It is Necessary for the user to enter the company code for which he need to process the Invoice.
    First think is if the user knows ,that he is only going to do for one company code.then
    in the T code SU3.
    In the parameter TAB
    you can make the Default value for the parameter ID BUK as your Comany Code value ( Eg 1000)
    so that when ever the user does the MIRO ,it comes with that company code only.
    and if he want to do for another comapany code ,he has to use the option of Switching the comapny code.
    so this is user dependent and has to be made for all users.
    Note .the above setting works only you have entered saved and logged off and log in again.
    also ,this value gets defaulted you all the comapny codes in all screen.
    Hope so it helps.
    Regards
    Anjanna.

  • How to validate input fields in a popup?

    Hi guys,
    i have a popup containing some input fields which i have to validate before closing the popup (if the validation fails, the popup should stay opened and print some error messages).
    But since my view (inside the popup) doesn't has any events, because i use the popup buttons like recommended in other postings, i don't know where to apply the validation.
    Any tips are very welcome.
    Best regards
    Philipp

    Thanks for the tip!
    I think you mean something like
      lr_view_controller = wd_this->wd_get_api( ).
      lo_window->subscribe_to_button_event(
      button = if_wd_window=>co_button_ok
      button_text = 'Person anlegen'
      action_name = 'PERFORMCREATE_PERS'
      action_view = lr_view_controller ).
    But this binds methods of the "parent" (in my case the MAIN view) to the button, which gets applied after the view got closed!?
    How can i bind methods IN the called popup view and perfom them BEFORE the close.
    I'm sorry if i don't see obvious things.
    Best regards
    Philipp

  • How to validate a field of type text for similar values

    Hi,
    My requirement is to validate a field <b>Name1</b> of type Text[40] for similar values when a new record is created. So If the Name1 already exist in repository, the validation has to give warning message saying the customer with Name1 already exist.
    Regards,
    Madhu

    Hi Madhu
    To validate a particular field, when a new record comes along with the same value SAP MDM is not capable of generating warning messages, but we can have best method of Tracking at Import manager level.
    In the Import manager after successful mapping, access the MATCH RECORD tab. Go to the Default import action area there you can find Match type & Default import action. For example if you are sending same Material record which is already available in the Repository, Match type will have the value “EXACT” where as Default Import action will have “UPDATE (ALL MAPPED FIELDS or NULL FIELDS)”.
    Here I have copied various Match types as well as Default Import Actions along with the definitions, pls go thru the same and feel free to revert to me for further clarifications.
    <u><b>Default Import Action</b></u>
    <b>Skip -></b> Skip source value combinations that already
            exist.
    <b>Update(NULL Qualifiers Only) -></b>     Update just the NULL remaining qualifiers of each existing qualified lookup value.
    <b>Update (All Mapped Qualifiers)-></b> Update all the remaining qualifiers of each existing
    qualified lookup value.
    <b>Replace -></b> Replace all the remaining qualifiers of each existing qualified lookup value by first deleting them and then creating a new value combination.
    <b>Delete -></b> Delete this qualified lookup value during import Processing.
    <u><b>Match Type</b></u>
    <b>None -></b> None
    <b>Exact -> </b> Whether the match type for the destination record with the current source
    record is Exact.
    <b>Partial -></b> Whether the match type for the destination record with the current source
    record is Partial.
    <b>Conflict -></b> Whether the match type for the destination record with the current source
    record is Conflict.
    Thanks
    Alexander
    Message was edited by: Alexander Raja

  • How to store text field data from web dynpro application in pcd ?

    Hi Forum,
    I am new to web Dynpro.
    I want to store user specific data (a text field value) from a wd application in PCD and access it every time the user runs the application.How can I achieve this?
    Thanks,
    Mickey.

    Hi
    I created the "read" and "update" methods in my application service. How can I call them? I created and implemented the methods just like here: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/340fc0ea-0c01-0010-74bf-965b11031e77
    Operations:
    - readMyEntityService:
    - updateMyEntityService
    Implementation:
    retValue = getMyEntityService().read(key);
    getMyEntityService().update(dS0);
    In Web Dynpro there is this update method with the code above (in my original post).
    How can I call the update-method????????
    Kind regards
    Bettina

Maybe you are looking for

  • No system assigned for partner in transaction DPCOMMON_MAP_P_S ( Dealer Portal)

    Hello all, Sorry to post a very basic question, but I am quite new to Dealer Portal and SD functional module. Request to help. I have deployed spare part business package on portal. BP documentaion link. http://help.sap.com/erp2005_ehp_04/helpdata/EN

  • Difference between call transaction and session method

    Hello Experts. i have one doubt. suppose if we have 100 records to upload, and we got an error in 55 record. In this case what will call trans will do and what will session will do. i mean the call trans will process 56th record or not . will it stop

  • Edge Animate code into Dreamweaver jquery mobile theme?

    I am having trouble getting my Edge Animate file to work on my Dreamweaver jquery mobile theme web site. I was told to get the code from my animate file and put it in my dreamweaver web site. Kind of like this.....copy the Edge runtime code, paste in

  • Make to Oreder

    Hi Experts, I am working on purely MTO senario with following settings: FERT Strategy:20,Ind/Coll Ind;blank ROH strategy;blank,Ind/Coll:Blank Against the sales order I am running the MRP through MD02,getting purchase req for ROH with sales order stoc

  • Using RealPlayer control in OLE container to play video

    Hi everyone, I am a student and I want to use Oracle OLE control in Oracle forms to implement some multimedia data. I choose RealPlayer G2 control / Window media Player / even Oracle Video Control to do this. But I have one common problem that I can'