GP Web Dynpro Error message display

Hi All
How to show Input Error on Web Dynpro Callable Object?
Not like Normal Web dynpro, IWDMessageManager doesn't work in GP Web dynpro.
Thanks in Advance

By input error do you mean you are validating the input and trying to display any errors using the IWDMessageManager?  This should be possible.  I have used the IWDMessageManager before in GP Web Dynpro and it works fine.  Here is a little code snippet that does it:
import com.sap.tc.webdynpro.progmodel.api.IWDMessageManager;
IWDMessageManager msgMgr = wdComponentAPI.getMessageManager();
~Greg

Similar Messages

  • Web Dynpro error message

    Hi,
    I m getting this error message while creating web dynpro application.
    Could not find attribute NAVIGATION_CONFIG.1.NAV_PARAMS.1.NAVTO_NOFLIGHTSVIEW
    Can you plz tell me how to fix it.
    Thanks,

    Web Dynpro ABAP
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/db22242d-0701-0010-28a2-aeaa1fefd706
    /people/thomas.jung/blog/2006/06/20/web-dynpro-abap-demonstration-videos
    http://help.sap.com/saphelp_nw04s/helpdata/en/77/3545415ea6f523e10000000a155106/frameset.htm
    https://www.sdn.sap.com/irj/sdn/abap?rid=/library/uuid/02e1fa45-0801-0010-10a0-f1cf47e8c943
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/wd%20java/wd%20tutorials/web%20dynpro%20sample%20applications%20and%20tutorials.htm#6

  • Web Dynpro Error Messages

    Hi Guys,
    I have the ff scenario:
    1. I have a web dynpro with a tabstrip.
    2. I have a save button.
    My problems are:
    1. When I raise error message via lo_message_manager->report_attribute_error_message, the error message is raised and the field in error is highlighted but when I navigate to another tab, the error message disappears.
    I want the error to show even when I navigate to another tab.
    2. When I click the 'save' button, i tried to read the error message via lo_message_manager->get_messages( ), but there's no data returned. There's an error and yet it executes the save button.
    I want the error to show until all the issues were solved before it can actually proceed with the saving.
    How can I achieve this?

    Hi Deepankar,
    I guess putting all the validations in WDDOBEFOREACTION is okay if I have few views and fields.
    But I have a lot.
    I cannot do all my validations in WDDOBEFOREACTION.
    It is important that I do my validation in ONACTION events on each fields.
    So that when the user hits enter or click a dropdown list or click a checkbox, the error would then be raised right away if there's any.
    Because I have so many tabs and dropdowns and checkbox and validations on enter, WDDOBEFOREACTION will get triggered so many times.
    I can't activate is_permanent also because it sometimes prevents the user in doing any action. I have non-editable fields that are dependent on other fields for entry. When I tried correcting the field that it's depending to, it won't trigger the onaction event, thus the screen seems not responding which in fact it just want the context attribute to be corrected.
    Is there no other way to catch the errors when the user clicks the button?
    I noticed that I can only read the messages in WDDOBEFORENAVIGATION and not in any other places, but this WDDOBEFORENAVIGATION is executed after ONACTION event of the button. My processing is already executed before I had the chance to read the error.
    Please advice.

  • Huey Pro calibrator- error message  display measurement Error

    i am using this huey pro calibration.. it had been a year without problem... but now i am trying to calibrate my apple cinema display LCD 30 inch it keep saying error message- display measurement error.. and huey support never answer my e-mail. any idea? how can i fix it.. i did re install software many times but same thing happen.. so right now i can;t calibrate my monitor.. any help please

    >a nice NVidia card... Please help Adobe!
    1a - what is the model nVidia card, and what is your driver version?
    1b - for instance, I have a GTX 285 and driver 296.10
    2a - aside from the occassional Adobe employee, this is a user to user forum, not Adobe suport
    2b - how to contact Adobe...
    Adobe contact information
    http://www.adobe.com/support/contact
    In the US - Adobe General support 800-833-6687 M-F 5am-7pm Pacific
    In the US - Adobe Install Problems 800-642-3623
    In the US - Adobe Activation 866-772-3623 Open 24/7

  • Error message display for PO creation with reference to internal orders

    Sir,
    While creating PO with Tcode ME21N (item category I) with reference to ' Internal Order with Funds provided (Tcode KO12), system displaying error message  when Budget is exceeded.
    But when Funds provision is not mentioned (Funds value is initial in KO12) , error message is not being given by the system during Po creation with ME21N.
    Where should I configure in img(Tcode SPRO) , so that system will throw error mesage while creating PO without Budget Provision (Funds not mentioned ) in Internal Orders.
    Regards,
    Srinivasa Murthy

    Hi Anupam,
    The error message display as follows. (when the PO Price exceeds the Planned Funds kept for internal order)
    This error comes during PO creation Process and PO can not be saved. This error message display is correct.
    Item 001 Order 600643 budget exceeded
    Message no. BP604
    Diagnosis
    In document item 001 Order 600643, budget  for fiscal year 2009 was exceeded by 99,960,000.00 INR.
    But  my question is 'when funds have not at all been mentioned for the internal order' then system has to throw the same error as mentioned above. But it is not happening. System is allowing the PO to save which is not correct.
    Regards,
    Srinivasa Murthy

  • How do i solve - cannot access web server - error message when creating a project in 4.5 with PHP

    How do i solve - cannot access web server - error message when creating a project in 4.5 with PHP

    Screenshot of how it looks when i try to show a ms access form inside a iframe:
    http://oi58.tinypic.com/2vj4ish.jpg

  • ERROR MESSAGE : display of the query spec is not allowed

    Hi all,
    I have many queries built under a multiprovider. The problem is if i try to chane a query it is not allowing me to do it. Even for a query which i built it is not allowing. It is displaying an error message 'display of the query spec is not allowed'.
    Can anyone help me in understanding this issue?
    Thanks,
    Raj.

    Have you check your authorizaiton trace with ST01?
    You need authorization for this query in auth obj S_RS_COMP or S_RS_COMP1

  • "Internal error: An unexpected exception has occurred" error message displayed when browsing a cube.

    “Internal error: An unexpected exception has occurred“ error message displayed when browsing a cube.
    The error behaviour is quite irregular and does not occur for specific condition.
    Will cumulative update 9 for SQL Server 2008 R2 (SP1) installation help to fix the issue which is provided on the below link:
    (http://support.microsoft.com/kb/2152148)
    The current version of SQL Server I am using is as below:
    Microsoft SQL Server 2008 R2 (SP1) - 10.50.2500.0 (X64)   Jun 17 2011 00:54:03   Copyright (c) Microsoft Corporation  Enterprise Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1)
    Thanks in advance for the help!

    Hi Mon,
    The hotfix you said is for Microsoft SQL Server 2008. So it will not work on your scenario since you are using SQL Server 2008 R2.
    Based on the limited information, we cannot give you the exact reason that cause this issue. In order to narrow down this issue, you can apply the latest Service Pack and Cumulative Update as GregGalloway said. Besides, you can troubleshoot this issue by
    using the Windows Event logs and msmdsrv.log.
    You can access Windows Event logs via "Administrative Tools" --> "Event Viewer".  SSAS error messages will appear in the application log.
    The msmdsrv.log file for the SSAS instance that can be found in \log folder of the instance. (C:\Program Files\Microsoft SQL Server\MSAS10.MSSQLSERVER\OLAP\Log)
    Here is a blog about data collection for troubleshooting Analysis Services issues, please see:
    Data collection for troubleshooting Analysis Services issues
    Regards,
    Charlie Liao
    TechNet Community Support

  • Process error message: Display on the same page

    When I create a before header process and that has an error, the error message shows up on a page by itself with the OK button. This takes away the context of the error
    Similar to how validations have the option of displaying inline on the same page, is there a way to have the process error message display on the same page?
    Thanks

    I just want to display the error message on the same page, thats all. I dont want a error page with just the error since it takes away all the context.
    Well what do you want to do, you can set a item to
    hold a message and display that item in a region
    when this_exception then
    :P20_ERROR_MESSGE := 'Something went wrong here';So, P20_ERROR_MESSAGE would be a hidden item on the page?
    Then display the item in a region.How can I display that hidden item in the region? So the region would just have this read-only text box in it? But then it wont be hidden? I guess I can conditionally display the region only if the error message is not null?

  • Reg:error messages display in wdabap

    hi expert
    could you please say what i need to pass the values which are mandatory in this error message coding .can you please share some the documents related to error messages display.
    method ONACTIONEXECUTEACTION .
    if sy-subrc ne 0 .
    get message manager
    DATA LO_API_CONTROLLER     TYPE REF TO IF_WD_CONTROLLER.
    DATA LO_MESSAGE_MANAGER    TYPE REF TO IF_WD_MESSAGE_MANAGER.
    LO_API_CONTROLLER ?= WD_THIS->WD_GET_API( ).
    CALL METHOD LO_API_CONTROLLER->GET_MESSAGE_MANAGER
      RECEIVING
        MESSAGE_MANAGER = LO_MESSAGE_MANAGER
    report message
    CALL METHOD LO_MESSAGE_MANAGER->REPORT_ATTRIBUTE_ERROR_MESSAGE
      EXPORTING
        MESSAGE_TEXT              = 'THE ENTERED TICID IS NOT AVAILABLE' .
        ELEMENT                   =
       ATTRIBUTE_NAME            =
       PARAMS                    =
       MSG_USER_DATA             =
       IS_PERMANENT              = ABAP_FALSE
       SCOPE_PERMANENT_MSG       = CO_MSG_SCOPE_CTXT_ELEMENT
       MSG_INDEX                 =
       CANCEL_NAVIGATION         =
       IS_VALIDATION_INDEPENDENT = ABAP_FALSE
       ENABLE_MESSAGE_NAVIGATION =
       VIEW                      =
    RECEIVING
       MESSAGE_ID                =
    else .
    DATA LO_COMPONENTCONTROLLER TYPE REF TO IG_COMPONENTCONTROLLER .
    LO_COMPONENTCONTROLLER =   WD_THIS->GET_COMPONENTCONTROLLER_CTR( ).
      LO_COMPONENTCONTROLLER->GETDATA(
      WD_THIS->FIRE_OUTVIEW1_PLG(
    endmethod.
    endif.
    thanks in advance
    Deepika
    Edited by: deepika_indian on Aug 18, 2010 7:32 AM

    Hi Deepika,
    Here for the method REPORT_ATTRIBUTE_ERROR_MESSAGE, mandotory fields are
    MESSAGE_TEXT
    ELEMENT
    ATTRIBUTE_NAME
    Here ELEMENT  v need to pass lv_el_context type ref of IF_WD_CONTEXT_ELEMENT.(Context Elemet Reference).
    Suppose your context having an attribute 'KUNNR'.
    So, here v need to pass in the below manner to raise an exception
        DATA lo_el_context TYPE REF TO if_wd_context_element.
        DATA ls_context TYPE wd_this->Element_context.
        DATA lv_gr2_visible TYPE wd_this->Element_context-kunnr.
    *   get message manager
      data lo_api_controller     type ref to if_wd_controller.
      data lo_message_manager    type ref to if_wd_message_manager.
      lo_api_controller ?= wd_This->Wd_Get_Api( ).
      CALL METHOD lo_api_controller->GET_MESSAGE_MANAGER
        RECEIVING
          MESSAGE_MANAGER = lo_message_manager
    *   report message
      CALL METHOD lo_message_manager->REPORT_ATTRIBUTE_ERROR_MESSAGE
        EXPORTING
          MESSAGE_TEXT              = 'MESSAGE TEXT TO DISPLAY'
          ELEMENT                          = lo_el_context
          ATTRIBUTE_NAME           = 'KUNNR'
    *      PARAMS                    =
    *      MSG_USER_DATA             =
    *      IS_PERMANENT              = ABAP_FALSE
    *      SCOPE_PERMANENT_MSG       = CO_MSG_SCOPE_CTXT_ELEMENT
    *      MSG_INDEX                 =
    *      CANCEL_NAVIGATION         =
    *      IS_VALIDATION_INDEPENDENT = ABAP_FALSE
    *      ENABLE_MESSAGE_NAVIGATION =
    *      VIEW                      =
    *    RECEIVING
    *      MESSAGE_ID                =      .
    Kindly revert for further clarification.
    Regards,
    Amarnath S

  • Error Message Displayed while executing FNDLOAD Command in windows machine

    Hi,
    I am getting the following error message while executing the FNDLOAD Command in Windows Machine. Can any one give some clarifications to solve this issue.
    FNDLOAD Command Used:*
    +./FNDLOAD apps/[email protected]:1521:OA10 0 Y DOWNLOAD D:\oracle\oa10appl\xdo\11.5.0/patch/115/import/xdotmpl.lct xdotmpl.ldt XDO_DS_DEFINITIONS APPLICATION_SHORT_NAME=PO
    Error message Displayed for above command:_
    APP-FND-01564: ORACLE error 6401 in AFPCOA
    Cause:  AFPCOA failed due to ORA-06401: NETCMN: invalid driver designator
    Let me know the solution this issue
    Regards
    Arif Mohammed

    Hi Hussein,
    Thanks for your response, Let me explain in detail that the error I am facing while running FNDLOAD Command.
    I have executed the below command in CYGWIN which results in error while calling FNDLOAD.
    *$ java oracle.apps.xdo.oa.util.XDOLoader DOWNLOAD -DB_USERNAME apps -DB_PASSWORD apps -JDBC_CONNECTION 16.89.26.52:1521:OA10 -LOB_TYPE TEMPLATE -APPS_SHORT_NAME PO -LCT_FILE $XDO_TOP/patch/115/import/xdotmpl.lct -LANGUAGE en -TERRITORY US -LOG_FILE SHW.log;*
    I got the below error message while executed the above command (Highlighted in BOLD):
    $ cat SHW.log
    XDOLoader started: Tue Nov 15 20:27:18 PST 2011
    Parameters passed to XDOLoader...
    [TERRITORY] [US]
    [DB_USERNAME] [apps]
    [LCT_FILE] [C:\oracle\vis10appl\xdo\11.5.0/patch/115/import/xdotmpl.lct]
    [DOWNLOAD] [DOWNLOAD]
    [JDBC_CONNECTION] [16.89.26.52:1521:OA10]
    [LANGUAGE] [en]
    [DB_PASSWORD] [apps]
    [LOB_TYPE] [TEMPLATE]
    [LOG_FILE] [SHW.log]
    [APPS_SHORT_NAME] [PO]
    Start downloading...
    Downloading files from XDO_LOBS: SELECT FILE_DATA, LOB_CODE, LOB_TYPE, APPLICATI
    ON_SHORT_NAME, FILE_NAME, LANGUAGE, TERRITORY, XDO_FILE_TYPE FROM XDO_LOBS WHERE
    APPLICATION_SHORT_NAME = :APPS_SHORT_NAME AND LOB_TYPE in (:TEMPLATE, :TEMPLAT
    E_SOURCE) AND LANGUAGE = :LANGUAGE AND TERRITORY = :TERRITORY
    Downloading files from XDO_LOBS: SELECT L.FILE_DATA FILE_DATA, B.TEMPLATE_CODE L
    OB_CODE, L.LOB_TYPE LOB_TYPE, L.FILE_NAME FILE_NAME, L.LANGUAGE LANGUAGE, L.TERR
    ITORY TERRITORY, L.XDO_FILE_TYPE XDO_FILE_TYPE, L.APPLICATION_SHORT_NAME APPLICA
    TION_SHORT_NAME FROM XDO_TEMPLATES_B B, XDO_LOBS L WHERE B.APPLICATION_SHORT_NAM
    E = :APPS_SHORT_NAME AND B.TEMPLATE_CODE = L.LOB_CODE
    Generating LDT file: xdotmpl.ldt
    Calling FNDLOAD: FNDLOAD apps/[email protected]:1521:OA10 0 Y DOWNLOAD C:\oracle\
    vis10appl\xdo\11.5.0/patch/115/import/xdotmpl.lct xdotmpl.ldt XDO_DS_DEFINITIONS
    APPLICATION_SHORT_NAME=PO
    APP-FND-01564: ORACLE error 6401 in AFPCOA
    Cause:  AFPCOA failed due to ORA-06401: NETCMN: invalid driver designator.
    The SQL statement being executed at the time of the error was: and was executed
    from the file .
    Generating DRVX file: xdotmpl.drvx
    XDOLoader done successfully: Tue Nov 15 20:27:30 PST 2011
    $
    So i decided to run the FNDLOAD Command alone in CYGWIN which is highlighted and still im facing the same issue but if i run the below command it works fine and getting download.
    *./FNDLOAD apps/[email protected]:1521:OA10 0 Y DOWNLOAD D:\oracle\oa10appl\xdo\11.5.0/patch/115/import/xdotmpl.lct xdotmpl.ldt XDO_DS_DEFINITIONS APPLICATION_SHORT_NAME=PO*
    Hope you understand the problem which im facing. Let me know some solutions from your side to solve this issue.
    Regards,
    Arif Mohammed

  • Inconsistent error message display

    Using jsf/adf 10.1.3.3. Steve, I'm experiencing what seems to be an inconsistency in the way that error messages are being displayed. The problem I'm experiencing is that the first time an attribute fails validation, the error message is displayed only at the top in the message box and not beneath the respective component. The next time validation fails on this field, I see the error message at the top and beneath the component. This inconsistency seems to appear only when an attribute has been marked as mandatory (not null) and that particlar validation fails. Put another way, if I have a method validation on an attribute and that validation fails, I don't see this inconsistency. The error message always displays both at the top and beneath the component. I've tested this on one of your samples, RequiredFieldsWithCustomRequiredMessageIncludingFieldLabel, and found it happening there also. I made one slight change to the code in that example so that I could recreate this problem. There's code behind the Save button of the CreateNewEmployee.jspx which sends the user back to the 'Home' page of this app if the commit is successful. I've rewired that by returning null instead of returning "back". This way I can recreate the problem. Here are the steps to recreate:
    1) Run CreateNewEmployee.jspx
    2) Without entering any values, click Save.
    3) Validation fails for each of the required attributes, the errors appear for each of these attributes, but only in the top message box.
    4) Enter in valid values for the required fields.
    5) Click Save. This should commit the record just fine.
    6) Null out the value just entered for Employee Name.
    7) Click Save. Validation fails for Employee Name and the error message displays both at the top and just beneath the Employee Name input.
    I see this behavior without using the customized PageLifecycle class too, so I don't think that it has anything to do with those framework extension classes. Any idea as to why when validation fails the first time for a required attribute the error message does not display beneath that component as well? Thanks.

    The only workaround mentioned in the bug report is to use required="#{...}" instead of showrequired="#{...}" That is, if the client side manages the enforcement of the requiredness, then the issue apparently does not occur. The bug is still open (i.e. hasn't yet been fixed in 11g).
    I'd recommend you file a Service Request on Metalink and ask for a fix to bug# 5918276 if it's a showstopper issue for you.

  • Hp2175xi printer Remove and check cartridge. error message displayed on printer.

    Remove and check cartridge error message displayed on printer. I have removed and inspected cartridges and no problems were evident. Shut down printer and restarted, unplugged and restarted same error displayed. Please help with any suggestions or solutions.
    Thanks John

    Hi
    If the cartridge isn't empty and you've tried the usual troubleshooting (which includes cleaning the contacts on the cartridge and in the printer) then it's probably best to contact Phone Support for a possible replacement.
    You can check if the cartridge is still within warranty by checking the warranty ends date here
    Best Regards
    Ciara
    Although I am an HP employee, I am speaking for myself and not for HP.
    Twitter: @Ciara_B_HP

  • Modidy the Web Dispatcher Error message

    Hi,
    Where do we modify the web dispatcher error message "500 Dispatching error" to a cutome message on the J2EE?
    Thank you.

    note says:
    Customization of 500 Internal Server Error
    This response code is returned when there is a problem with the application or the server. Any not handled Exception or Error triggers the return of response with code 500.
    To return different content on error occurance, you need to handle the error by inserting the appropriate declaration in web.xml.
    Sample declaration for handling of test.MyApplicationException occurances in the application scope:
      <error-page>
        <exception-type>test.MyApplicationException< /exception-type>
        <location>/customerrors/MyApplicationException.jsp</location>
      </error-page>
               Note1: For each error condition you need to handle (application exception use a separate error page. For all other exceptions use a global error handling definition for java.lang.Throwable.
    However you must be aware of the following:
    In case java.lang.OutOfMemoryError appears the subsequent behaviour of the JVM is undefined and this may lead to unpredicatable effects. Therefore the webcontainer will not pass such error to the error page for handling.
    If the following general definition
      <error-page>
        <exception-type>java.lang.Throwable< /exception-type>
        <location>/customerrors/WhateverProblem.jsp</location>
      </error-page>
    is in place, then the error handler resource is responsible for logging the error condition.
    This means the resource handling general problems if such is declared must be dynamic (a JSP page or a servlet not HTML page)
               Note2: Exceptions are searched in order of appearance in web. xml and not determining closest in class hierarchy.
               This is true for all patchlevels of J2EE Engine 6.20 and versions of J2EE Engine 6.40 lower than SP11.
    Therefore if test.ChildException extends test.ParentException extends java.lang.Exception and
    <error-page>
       <exception-type>test.ParentException</exception-type>
      <location>/customerrors/ParentException.jsp</location>
    </error-page>
    <error-page>
      <exception-type>test.ChildException</exception-type>
      <location>/customerrors/ChildException.jsp</location>
    </error-page>
    is specified in the web.xml of the application as exceptions are searched in order of appearance regardless if ChildException or ParentException is thrown, the call will be directed to /Customerrors/ParentException.jsp because ChildException is a subclass of ParentException..
    Working mapping would be :
    <error-page>
      <exception-type>test.ChildException</exception-type>
      <location>/customerrors/ChildException.jsp</location>
    </error-page>
    <error-page>
      <exception-type>test.ParentException</exception-type>
      <location>/customerrors/ParentException.jsp</location>
    </error-page>
    so you need to switch the declarations in the web.xml (effective on next start of the application).
    BR, Oliver

  • Error message display in web dynpro application?

    Hi All,
    In my web dynpro application I am displaying error messages but the focus does not go to the field where error occured and also if I click on the error message it does not lead to the place of error.
    And also when I navigate to another view the error message does not go.
    Below is my code:
    *    report message
          DATA err1_text TYPE syst-msgv1.
          err1_text = wd_assist->if_wd_component_assistance~get_text( key = '002' ).
          CALL METHOD lo_message_manager->report_t100_message
            EXPORTING
              msgid      = 'ZAA'
              msgno      = '005'
              msgty      = 'E'
              p1         = err1_text
            RECEIVING
              message_id = lo_text.
    Please suggest me the way to do it.
    Thanks & Regards
    Archana

    Hi,
    I got your point.. in the BIND_TABLE( set_intiail_elemts = abap_true) change this to ABAP_FALSE.
    Because of this you are gettng the intiial values. Eventhough your table has no BALNK/space records.
    bind a single element
      node->bind_table(
        new_items             =  lt_year_list
        set_initial_elements = abap_true ).
    change as
    bind a single element
      node->bind_table(
        new_items             =  lt_year_list
        set_initial_elements = abap_false ).
    You can use this code - I have tjhe dropdwon for projects event I'm doing the same.
    navigate from <CONTEXT> to <PROJECT> via lead selection
      lo_nd_project = wd_context->get_child_node( 'PROJECT' ).
    ***Gets the selected project id from drop down
      if lo_nd_project is not initial.
        CALL METHOD lo_nd_project->GET_LEAD_SELECTION
          RECEIVING
            ELEMENT = lo_el_project.
    get all declared attributes
        if lo_el_project is not initial.
          lo_el_project->get_static_attributes(
            IMPORTING
              static_attributes = ls_project ).
    change your code to 
    lo_nd_year_list = wd_context->get_child_node( name = wd_this->wdctx_year_list ).
    ***Gets the selected project id from drop down
      if lo_nd_year_list is not initial.
        CALL METHOD lo_nd_year_list->GET_LEAD_SELECTION
          RECEIVING
            ELEMENT =  lo_el_year_list .
      IF lo_el_year_list IS NOT INITIAL.
        get single attribute
        lo_el_year_list->get_attribute(
          EXPORTING
            name =  `YEAR`
          IMPORTING
            value = lv_year ).
    Regards,
    Lekha.

Maybe you are looking for