Clearing message area in Web UI

Dear Experts,
I have kept passport field as mandatory in account creation application. I am displaying custom error message if its not entered. Assume end user id not entering passport and fills other fields and presses enter. In EH_ONSUBMITONENTER event I am throwing custom error message prompting user to enter a value. Now user enters a passport no and directly presses SAVE(Note: He does not press ENTER). Now I display a confirmation popup to user. Issue is that the error message Enter passport no is still displayed in the background.
Ideally I am trying to clear the error message in EH_ONSAVE but its not working out. I used below code,
lr_msg ?= me->view_manager->get_message_service( ).
        CHECK lr_msg IS BOUND.
        DATA: lr_core TYPE REF TO cl_crm_bol_core,
              global_message_cont TYPE REF TO cl_crm_genil_global_mess_cont,
              lt_messages TYPE crmt_genil_message_tab,
              ls_message TYPE crmt_genil_message.
        lr_core = cl_crm_bol_core=>get_instance( ).
        lr_msg->collect_messages( iv_message_type = if_genil_message_container=>mt_error iv_delete_read_messages = abap_false ).
        CALL METHOD lr_core->get_global_message_cont
          RECEIVING
            rv_result = global_message_cont.
        CALL METHOD global_message_cont->if_genil_message_container~get_messages
          EXPORTING
            iv_message_type = 'E'
          IMPORTING
            et_messages     = lt_messages.
        LOOP AT lt_messages INTO ls_message.
          CALL METHOD global_message_cont->if_genil_message_container~delete_messages
            EXPORTING
              iv_msg_id     = ls_message-id
              iv_msg_number = ls_message-number.
        ENDLOOP.
