Message Manager

Hi,
I have few q' s which i felt will get answered over here.
a) Is it possible to count the number of messages that gets collected by the message manager at the run time.
b) Is it possible to stop the further collection of messages using message manager post a certain limit or count.
c) Can we have a scrollbar to the message area.
Any (pointers/ answers) will be highly appreciated.
Thanks in Advance,
Vipin.

Hi Govindu,
Thanks for your quick reply.
I opened the thread due to the reason that i was getting the below exception
com.sap.tc.webdynpro.progmodel.controller.MessageManagerOverflowException: The MessageManager contains already 1,000 messages. Assuming loop. The first messages: ........
Now the requirement from the user is to stop further collection of error messages the moment 100 messages are collected.
Any (pointers/ answers) on how i can restrict this exception and limit the collection to 100 will be highly appreciated.
Thanks in Advance,
Vipin.

Similar Messages

  • FPM Message Manager message's HyperLink does not work in Table

    Hi FPM experts,
    I use FPM in my application and I want to use FPM Message Manager with hyperlink pointing to cells with errors in a table with report_bapiret2_message. The hyperlink does work when pointing on stand alone input field, but it does not work when pointing on a input field in a table.
    Here is a piece of my code. What's wrong?
      data is_message type bapiret2.
      is_message-type = 'E'.
      is_message-id = 'TEST'.
      is_message-number = '1'.
    wd_comp_controller->mr_fpm_message_manager->
       report_bapiret2_message( is_bapiret2 = is_message
                                             io_component = wd_comp_controller
                                             io_element = lo_el_table_elements " point on the element in my context
                                             iv_attribute_name = 'VALUE' ).  " Name of my attribute in context
    Thanks
    Davy
    Edited by: Davy Veilleux on Jan 4, 2009 4:19 PM

    Any answers to this question?
    I am facing the same issue. Using FPM Message Manager  with the io_element and iv_attribute parameters pointing to an element in an context node having cardinality = "0...n" does not show the hyper link.
    Any Help is Appreciated.

  • Exception in message manager (CX_WD_ABORT_MESSAGE_MANAGER)

    I have a Web Dynpro application with popup views (using the window manager) to create/change data.  All works well in one view , when the method to create/change the data returns an error I relay it to the message manager and it is displayed on the screen.  In one of the views I have the same code to relay messages but method raise_t100_error raises exception CX_WD_ABORT_MESSAGE_MANAGER.  Both screen have a message area in the layout, I cannot find any significant differences between them.
    Here is the relevant code:
    Error Handling
    get message manager
      l_current_controller ?= wd_this->wd_get_api( ).
      CALL METHOD l_current_controller->get_message_manager
        RECEIVING
          message_manager = l_message_manager.
      CALL METHOD l_message_manager->clear_messages.
    report message
      LOOP AT li_return INTO lwa_return
        WHERE type EQ 'E'.
    report message
        l_msgno = lwa_return-number.
        CALL METHOD l_message_manager->raise_t100_error
          EXPORTING
            msgid = lwa_return-id
            msgno = l_msgno
            msgty = lwa_return-type
            p1    = lwa_return-message_v1
            p2    = lwa_return-message_v2
            p3    = lwa_return-message_v3
            p4    = lwa_return-message_v4.
      ENDLOOP.

    Hi Ingo,
    Please use <b>report</b>_t100_error instead of raise_t100_error.
    Regina

  • Message (of message manager) gets lost by opening a popup window

    Hi all,
    On behalf of a better error/exception handling, I would like to show the stacktrace in a popup window, that means, if the application reports an error message (through the message manager in the view controller), the user (administrator, developer) can optionally click a link (LinkToAction => opening a modal window) to see the stacktrace in a separat popup window.
    Unfortunately if the popup window now gets displayed, the error message on the main view (background of the popup window) will be cleared, so this - for the common user more readable - information is not anymore displayed, also when the popup will be cleared.
    Of course, I could backup the error message in a context value and redisplay it after closing the popup window, but I suppose that's not a very cool solution...
    Other any good ideas?
    Thanks,
    Stefan

    Hi Stefan
    Usually showing a stack-trace to the end-user of your application is not so helpful as might appear. My experience shows that the information is too technical for the end-user and does not help him/her to resolve the issue/problem. It's better to display error messages pointing him to some solution or directions that he might do in order to fix the error.
    If you still want to show a stack-trace I'd advise the following. You have to prepare the UI control with the stack-trace in the same server response (round trip) which shows the message manager's messages. The messages will not disappear until a client sends a new request to the server. When you open the popup such request definitely takes place.
    Maybe try to display the stack-trace in the bottom of the screen so user have to scroll down a little bit to show the trace.
    Or maybe Tray control will help in the case. Try to put the trace in a text view and put the view in a tray. Then user has to expand the tray to see the trace. But do not assign any event handlers to the tray to avoid additional request to the server while it's expanding.
    BR, Sergei

  • Popup in FPM Message Manager

    Hi experts,
    I`m using FPM and want to display certain warnings as popup. When I use the FPM Message Manager, method  REPORT_MESSAGE, REPORT_T100_MESSAGE or REPORT_BAPIRET2_MESSAGE and set import parameter IV_LIFETIME = 'POPUP_AUT' I get a popup, however this popup looks really ugly:
    The text of the message is displayed just to about 28 characters and a horizontal scrollbar appears. Is there any way to influence the attributes (size and so on) of the popup?
    Thanks,
    Markus

    hi,
    Resizing the popup window is not support for the current version.
    There are some class & methods available for  that but those are not played well with script.
    So my advice is donu2019t waste your time for that.
    Already i spend my time in this for R&D, after that i come to know this.
    regards,
    vijay

  • My JMS 2 wish list - Part 2, poison messages management

    I attended the JavaOne 2010 session on future JMS evolutions. During the session I described some current limitations or issues I'd like to be solved in a portable way. I've been adviced to share the issues to get feedback from the community. I will post each issue in a dedicated thread.
    Issue 2 - Poison messages management
    Poison messages are messages that are redelivered again and again when an untreated error occurs, possibly resulting in CPU eating long lasting loops.
    This is a well known messaging related issue, but it is not fully adressed by the JMS specification. The Message:getJMSRedelivered method can tell if a message is being redelivered. But this is not good enough and application servers implement their own solutions. Such solutions are based, for example, on redelivery limit and error destinations.
    With WebSphere 6, it is possible to specify, at the SI Bus destination level, an exception destination and a maximum failed deliveries threshold. When messages consumption fails more than the threshold allows, messages are moved to the exception destination.
    JBoss 4 has equivalent features, with a dead letter queue where messages that reached the redelivery limit are moved. It is also possible to use the specific 'JMS_JBOSS_REDELIVERY_DELAY' message property to specify a redelivery delay from the message producer side. JBoss 5 has the same features with the 'dead-letter-address', 'max-delivery-attempts' and 'redelivery-delay' destination configuration parameters.
    WebLogic has equivalent features, see 'Error Destination', 'Redelivery Limit' and 'Redelivery Delay' parameters.
    A portable mechanism should be defined.
    Edited by: 807264 on Nov 3, 2010 6:01 AM

    gimbal2 wrote:
    A portable solution would be useful.You could already do it now by leveraging the Timer functionality that has been part of the EJB spec since JEE 1.4. In stead of sending the message directly, let the timer do it after the delay you specify. That would make it portable with current tech.
    I can't be sure what other implications that might have though, such as in the area of performance and resource usage - I can imagine you wouldn't want to use a timer when you need to send large volumes of messages.In the original requirement, the message is put in the queue immediately by a call to queuesender.send(message) and there's a delivery in delay to a consumer.
    Whereas in this solution, the delay is in the message delivery to the queue itself.
    IMHO there's a subtle but important difference here.What would for example happen if posting the message to the queue is in the scope of a distributed JTA transaction? You can definitely include the timer call to be in the scope of the transaction, but now you will have to account for the fact and there may be an error when the message is delivered which has to be handled explicitly. In the original scenario the tx would automatically rollback.
    cheers,
    ram.

  • Web Dynpro message manager and popups

    Hi,
    I am using IF_WD_MESSAGE_MANAGER to issue error messages to screen with methods REPORT_ERROR_MESSAGE and REPORT_EXCEPTION. This works fine and the messages appear on the top of the screen. Both methods have a parameter SHOW_AS_POPUP, but setting this to TRUE does not result in a popup being shown. Does anyone have any idea whether this is supposed to work on 7.01 ?
    thanks!

    HI Frank,
    That should work.
    please go to the thread link posted by me in my first post.
    there go to the last reply.
    there what is required is opening the window2 first manually then calling the message manager with view = view2.
    means your view will be opened by you only but the message will come only on the second view.
    i know it is not a gud approach.
    As we can easily get it done without using the message manger at all and just creating the window as popup.
    So yeah you are right they need to modfiy this thing.
    thanks
    sarbjeet singh

  • WDA - Contrast Using Message Manager & Application Logs

    Hi there, I'm trying to figure out when it is appropriate to use each.  Thus far, it seems that the conclusion that I am coming upon is that the message manager is used for issuing messages at an application user, whereas the application logs should be used to address issues meant for an administrator of the application - basically someone who may be more technical.  How is this assumption?  Can someone provide me with more inside.  I'd love to understand some real life usages.   I've read documentation after documentation, but in short, it would be great to leverage off of some who have actually used this in practice.
    Thanks in advance.

    Hi Michael
    > Thus far, it seems that the
    > conclusion that I am coming upon is that the message
    > manager is used for issuing messages at an
    > application user, whereas the application logs should
    > be used to address issues meant for an administrator
    > of the application - basically someone who may be
    > more technical.
    As I can see from my point of view the main area of using IWDMessageManager is to indicate to user what is wrong with data he or she is trying to change over UI. For example, to show message "The field XXX must not be empty" or to make another kind of validation of input data on UI level.
    The main purpose of logging is to trace possible Java exceptions, to trace debugging information (with severity DEBUG), to log some critical errors for technical staff or administrators. The information from the logs can be unhelpful for end-user.
    BR
    Sergei

  • Program exits when message manager capture an error

    Hi Buddies,
    I am new to web dynpro for ABAP and now I am doing some exercises.
    In method check_input, I coded to capture an error using message manager. However, I find method FLIGHTTAB_FILL continue to run. I am wondering if there are some indicators (I find sy-subrc is still initial...any other indicators??) I could use to stop the program when an error is captured? Please advice. Thanks.
    method FLIGHTTAB_FILL .
      wd_this->check_input(
    endmethod.
    Kind Regards,
    Clark

    Hi,
    If you use is_empty method, you can identify.
    ABAP_TRUE if Message List Is Empty. So in your case, if messages are populated, space will be the value of the Boolean.
    ** get message manager
    DATA lo_api_controller     TYPE REF TO if_wd_controller.
    DATA lo_message_manager    TYPE REF TO if_wd_message_manager.
    data lv_bool type abap_bool.
    data lt_messages type if_wd_message_manager=>ty_t_messages.
    lo_api_controller ?= wd_this->wd_get_api( ).
    CALL METHOD lo_api_controller->get_message_manager
      RECEIVING
        message_manager = lo_message_manager
        .DATA lv_message            TYPE string.
    DATA lv_message_type       TYPE i.
    lv_message_type = if_wd_message_manager=>co_type_standard.
    * report message
    CALL METHOD lo_message_manager->report_success
      EXPORTING
        message_text              =  'Success'.
    * report message
    "ABAP_TRUE if Message List Is Empty

  • Display Massages from context within message manager

    Hello,
    i have got a bapireturn in my context with a node named "return" an some attributes like "type" and "message", .
    If I run the Bapi this node get some infos like:
    Type: E message: Error1
    Type: W message: warning1
    Type: W message: warning2
    how could I get this messages and warnings into the Message manager?
    If i implement the Message Manager with the code-wizard, i only get one Message with my own text, but I want every massage with the original text of the warning...
    Is this possible?
    Could you can give me some advise and code?
    That would be really nice!!
    Thank you for your help!
    Edited by: john Thompson on May 20, 2008 12:53 PM

    Hi,
    Just loop at your bapiret table and using the message manager just report the error. All the errors are displayed in the message manager.
      data: l_current_controller type ref to if_wd_controller,
                   l_message_manager    type ref to if_wd_message_manager.
      l_current_controller ?= wd_this->wd_get_api( ).
      call method l_current_controller->get_message_manager
        receiving
          message_manager = l_message_manager.
    loop at bapiret.
    call method l_message_manager->report_t100_message
                    exporting
                      msgid = bapiret-msgid
                      msgno = bapiret-msgno
                      msgty = bapiret-msgtyp  .
    endloop.
    Regards,
    Shruthi

  • Issues with Messaging Manager in ATG 10

    Hi,
    We are facing an issue with messaging manager. In weblogic we have configured datasource as 'coreDataSource', somehow MessagingManager is looking for coreDataSource_shop and throwing error that Datasource is not available?
    How to resolve this? I am using ATG 10.3 and Weblogic 10.3.5.
    **** Error     Tue Nov 29 04:28:20 IST 2011     1322521100638     /atg/dynamo/messaging/MessagingManager     limbo : error querying for messages     CONTAINER:atg.repository.RepositoryException; SOURCE:java.sql.SQLException: Unexpected exception while enlisting XAConnection java.sql.SQLException: XA error: XAResource.XAER_RMFAIL start() failed on resource 'coreDataSource_shop': XAER_RMFAIL : Resource manager is unavailable
    **** Error     Tue Nov 29 04:28:20 IST 2011     1322521100638     /atg/dynamo/messaging/MessagingManager     oracle.jdbc.xa.OracleXAException
    **** Error     Tue Nov 29 04:28:20 IST 2011     1322521100638     /atg/dynamo/messaging/MessagingManager          at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1110)
    **** Error     Tue Nov 29 04:28:20 IST 2011     1322521100638     /atg/dynamo/messaging/MessagingManager          at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:240)
    **** Error     Tue Nov 29 04:28:20 IST 2011     1322521100638     /atg/dynamo/messaging/MessagingManager          at weblogic.jdbc.wrapper.VendorXAResource.start(VendorXAResource.java:50)
    **** Error     Tue Nov 29 04:28:20 IST 2011     1322521100638     /atg/dynamo/messaging/MessagingManager          at weblogic.jdbc.jta.DataSource.start(DataSource.java:729)
    **** Error     Tue Nov 29 04:28:20 IST 2011     1322521100638     /atg/dynamo/messaging/MessagingManager          at weblogic.transaction.internal.XAServerResourceInfo.start(XAServerResourceInfo.java:1231)
    **** Error     Tue Nov 29 04:28:20 IST 2011     1322521100638     /atg/dynamo/messaging/MessagingManager          at weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerResourceInfo.java:1164)
    **** Error     Tue Nov 29 04:28:20 IST 2011     1322521100638     /atg/dynamo/messaging/MessagingManager          at weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerResourceInfo.java:285)
    **** Error     Tue Nov 29 04:28:20 IST 2011     1322521100638     /atg/dynamo/messaging/MessagingManager          at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:522)
    **** Error     Tue Nov 29 04:28:20 IST 2011     1322521100638     /atg/dynamo/messaging/MessagingManager          at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:449)
    **** Error     Tue Nov 29 04:28:20 IST 2011     1322521100638     /atg/dynamo/messaging/MessagingManager          at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1599)
    **** Error     Tue Nov 29 04:28:20 IST 2011     1322521100638     /atg/dynamo/messaging/MessagingManager          at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1503)
    Thanks
    Gopi

    still the issue is exist.
    At one point of time, Database is not able to provide connection for coreDataSource. After that shop is trying to get connection from JNDI coreDataSource_shop, which is not available in weblogic.

  • Message management in WM

    Hi guys.
    Does anyone have material  about  message management in WMS ?
    Thanks.

    Hi Marcos Cesar,
    You can define the Reduce message types and Activate message types in transaction BD53.
    SAP recommends that you use message types:
    "MATMAS" (material master tables) and 
    "DEBMAS" (customer master) as a template.
    Be aware that only those fields that are absolutely necessary are transferred from the master data tables in  the ERP system to the decentralized WMS.
    Thanks & Regards,
    Sudhakar

  • Message Manager "Please Wait" Message.

    Hi Experts,
    referring to "Display PDF in Popup / How to do this?
    I'm developing a WebDynpro where the user can convert its output into PDF and display/download it. The Converting Process is started via a button. Once the user klicks the button, there's quite a lot of stuff happening in the background, It'll take about 10-15secs. I'm afraid that some users might start hammering on F5 once nothing appears on screen after 3 secs or so, thus I want to display a message "Please Wait until..." etc once the user clicks on that button. I thought I could just do that at the beginning of my Event Handler of the Button. But the message is displayed as recently as the complete method has run through...
    How can I immediately display a message once a user klicks on that button?
    best regards,
    Lukas

    Hi,
    You can write your message handling code before your actual code, i.e. at starting, first it will execute and display message.
    OR
    You better display popup confirmation message saying that "Please wait 15 Sec.. Processing" Like that.
    Check Below code..
    data lo_window_manager type ref to if_wd_window_manager.
      data lo_api_component  type ref to if_wd_component.
      data lo_window         type ref to if_wd_window.
      data lo_view_controller type ref to if_wd_view_controller.
      data :  lt_text TYPE string_table,
              ls_text TYPE string.
      ls_text = ' Please WAit 15 Sec...Processing..'.
      INSERT ls_text INTO TABLE lt_text.
    Get Window manager
      lo_api_component  = wd_comp_controller->wd_get_api( ).
      lo_window_manager = lo_api_component->get_window_manager( ).
      lo_window = lo_window_manager->create_popup_to_confirm( text = lt_text
      button_kind     = if_wd_window=>CO_BUTTONS_OK
      message_type    = if_wd_window=>CO_MSG_TYPE_WARNING
      window_title    = 'Information to Confirm...'
      window_position = if_wd_window=>co_center ).
      lo_view_controller = wd_this->wd_get_api( ).
    creating ok button
      lo_window->subscribe_to_button_event(
                 button = if_wd_window=>co_button_ok
                 action_name = 'OK'          // Createonce action of name OK.
                 action_view = lo_view_controller
                 is_default_button = abap_false ).
    Set the height and width here
      lo_window->set_window_size( width = '40%' height = '5%' ).
      lo_window->open( ).
    Cheers,
    Kris.

  • Message Management

    I work for a large company and support Blackberry devices. We have a vendor that manages our BES along with our Exchange environment. One particular user likes to delete messages from his Outlook and leave them on the BB. This has been happening since 2004 so there are currently about 1500 messages that have been accruing over the years. We backup the device almost daily to a PC since these messages reside no where else. This user experiences constant issues with the BB and frequently, we have to wipe the device, remove him from the BES, restore the backup (messages and attachment info only) and then reactivate on the BES.
    It has been my contention since I've been supporting this person that this is not a reliable way of using the device; the risk of data loss is too great and restoring a backup that is 5 years old, originating from a much earlier version of RIM software, can present issues. My suggestion to fix the issue is to transfer the current contents of the backup to one particular folder that we can setup to sync with the BB via Folder Redirection. This way if there is ever a need to wipe and restore, the years of saved messages are secure on the Exchange server.
    My questions are: Does my suggestion sound plausible? Is there any validity to my contention that this old backup could be causing issues, even if I am only selectively restoring messages and attachment data? Does anyone know of a better way to handle this type of user?
    Thanks in advance for any practical suggestions.

    Wow, usually I've seen people like to do it the opposite (leaving them in Outlook, but not on the BB). I gues it doesn't matter, but is there a reason why this person prefers it the way he's doing it? If he left them in Outlook he could create a personal folder (PST file) to permanetly store the messages. And you could even store the PST on a shared drive to be backed up daily.
    The main problem I see with storing so many messages is that eventually the device will run out of free space and begin to delete older item to make room for newer ones.
    Which issues is the device having now? Which version of the OS is the device? Is it running the current 4.5 or an older OS?
    If someone has been helpful please consider giving them kudos by clicking the star to the left of their post.
    Remember to resolve your thread by clicking Accepted Solution.

  • Unable to recieve multi cast messages managed server failure

    Environment: WL Server 10.3. OS - Suse 11.1. X86 standalone box.
    I am trying to start a managed server via startManagedWebLogic ms1 http://localhost:7001" and getting the exception shown below. I have set my cluster as multicast. Any tips are appreciated.
    <Jan 8, 2009 7:14:39 PM MST> <Critical> <Health> <BEA-310006> <Critical Subsystem Cluster has failed. Setting server state to FAILED.
    Reason: Unable to receive self generated multicast messages>
    <Jan 8, 2009 7:14:39 PM MST> <Error> <> <BEA-000000> <
    ===== FULL THREAD DUMP ===============
    Thu Jan 8 19:14:39 2009
    BEA JRockit(R) R27.6.0-50_o-100423-1.6.0_05-20080626-2104-linux-ia32
    "Main Thread" id=1 idx=0x4 tid=24837 prio=5 alive, in native, waiting
    -- Waiting for notification on: weblogic/t3/srvr/SubsystemRequest@0x11814988[fat lock]
    at jrockit/vm/Threads.waitForNotifySignal(JLjava/lang/Object;)Z(Native Method)
    at java/lang/Object.wait(J)V(Native Method)
    at weblogic/t3/srvr/SubsystemRequest.rendezvouz(SubsystemRequest.java:100)
    ^-- Lock released while waiting: weblogic/t3/srvr/SubsystemRequest@0x11814988[fat lock]
    at weblogic/t3/srvr/SubsystemRequest.action(SubsystemRequest.java:81)
    at weblogic/t3/srvr/SubsystemRequest.start(SubsystemRequest.java:51)
    at weblogic/t3/srvr/ServerServicesManager.startService(ServerServicesManager.java:457)
    at weblogic/t3/srvr/ServerServicesManager.resume(ServerServicesManager.java:275)
    ^-- Holding lock: java/lang/Class@0x114ae0c0[biased lock]
    at weblogic/t3/srvr/T3Srvr.resume(T3Srvr.java:776)
    at weblogic/t3/srvr/T3Srvr.startup(T3Srvr.java:513)
    at weblogic/t3/srvr/T3Srvr.run(T3Srvr.java:440)
    at weblogic/Server.main(Server.java:67)
    at jrockit/vm/RNI.c2java(IIIII)V(Native Method)
    -- end of trace
    Edited by: svachary on Jan 8, 2009 6:33 PM

    Hi,
    Please go through the following link once :-
    Link :[http://support.bea.com/application_content/product_portlets/support_patterns/wls/Multicast_Pattern.html]
    Also check if you have multiple NIC's on your box. In that case you need to specify a particular interface address to use for multicast traffic.
    Regards.

Maybe you are looking for