WDA: No message for validation check on dynamic context / UI

Hello,
The WD framework is checking user input to the UI elements automatically.
If I use an input field ( bound to a structure containing  a Data Element of type DEC 3   for example) and enter a non-numerical value I will see this message:
"The Entered Value Can Only Contain Numerical Characters"  
in the message area.
If I do the same with dynamic code ( Context and UI elements are created dynamically) this message does not appear.
The application behaves  like the "manual built" one ( I can't navigate away until the "wrong" value is corrected ), but the inputfield with the "wrong content" is not highlighted and the message is not displayed in the message area.
I'm using the following methods to create the dynamic UI:
  CALL METHOD cl_wd_dynamic_tool=>create_nodeinfo_from_struct
    EXPORTING
      parent_info    = lr_root_node_info
      structure_name = lv_linetype_name
      is_multiple    = abap_false
      node_name      = dyn_field_context_name
    RECEIVING
      new_node       = lr_node_info.
CALL METHOD cl_wd_input_field=>new_input_field
        EXPORTING
          id             = lv_input_id
          bind_read_only = lv_bind_read_only
          bind_value     = lv_bind_name
          length         = lv_length
          VIEW           = lr_view
        RECEIVING
          control        = lr_input_field.
Is there anything else that I need to do to make the message appear?
We are running on NW2004s/SP9
Best Regards
  Waldemar
There is a problem in the method
CL_WDR_MESSAGE_MANAGER->GET_MESSAGES_FOR_WINDOW().
In my case we had two views with the same name (one in a start-component, one in the target-component). After renaming the 2nd. view everything works fine.
Note 964613 describes a similar problem, but didn't solve ist entirely.
Message was edited by: Waldemar Knorr

It is disconcerting that I have read in the forum that the column value references such as f0x and its row number are required to get it all working (as a DOM or JQuery selector).Not necessarily. One possibility is to use descendent jQuery selectors to attach the dynamic action event handler by column heading:
td[headers="HIREDATE"] input

Similar Messages

  • No message for validation error "format", type "date", field "date-expired"

    Dear
    Guys,
    i am getting the following error : ((No message for validation error "format", type "date", field "date-expired"))
    When trying to upload adobe connect 7 license to the adobe connect 7 configuration wizard. the problem occurs because my server was install on Arabic Saudi Arabia date format while installation, but if i change the windows date format to US then the problem still occurs, and formatting windows is not possible, could anybody help??
    Regards

    Thank you for replying,
    No i am not on host mode, a have installed it deferent times ago successfully, but the only problem now is that during the installation windows server 2008 the default language, time and date. Was set Arabic Saudi Arabia. And even changing it does not solve the problem, as i mentioned above.

  • A t.code to create Messages for Validations (OB28)

    Hi All,
    could anyone tell me ow to create Messages for Validations (OB28) ?
    Is there a t.code to manage  the messages ?
    Thanks

    Hi,
    The transaction is SE91.
    Regards,
    Eli

  • Custom Error Message for Validation.....

    Here is my Validation:
    I want the error which is grown from what is wrong on the page to display after the validation.
    the GUI for validation will not let me leave the Validation ERROR box empty...just not sure how to get around this.
    DECLARE
    isValid BOOLEAN := TRUE;
    message VARCHAR2(4000):='';
    BEGIN
    if (:P14_EXISTING_METRIC_NAME IS NULL and :P14_METRIC_NAME IS NULL)
    then
    message := 'Metric Name is Not Chosen:';
    isValid := FALSE;
    end if;
    if   (:P14_EXISTING_SUB_VALUE IS NULL and :P14_METRIC_SUBNAME IS NULL)
    then
    message := message || ' Sub Metric Name is Not Chosen:';
    isValid := FALSE;
    end if;
    if NOT REGEXP_LIKE(:P14_METRIC_VALUE,'expression')
      then
    message := message || ' Value is not Numeric:';
      isValid := FALSE;
    end if;
    if NOT isValid
    then
       raise_application_error (-20001,message);
    end if;
    END;Edited by: bostonmacosx on Feb 27, 2013 12:05 PM

    SO what I did was make sure that the process doesn't go false:
    and at the end just checked my messages and added an error on the end. WHEW hope this helps someone in the future.
    DECLARE
    isValid BOOLEAN := TRUE;
    message VARCHAR2(4000):=NULL;
    BEGIN
    if (:P14_EXISTING_METRIC_NAME IS NULL and :P14_METRIC_NAME IS NULL)
    then
    message := 'Metric Name is Not Chosen<BR>';
    end if;
    if   (:P14_EXISTING_SUB_VALUE IS NULL and :P14_METRIC_SUBNAME IS NULL)
    then
    message := message || ' Sub Metric Name is Not Chosen<BR>';
    end if;
    if (NOT REGEXP_LIKE(:P14_METRIC_VALUE,'^(\d{1,99})\.(\d{0,99})$') or :P14_METRIC_VALUE IS NULL)
      then
    message := message || ' Value is not Numeric<BR>';
    end if;
    if message IS NOT NULL
    then
    apex_error.add_error (
            p_message          => message,
            p_display_location => apex_error.c_inline_in_notification );
    end if;
    END;Edited by: bostonmacosx on Feb 27, 2013 12:52 PM

  • How to create messages for Validation in transaction type OB28

    Hello All!
    I am creating a validation in transaction type ob28. I have created the first point "prerequisite", second point "Check" and in the third point "Message" I want to put the message number 016 but the next error appears "Entry E ZFI 160 does not exist in T100". How can I create this messages number?
    Thank you in advance!

    Hi Leyre,
    This message applies to a problem with change requests. When creating a message, it's a workbench request that system has to create. Apparently, when you try to create a message, it tries to catch 'tramp' on existing CR which is assigned to a different client in your system. You should try assigning a new CR for this change; you could ask your BASIS team to help you on this.
    Regards,
    Eli

  • Error messages for code checking

    When I check the code with the code checker in Homesite, I get the error message that I have not closed a tag, such as <cfset> but when I check the code the tag is closed.  Is this a bug or am I doing something wrong?

    HTML Tidy is a program for checking the syntax of HTML code
    Online Entertainment Submit Articles quang ba web cong ty luat

  • Error message - "Overlapping validity areas were found for country BR"

    Hi Experts,
    For a certain output type Y953 (e.g. for the shipment 2002355665 related to the DN 3087912658), an error message "Overlapping validity areas were found for country BR" is coming in as error.
    The error message is appearing during the idoc processing of the shipment.
    This is an incident of Dangerous Goods.
    I would like to know if it is technically / functionally possible to find out as to why exactly this mesage is coming and how can we rectify the problem.
    From technical point of view we checked that this message was not being called in the SAP system but was dynamically called.
    kindly let me know of any breakthrough as this issue is critical as dangerous goods are being transported without needed documents printed.
    Thanks in advance.
    RIttik

    Check whether note 836139 helps you.
    thanks
    G. Lakshmipathi

  • Regarding Error message in ME_PROCESS_PO_CUST badi for validation.

    hi Friends,
    I am Using ME_PROCESS_PO_CUST badi for validation in Purchase order (ME21N),
    For that I implemented PROCESS_ITEM method which fires during each row now i  add another validation in same implementation for plant  should be same through out the all line item. Now following code is woking fine but when for second line item user changese plant then it shows error message as per logic which is fine but even after changing plant to correct one the error message is still coming why is it so?
    following is my current validation code
    method IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM.
      DATA:ls_poitem TYPE mepoitem,
           ls_poitem_set TYPE mepoitem.
      DATA:ls_poheader TYPE MEPOHEADER.
      DATA:lm_poheader TYPE ref to IF_PURCHASE_ORDER_MM.
      DATA:w_mara TYPE mara.
      DATA:IT_ZMMTBL039 TYPE STANDARD TABLE OF ZMMTBL039 ,
           WA_ZMMTBL039 TYPE ZMMTBL039 .
      DATA:ls_poitem1 TYPE mepoitem.
      DATA:V_KUNNR1 TYPE KNA1-KUNNR.
      DATA:V_KUNNR2 TYPE KNA1-KUNNR.
      DATA:W_WERKS(4),
           w_werks_tmp(4),
           w_flag(1).
      ls_poitem = im_item->get_data( ).
      lm_poheader = im_item->GET_HEADER( ).
      ls_poheader = lm_poheader->GET_DATA( ).
      IF ls_poitem-werks IS NOT INITIAL.
        w_werks = ls_poitem-werks.
        import w_flag to w_flag from MEMORY ID 'FLAG'.
        if w_flag is initial.
          w_flag = 'X'.
          EXPORT w_werks_tmp FROM w_werks TO MEMORY ID 'MEMO1'.
          export w_flag from w_flag to MEMORY ID 'FLAG'.
          clear: w_flag.
        endif.
      ENDIF.
      IMPORT w_werks_tmp TO w_werks FROM MEMORY ID 'MEMO1'.
    break swaroopb.
      IF ls_poitem-werks NE w_werks.
          MESSAGE E010(zparts) with 'Different plants are not allowed in single PO.'.
      ENDIF.
      CLEAR: WA_ZMMTBL039,w_mara.
      REFRESH:IT_ZMMTBL039[] .
      SELECT *
        INTO TABLE IT_ZMMTBL039
        FROM ZMMTBL039
       WHERE bsart EQ ls_poheader-bsart.
      IF sy-subrc EQ 0.
        CLEAR: WA_ZMMTBL039,w_mara.
        SELECT SINGLE *
          INTO w_mara
          FROM mara
         WHERE matnr EQ ls_poitem-MATNR.
        IF SY-SUBRC EQ 0.
          READ TABLE IT_ZMMTBL039 INTO WA_ZMMTBL039 WITH KEY  bsart = ls_poheader-bsart
                                                              mtart = w_mara-mtart
                                                              spart = w_mara-spart.
          IF SY-SUBRC NE 0.
            MESSAGE E009(zparts) WITH ls_poitem-MATNR w_mara-spart ls_poheader-bsart .
          ENDIF.
        ENDIF.
      ENDIF.
    end method

    Hello Swarup
    Since you want to compare all items together (having the same plant) I would suggest to implement this logic either in method CHECK or POST of the interface.
    However, if you want to make your checks within the PROCESS_ITEM method then you should change your logic.
    It does not make sense to work with the ABAP memory within a BAdI implementing class because the class itself is your "memory".
    I would use the following logic to implement your validation:
      lo_poheader = im_item->get_header( ).  " retrieve header instance
      lt_items = lo_poheader->get_items( ).   " retrieve all items
      ls_detail_x = im_item->get_detail( ).  " details of currently processed item
      LOOP AT lt_items INTO ls_item.
        ls_detail = ls_item-item->get_detail( ).
        IF ( ls_detail-werks NE ls_detail_x-werks ).  " validation failed
        " do something...
       ENDIF.
      ENDLOOP.
    However, I would prefer to do this kind of validation in CHECK or POST method.
    Regards,
      Uwe

  • Validation check for Tcode FB10 and FB60 - FICO.

    I have an issue in validation check for Tcode 'FB60' and  'FB10'.
    there are two exits coded for these transactions through transaction 'GGB0'.
    details for the two exits.
    exit 1.
      when posting a vendor invoice, the network status is checked whether it is completed or not - if status is completed error message is raised.
    exit 2.
      when posting vendor invoice - for G/L Account in 60000 - 69999 series network should not be posted. if posted error message is raised.
    when these two exits are entered via a prerequisites in code 'KGB' a code is generated automatically to call these exits- when transaction 'FB10' 'FB60' is executed.
    Issue:
    for  code 'FB10' is executed with network with status completed and with G/LP account in 60000 - 69999 series -
    error message is raised in sequence i.e. exit 1 is raised and then exit 2 is raised.
    but for code 'FB60' if condition for exit 2 is  not satisfied then exit 1 message is raised.
    but it should be in sequence in raising the error message i.e. exit 1 and then exit.
    Even though for both the transaction the auto generated code is similar and even exits are similar - but it is execution in raising the error message is diffrent.
    - Since it is auto generated code i am able to figure out the issue.
    i would appreciate if any one could help me out in this issue.
    thank you,
    with dregs,
    Karthik.

    Hi,
    I have tried what you have suggested. But still validation is not working
    I have done the following validation based on your inputs.
    Prerequisite
    Company Code = '1265' AND Transaction code = 'FB60' AND
    Account Type = 'K' OR
    Transaction code = 'F-43' AND Account Type = 'K' OR
    Transaction code = 'F-48' AND Account Type = 'K'
    Check
    Business Place > '' AND Business Place = Section Code
    Message
    E - Error Message
    Still it is not working.
    Please suggest.
    Best Regards
    Shashikanth.M

  • ISA order.jsp; message and validation for "Your reference" field

    Hi Everyone,
    I am new to ISA and working on java program to add message to "Your Reference" field in order.jsp page if this field is empty and clicked on "Check Out" button and user need to remain in the same page until user enters information in this field.
    Message is available in .xlf file.
    Please suggest me where to write this code for both message and validation for this field.
    Thanks in advance
    Prasad

    I fixed the requirement
    thanks
    Prasad

  • Validation Check for business place and section code.

    Hi Gurus
    Please provide me the prequisite check for creating a validation check for business place and section code.
    Regards,
    Vikas Malhotra

    Hii..
    Goto T.Code Ob28 write the following validation.
    Prerequisite
    BKPF-BUKRS = 'XXXX' AND BSEG-KOART = 'K' AND
    BSEG-QSSKZ = 'XX' AND BSEG-BSCHL <> '35' AND
    BSEG-BSCHL <> '25'
    Check
    BSEG-BUPLA = 'XXXX' AND BSEG-SECCO = 'XXXX'
    Message
    Message number ZFI    002
    Regards,
    Aakash

  • Ehancement for to check the validations in ME21n,ME22n,ME28,ME29n

    Hi experts...
    I have one requirement in Ehancement for to check the validations in ME21n,ME22n,ME28,ME29n...
    If the PO document date is after 31.12.2010 and vendor Group 1800 then check the Inco-terms with "SET" values whether the user entered value fals with in the "SET" value, if so then allow to save the PO else Else system should read the "SET" values and suggest user to select correct Inco terms.
    Example when user enter wrong Inco-Terms then system shoud give Error Message Please Select Inco-terms CPT or DAP or FCA..
    Can any body plz suggest me the user exit or Is it possible through the enhancement Framework...
    plz help me how to proceedd??
    Thanks & Regards,
    Veena.
    Moderator Message: Spec-dumping is not allowed.
    Edited by: kishan P on Jan 3, 2011 11:00 AM

    Hi Veena,
    To find a BADI for a given tcode follow the below steps.
    1. Go to the TCode.
    2. Menu Item System -> Status.
    3. Double click on the transaction Name (For ME21N double click on ME21N).
    4. Check the Package (e.g. ME)
    5. Go to TCode SE80
    6. In the drop down choose Package and type the Package Name (e.g. ME). Dont forget to Hit Enter or display.
    7. Object Name Enhancements -> Business Add-ins (Def.) (You will see all the BADI's available here ).
    In your case, you need BADI : ME_BAPI_PO_CUST.
    Go to SE19 to implement the BADI.
    If you put your conditions in Create Purchase Order(ME21N), you will not need to add them in Release PO(ME28N) since the conditions will be checked when PO is created.
    Regards,
    Jovito.

  • How to prevent error message for material description in MDG material detail screen, when user click on check action

    Dear Experts,
    I have a requirement for making material description as non mandetory in change request view of mdg material screen.
    I have done that using field usage in get data method of feeder classes, but still message is displaying.
    This message 'Material description is mandatory is displaying with check action only, but not with save or submit after i anhance field property as not mandetory.
    How to prevent error message for material description in MDG material detail screen, when user click on check action.
    Thanks
    Sukumar

    Hello Sukumar
    In IMG activity "Configure Properties of Change Request Step", you can completely deactivate the reuse area checks (but will then loose all other checks of the backend business logic as well).
    You can also set the error severity of the checks from Error to Warning (per CR type, not per check).
    Or you provide a default value for the material description, e.g. by implementing the BAdI USMD_RULE_SERVICE.
    Regards, Ingo Bruß

  • I got an error message for a music streaming website. It said to check proxy settings. Where do I find them on website?

    I got an error message recently when I opened my music streaming website (Whisperings PureStream). I've had this service for several years with no problem. The error message said to check proxy settings. Where do I find these settings, to modify or change as necessary?

    Try to update the Flash plugin to the latest version.
    *https://support.mozilla.com/kb/Managing+the+Flash+plugin
    *http://kb.mozillazine.org/Flash
    *http://www.adobe.com/software/flash/about/
    See also:
    *http://www.solopianoradio.com/listen.htm

  • How to programmatically set an error message for a validation rule of an EO

    Hello,
    Is there a way to programmatically set an error message when validating any data on an EO?
    It seems the API of the EO interface does not have any method to be defined for my needs..
    thanks

    The other option is that for the error message you can define a groovy expression to call an EO method.
    I documented this on my blog
    http://blogs.oracle.com/grantronald/entry/dynamic_error_messages_from_a
    Regards
    Grant

Maybe you are looking for

  • Adobe Photoshop Touch Question / Issue

    Hello, I bought Adobe Photoshop Touch some time ago for my Samsung Galaxy Tab 8.9 and I liked it so much. Of all the apps I had for photo editing, this one gave me all I need. I used to own Adobe Photoshop CS2 on my old PC so I wanted something for m

  • How do I get Unicode chars beyond the ASCII range to display ?

    Hello all. I have just recently started to learn Java. I want to display the data in a array using Unicode characters, but when I use the unicode code from the code sheet I merely get a ?. I looked about the net and understand that Java doesnt suppor

  • I have a 2010 Cadillac CTS that no longer works w/my iPhone 4 after iOS7 Upgrade.

    I have a 2010 Cadillac CTS that no longer works w/my iPhone 4 after iOS7 Upgrade.  Any suggestions?  It worked well before the upgrade.

  • App World not Workign since upgrade

    We upgrade Blackberry app world to my daughter's Curve and registered, now she cannot download anything, it keeps taking her to her profile page. We went to the closest blackberry provider and we were told there is a problem with App World after it u

  • Lost pictures iPhoto

    Hi all wondering if anyone can help. Yesterday my Macbook crashed and i had to do a total re-install. Hence i lost all my pictures from iPhoto. Now when i lauch iPhoto i can see all my pictures sitting there as thumbnails but when i click on them to