In above code in table global_message_cont->if_genil_message_container~get_messages is not returning the error message into table lt_messages. Kindly share your inputs for the same. I searched forum for threads but could not find a relevant one except [Clear error message|[http://forums.sdn.sap.com/thread.jspa?threadID=2049172]
Br
Bharath
Edited by: bharath padmanabhan on Feb 27, 2012 1:33 PM
Edited by: bharath padmanabhan on Feb 27, 2012 1:35 PM

Dear Experts,
Please share your valuable inputs/directions/pointers. Thanks.
Bharath

Similar Messages

  • Clear Message area.

    Hi everyone,
    I have created a 2  tabs, in that i have inserted message area.  The message will display in that message area. when i try to navigate between the tabs, the message of first tab will display in second tab also and viceversa..
    I have to avoid it.  Can anyone please explain me this.??
    Thanks and regards,
    Vijay Vikram.

    What do you mean as tabs?

  • Error message area not expanded per default - but i want it expanded

    Hello,
    per default the error message area in web ui is NOT expanded. But I would like to have it expanded per default. But i cannot find the right area to change this behaviour.
    Does anyone have an idea how to change it to be expanded per default?
    Many thanks for your ideas and input.
    BR Andreas

    Thanks to your reply i found it pretty well documented in help.sap.com:
    http://help.sap.com/SCENARIOS_BUS2010/helpdata/EN/cb/659ebfc880493baad66896518a55a1/frameset.htm
    Edited by: andreas lehner on Jan 30, 2012 10:01 AM

  • HT5364 I installed OX X Moutain Lion and now I have trouble printing pdf documents--get messages like "plug in failed" or "no pages selected on printer" when clearly pages are selected

    I installed OS X Mountain Lion on my desktop MAC and since then I cannot print pdf documents---I get messages like "plug in failed" or sometimes "no pages selected on printer" when clearly pages are selected

    DO NOT USE PREVIEW TO FILL OUT PDF FORMS, IT WILL DESTROY PDF FILES. Sorry, but I had to shout here to prevent damage to your PDF files.
    Here is one of the symptoms when you fill out a PDF form with Preview: If you save it and return it to the author, they will not be able to see the text that you've added to form fields - unless they click on a field, which will reveal the contents of just that field. You can recover from this problem, but Preview will also remove other field types, and will actually rewrite your complete PDF while ignoring what it does not understand. Take a look at this blog post for more information about the damage that Preview will cause: Preview.app - Killer of PDF Files

  • ERROR: MyService.jws:715:There are two or more operations with the same schema-element 'ns0:MyNameSpace' on the input message in a web service file or callback interface.

    I have two web service operations that have the same complex type as their input
    parameter. I want to map this type to an existing schema. I can successfully
    do this with the first operation using XQuery but when I attempt to do this with
    the second operation I get the following error:
    ERROR: MyService.jws:715:There are two or more operations with the same schema-element
    'ns0:MyNamespace' on the input message in a web service file or callback interface.
    ERROR:      SUGGESTION: Use different schema-element values for each of those operations.
    How can I use different schema-element values? The input parameters are to be
    mapped to the same schema and same element since they are the same for both operations....

    I am having the same problem. How did you resolve this..?? could you please tell me the solution??
    Thanks
    Shari

  • JSF: Error Message are not getting cleared

    Hi,
    I am facing some problem with error messages in JSF.
    Here is what I am doing
    1. User submits a form, server validates and sends back the error to the client error message added to Faces Context.
    2. User checks the messages, changes the input and submits. assuming everything is correct now.
    3. On server, it validates and writes data to response for download using the following code.
    FacesContext faces = FacesContext.getCurrentInstance();
        HttpServletResponse response = (HttpServletResponse)faces.getExternalContext().getResponse();
        DownloadResponse.sendDownload( response, is, fileName );
        faces.responseComplete();
      }4. It shows the download popup to download the file. The problem here is that error message are not getting cleared off. User can still see the error message on the screen.
    It seems I am missing something in JSF req-response life cycle. Anyone please point out the mistake.

    SudhirMongia wrote:
    4. It shows the download popup to download the file. The problem here is that error message are not getting cleared off. User can still see the error message on the screen. Wrong. The problem is that the view is not rerendered, which makes sense because you are not sending view content to the browser but your file.
    Your real question probably is: how do I cause a file download and still rerender the view afterwards to show the results? To that I myself do not have the answer unfortunately, but I have seen that question come by a few times already, so doing some searches in these forums may yield you an answer.

  • Open order value not cleared Message: ORB 015

    Hi All,
    I have checked and searched for solution before poting this discussion, but not found anything relelvant to my problem.
    While closing Project in CJ20N, I am getting an error message as -
    Open order value not cleared
    Message: ORB 015
    It seems issue with incoming orders (sales orders), so I have run CJA1, and in output it is showing Processed object count as 1 but no detail log available for this.
    Also in Settlement nothing is appearing to settle.
    One thing I observed that one of the sales order linked with Project is rejected.
    Can somebody assist me in resolving this issue?
    Thank You,
    Swapnil Kharul

    Hi Swapnil,
    There are 2 things you can check here..
    1) Is this the first time you are trying to settle incoming orders for the said Project/WBS? I mean did you ever run CJA1/CJA2 and CJ88 post that for this project? You can check this in KE24 report. Check if you find any entries for record type I. If there are any it means settlement of incoming orders is being done.
    2) For the said WBS hit Ctrl+F3 and check if there is a settlement rule maintained for Incoming Orders. On the settlement rule screen you will see a button "Incoming Orders". Click on that see if a rule is maintained.
    Regards,
    Gokul

  • Trx F-53, The difference is too large for clearing Message no. F5263

    Hi,
    I created a PO, then I posted the goods receipt, the invoice and I was trying to
    post the payment by F-53 trx.
    When I select an open item from the list and I try to simulate the posting by the menu (Document, simulate), system replies by:
    "*The difference is too large for clearing
    Message no. F5263*"
    Cannot understand why it is not possible to post the outgoing payment
    Regards

    Dear Sappione,
    did You check the tolerances?
    Check in transaction OBY6 the indicator 'No forex rate diff. when
    clearing in LC' is not set the amount is converted with the exchange
    rate valid at clearing date, in case You're clearing in LC a foreign document.
    When you post a clearing transaction with rounding
    differences, those differences are posted to an additional line item
    GL accounts. This account determination is customized as follows :
    FBKP - Exchange rate differences -
    Exchange rate difference in open items - KDF -a/c XXXXXXXXX
    (Realized gain exchange rate difference)
    The accounts used for rounding differences when clearing
    are the realized gain/loss exchange rate accounts.
    please check all the 3 suggestions.
    Mauri

  • How to display the error message during the web dynpro application runtime

    hi,
        I'm a java developer,During i 'deploy and run ' a web dynpro application on server-1,if the application have some runtime errors. there are displayed many infomation about the runtime error,such as exception track,etc.
        But when i do the same on server-2,there just show something like:
                500   Internal Server Error
                                    SAP NetWeaver Application Server 7.00/Java AS 7.00
                Failed to process request. Please contact your system administrator.
    but the server-1 will stop the j2ee engine. 
    how can do i make server-2 show detail error message as server-1. when i debug web dynpro application need these infomation.
    Appreciate your inputs...
    (Note:server-1 and server-2 have same software version)
    Edited by: BingLin Zhong on Feb 18, 2008 2:13 AM

    The Sap-Notes 962319:
    1. Check in the Visual Administrator, "Licensing Adapter" -> "General" -> "SystemType" !
    If it is set to "DEVELOPMENT_MODE", verbose error messages are shown.
    If it is undefined, proceed with the next step.
    If it is set to something else, only exception IDs are shown. In this case the only chance is to search for this exception ID in the default traces.
    2. If the system type is undefined, then in the Config Tool "Configurations" -> "webdynpro" -> "sap.com" -> "tcwddispwda" -> "Propertysheet default" -> "DevelopmentMode" is evaluated. If it is "true", verbose error messages are shown.
    3. If verbose error messages are required but still the short version is shown, you probably face an error message that is not raised by Web Dynpro but by other components of the NetWeaver. In the Visual Administrator set "Properties" -> "HTTP Provider" -> "DetailedErrorResponse" to "true".
    4. In addition to the error page shown in the browser or client, important messages - including error messages and stack traces - are written to the log and trace files, e.g. to the default traces usr\sap\<SID>\<instance>\j2ee\cluster\server<number>\log\defaulttrace.trc.<number>.
    a) In some cases, when an exception ID is included in the error message, the detailed error message can easily be retrieved in the log file.
    b) When no exception ID is given, you have to search for the detailed error message in the log specifying time stamp and/or user ID.
    Always consider restarting the system after making changes on the settings.
    It is not recommended to switch the "SystemType" to an inappropriate value just for viewing verbose error messages. The system type potentially affects framework, applications and licensing in an perhaps unintended way.
    In the past there was no distinction between different system types regarding error messages. For security reasons this distiction has been introduced. It is not intended to show stack traces in non-development systems in the future. SAP does not provide workarounds or patches to enable such a behaviour again.

  • Error: Not possible to post down payment clearing.There are no down payment

    Hi expert,
    I am running a settlement for an internal order and encounter the following error message.
    "Not possible to post down payment clearing. There are no down payments."
    Message no. AA571
    When checked on the vendor, the invoice has been cleared in the same month before the settlement. Under the Internal order line items, there is still an unsettled amount of the invoice.
    This internal order settles to an AUC asset. Previous month settlement was ok. Only problem with december.
    The downpayment acct is currently zero.
    Is there something wrong with the message table, or the posting of the vendor invoice ? Anything to do with the special GL indicator ?
    Kindly advise what is the cause and the method to resolved this asap.
    Thanks.
    Angel.

    Hi Angel ,
    My client also getting error message while doing settlement(T.C.KO88) even though Note.8600038 applied.
    Error Message:Not Possible to post down payment clearing .There are no down payments.
    Message: AA571
    If your issue is solved.
    please can you tell how did you solve this issue.
    Thanks,

  • Null Pointer Exception in Message Area

    Hi!
    I just want to get some inputs. I have this Message Area to display errors in Web Dynpro, but from time to time I get this Null Pointer Exception when an event takes place. Don't know why this happens, but the trace is not found my code.
    Here's the Stack Trace:
    +"java.lang.NullPointerException+
    ++     at com.sap.tc.webdynpro.clientserver.uielib.pattern.uradapter.MessageAreaAdapter._getConnectedControlId(MessageAreaAdapter.java:3684)++
    ++     at com.sap.tc.webdynpro.clientserver.uielib.pattern.uradapter.MessageAreaAdapter.access$900(MessageAreaAdapter.java:67)++
    ++     at com.sap.tc.webdynpro.clientserver.uielib.pattern.uradapter.MessageAreaAdapter$Rows.doNext(MessageAreaAdapter.java:2188)++
    ++     at com.sap.tc.webdynpro.clientserver.uielements.adaptbase.IndexedItemsIterator.next(IndexedItemsIterator.java:54)++
    ++     at com.sap.tc.webdynpro.clientserver.uielib.pattern.uradapter.MessageAreaAdapter.getSelection(MessageAreaAdapter.java:3653)++
    ++     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:424)++
    ++     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)++
    ++     at com.sap.tc.ur.renderer.ie6.SingleColumnLayoutRenderer.renderSingleColumnLayoutCellFragment(SingleColumnLayoutRenderer.java:679)++
    ++     at com.sap.tc.ur.renderer.ie6.SingleColumnLayoutRenderer.renderSingleColumnLayoutFragment(SingleColumnLayoutRenderer.java:253)++
    ++     at com.sap.tc.ur.renderer.ie6.SingleColumnLayoutRenderer.render(SingleColumnLayoutRenderer.java:74)++
    ++     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)++
    ++     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)++
    ++     at com.sap.tc.ur.renderer.ie6.ScrollContainerRenderer.renderScrollContainerFragment(ScrollContainerRenderer.java:619)++
    ++     at com.sap.tc.ur.renderer.ie6.ScrollContainerRenderer.render(ScrollContainerRenderer.java:74)++
    ++     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)++
    ++     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)++
    ++     at com.sap.tc.ur.renderer.ie6.TabStripRenderer.renderTabStripItemContentFragment(TabStripRenderer.java:1799)++
    ++     at com.sap.tc.ur.renderer.ie6.TabStripRenderer.renderTabStripFragment(TabStripRenderer.java:879)++
    ++     at com.sap.tc.ur.renderer.ie6.TabStripRenderer.render(TabStripRenderer.java:69)++
    ++     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)++
    ++     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)++
    ++     at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.renderMatrixLayoutCellFragment(MatrixLayoutRenderer.java:790)++
    ++     at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.renderMatrixLayoutRowFragment(MatrixLayoutRenderer.java:376)++
    ++     at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.renderMatrixLayoutFragment(MatrixLayoutRenderer.java:326)++
    ++     at com.sap.tc.ur.renderer.ie6.MatrixLayoutRenderer.render(MatrixLayoutRenderer.java:79)++
    ++     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)++
    ++     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)++
    ++     at com.sap.tc.ur.renderer.ie6.ScrollContainerRenderer.renderScrollContainerFragment(ScrollContainerRenderer.java:619)++
    ++     at com.sap.tc.ur.renderer.ie6.ScrollContainerRenderer.render(ScrollContainerRenderer.java:74)++
    ++     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)++
    ++     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)++
    ++     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.UiWindowRenderer.render(UiWindowRenderer.java:52)++
    ++     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)++
    ++     at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)++
    ++     at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendHtml(HtmlClient.java:1058)++
    ++     at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.fillDynamicTemplateContext(HtmlClient.java:458)++
    ++     at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendResponse(HtmlClient.java:1245)++
    ++     at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.retrieveData(HtmlClient.java:253)++
    ++     at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doRetrieveData(WindowPhaseModel.java:595)++
    ++     at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:156)++
    ++     at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)++
    ++     at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)++
    ++     at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:321)++
    ++     at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)++
    ++     at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)++
    ++     at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)++
    ++     at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)++
    ++     at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)++
    ++     at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)++
    ++     at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)++
    ++     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)++
    ++     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)++
    ++     at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)++
    ++     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)++
    ++     at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)++
    ++     at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)++
    ++     at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)++
    ++     at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)++
    ++     at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)++
    ++     at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)++
    ++     at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)++
    ++     at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)++
    ++     at java.security.AccessController.doPrivileged(Native Method)++
    ++     at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)++
    ++     at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)"++
    Just wondering if this can be solved on my end or is this a glitch? Would really appreciate some inputs!
    Thanks!

    Hi,
    Here two possibility
    1. This  is the case when we get something as return form the BAPI/RFC and want to display in our message area but return message itself is null like this statement
    wdComponentAPI.getMessageManager().reportException(wdContext.nodeOutput_Salesorder_Create().currentOutput_Salesorder_CreateElement().getSalesdocument());
    2.And this is when
      try
                   executableClazz.execute();
                   nodeToinvalidate.invalidate();
              } catch (WDDynamicRFCExecuteException ree)
                   wdComponentAPI.getMessageManager().reportException(ree);
                             or
    wdComponentAPI.getMessageManager().reportException(ree.getMessage);
    3. Message Area is simple UI element which ensure only the place where we have to so the message
    So Check your code again it might solve your problem
    Best Regards
    Satish Kumar

  • Messages are getting stuck in PI system

    Hi All,
    we were testing a SOAP to WS scenario in PI 7.1 but unfortunately message are getting stuck in PI system due to below error.
    - <sap:ExceptionChain xmlns:sap="http://www.sap.com/webas/710/soap/runtime/abap/fault/system/SystemFault">
    - <sap:ChainedException>
      <Exception_Name>CX_SOAP_SEQ_EX_TO_QRFC</Exception_Name>
      <Exception_Text>wsrm create failed</Exception_Text>
      </sap:ChainedException>
    - <sap:ChainedException>
      <Exception_Name>CX_SOAP_CORE</Exception_Name>
      <Exception_Text>SRT: Error in WSRM Soap Application</Exception_Text>
      </sap:ChainedException>
    - <sap:ChainedException>
      <Exception_Name>CX_SOAP_FAILURE_FAULT</Exception_Name>
      <Exception_Text>SOAP fault when calling Web service</Exception_Text>
      </sap:ChainedException>
    - <sap:ChainedException>
      <Exception_Name>CX_SOAP_FAULT</Exception_Name>
      <Exception_Text>Authorization missing for service , operation "CreateSequence"; more details in the web service error log on provider side (UTC timestamp 20140616182623; Transaction ID 539C7F7350800420E10080000A4911BD)</Exception_Text>
      </sap:ChainedException>
      </sap:ExceptionChain>
    Hope someone have an idea.
    Regards,
    Vinod

    Hi Vinod,
    One possibility is the user does not have access to this operation. Please check with any other user (with more access) the same operation.
    regards,
    Harish

  • Best Practices Question: How to send error message to SSHR web page.

    Best Practices Question: How to send error message to SSHR web page from custom PL\SQL procedure called by SSHR workflow.
    For the Manager Self-Service application we’ve copied various workflows which were modified to meet business needs. Part of this exercise was creating custom PL\SQL Package Procedures that would gather details on the WF using them on custom notification sent by the WF.
    What I’m looking for is if/when the PL\SQL procedure errors, how does one send an failure message back and display it on the SS Page?
    Writing information into a log or table at the database level works for trouble-shooting, but we’re looking for something that will provide the end-user with an intelligent message that the workflow has failed.
    Thanks ahead of time for your responses.
    Rich

    We have implemented the same kind of requirement long back.
    We have defined our PL/SQL procedures with two OUT parameters
    1) Result Type (S:Success, E:Error)
    2) Result Message
    In the PL/SQL procedure we always use below construct when we want to raise any message
    hr_utility.set_message(APPL_NO, 'FND_MESSAGE_NAME');
    hr_utility.raise_error;
    In Exception block we write below( in successful case we just set the p_result_flag := 'S';)
    EXCEPTION
    WHEN APP_EXCEPTION.APPLICATION_EXCEPTION THEN
    p_result_flag := 'E';
    p_result_message := hr_utility.get_message;
    WHEN OTHERS THEN
    p_result_flag := 'E';
    p_result_message := hr_utility.get_message;
    fnd_message.set_name('PER','FFU10_GENERAL_ORACLE_ERROR');
    fnd_message.set_token('2',substr(sqlerrm,1,200));
    fnd_msg_pub.add;
    p_result_message := fnd_msg_pub.get_detail;
    After executing the PL/SQL in java
    We have written some thing similar to
    orclStmt.execute();
    OAExceptionUtils.checkErrors (txn);
    String resultFlag = orclStmt.getString(provide the resultflag bind no);
    if ("E".equalsIgnoreCase(resultFlag)){
    String resultMessage = orclStmt.getString(provide the resultMessage bind no);
    orclStmt.close();
    throw new OAException(resultMessage, OAException.ERROR);
    It safely shows the message to the user with all the data in the page.
    We have been using this construct for a long time for all our projects. They are all working as expected.
    Regards,
    Peddi.

  • Sent messages are sometimes not saved

    Hello,
    This is a follow up to this thread, which was never answered and is now archived:
    http://discussions.apple.com/thread.jspa?threadID=2213207
    In Mail.app, using IMAP, my sent messages are sometimes not saved. I'd say about 1 in 20 never appear in my Sent folder. The recipients always receive these messages, so it's not a delivery problem. I just don't retain a copy of them. This is very frustrating if I send a cost estimate to a client, or a detailed description of a technical problem that I need to refer back to later.
    I've rebuilt my mailboxes and I've checked my IMAP folders on the server via a webmail interface, and the messages are not there.
    Has anyone else experienced this? It's hard to believe I'm the only one, but it's hard to search for this problem because my search results are always full of people who have lost or can't save -any- of their sent messages. My problem is intermittent and random.
    Thanks,
    -Arlo

    I have a similar occasional problem with an IMAP account using a Comcast Business Class Exchange server. I use Mail and my iPhone to access the account; I'm running OS X 10.6.4 on my laptop but my "sent messages" issue predates the latest release.
    The first time I noticed this issue I thought, "I'll just access my mail via the Comcast web portal. It'll be in the 'sent' folder there." No dice. The "sent" messages simply never stay on the server, yet my recipients get them.
    It's distressing. First, the solution would appear to be a switch to a MS mail client, which I swore off years ago. Second, I rely on having a "sent" message as a record. I switched off IDLE per your suggestion, Ernie, but otherwise I'm in the same boat as the others here. Please keep this thread alive. I'm hopeful that this can be resolved.

  • How to use the message area ui element to handle the errors.

    Hi All,
    Can you put a light on how to  message area UI element to handle the message in web dynpro.
    Please provide any links which the information related to Message Area UI element.
    Thanks in Advance,
    Lalitkumar.

    Hi,
    Try using the below code when you want to display the message.
    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_success
        EXPORTING
          message_text = 'Display your text here'.
    Also check all the methods available in the interface if_wd_mesasge_manager and try using them.
    Edited by: Vidhya Sakunthala on Jul 30, 2010 1:35 PM

Maybe you are looking for