Refresh Message Area to repopulate the new messages

HI All,
I am populating messages in WDmodify, wDdoinit and other methods of a ZWDcomponent in message area with errors, warnings and success messages.
I used below method
lo_message_manager->report_error_message(
    message_text              = l_msg ).
The main problem.
It is populating duplicate messages how to check do the message exist.
Any method to clear the existing message in the message area (not messages)
I used CLEAR_MESSAGES of IF_WD_MESSAGE_MANAGER . It is clearing all the messages in the instance. I need to clear the existing messages in message area and repopulate new messages into message area.
I tried to use some logic but it is not working when we some methods are called like modify it is becoming complicated logic.
Any suggestions are welcomed.
Thanks
Gopal

Hi,
You can use IS_EMPTY method. If there are messages, then it will be initial. Otherwise, it will have X.
** 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
CALL METHOD lo_message_manager->is_empty
  RECEIVING
    empty  = lv_bool
if lv_bool eq 'X'.
endif,
If you comment report_sucess method, you will find the difference.

Similar Messages

  • Some how do not enter sign was added beside contact, now all messages previously received messages are gone and no new messages from this sender will appear.

    I have been receiving messages from this sender fine and then all of a sudden for some reason there was a do not enter sign beside her name. I didn't know how or why it got there, some button got bumped or the mouse, and I didn't know how to take it off so I just left it. Since then, thunderbird has been reopened and all messages that I had received have disappeared and no new messages from this sender appear even though I know she has sent them to me. I have checked into filters and I have none set so it is not that. I can't figure out how the do not enter sign got beside the contact, but I'm sure it's the reason for my problems and I don't know how to fix it. Thanks

    In order to better assist you with your issue please provide us with a screenshot. If you need help to create a screenshot, please see [[How do I create a screenshot of my problem?]]
    Once you've done this, attach the saved screenshot file to your forum post by clicking the '''Browse...''' button below the ''Post your reply'' box. This will help us to visualize the problem.
    Thank you!

  • Help, the "New message" link is missing!

    We’ve received feedback from some forum members that they are sometimes unable to start a new thread.
    They can access the boards, read posts and indeed reply to existing posts, but aren’t actually able to submit a new message.
    This is due to how some posters access the boards.
    When you click on a category from the forum main page, e.g the Broadband category, you get the option to select which board you want to go into. In this case, the options are:
    ADSL/Copper Broadband Speed/Connection Issues
    BT Infinity Speed/Connection Issues
    Other Broadband Queries
    If you select one of these boards, you will be able to see the “New Message” link (along with the posts within that board) and start a new thread.
    If however you click on “View All”, at the bottom of the “Recent Topics” section, you’ll see a list of all of the posts in these boards, but you won’t be able to start a new message. This goes for all the other boards on the forum as well.
    The screenshot below shows where these links are displayed, and where you need to go:
    Thanks @AjayK48 for starting a thread about this issue.
    Stephanie
    BTCare Community Manager
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post. If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

    "I created the key CacheInquiryResuts under HKLM\Software\Microsoft\Microsoft DPM\Configuration
    After that I putted a DWORD aka REG_DWORD called InquiryResultsTimeoutInterval into it and changed the value to 1 (hour)."                                                                                                                                              
    From Update Data source - Refreshing to clear cash is greyed out - DPM 2012 R2 UR5 (https://social.technet.microsoft.com/Forums/en-US/cb348256-7ed5-4d6b-a018-ea2a61d8fbad/update-data-source-refreshing-to-clear-cash-is-greyed-out-dpm-2012-r2-ur5?forum=dataprotectionmanager)
    Have a nice day !!!
    DPM 2012 R2: Remove Recovery Points

  • E mail. I can not send email to a contact from my list. When I hit their email address, the new message box comes up but the send icon is not highlighted and I can not send it. Why? How do I fix it. Happens on both I pad Air 2 and I Phone 5

    WWhen I press the email of a contact, the new message box appears with the address but the send icon is not highlighted. Even after typing a message, I can not send it. This is on both I Phone 5 and I Pad Air 2. this just started and not sure what I did. Help please?

    Read this thread, it's a bug that many are experiencing:
    Cannot send emails from contacts

  • I am unable to see any POP3 or IMAP tab when I set up an account in my iphone 4S. Hence by default all my email accounts become IMAP and the messages are deleted from the server when I delete them from the iphone.

    I am unable to see any POP3 or IMAP tab when I set up an account in my iphone 4S. Hence by default all my email accounts become IMAP and the messages are deleted from the server when I delete them from the iphone.

    ok sorry everyone but i solved it myself but the solution is so nuts i've posted it here to help others who have the same problem.
    to setup a comcast imap account on your iphone:
    go to mail, contacts, etc in settings
    under accts, select add account
    select "other"
    new screen, choose "add mail account"
    now on the new acct screen you must enter your name, email address and password for your GMAIL acct ! (yes i said your gmail acct !, or some other acct with a NON comcast address).
    hit next
    then the acct verifies
    when verified a screen will open with all the acct settings for this acct AND @ the top of the screen are the 2 buttons > imap or POP
    select imap and THEN CHANGE ALL THE ACCOUNT information to the comcast account !
    then hit next and the account will take a couple minutes to verify but it will verify and now you have a comcast imap acct set up on your iphone.  The problem must be that when the iphone sends the initial verify acct info to comcast (if you enter that information first) the comcast server is simply not setup yet to signal the iphone that there is an imap option.

  • Does video chat on the new Messager on Mac allow screen share or multiple people?

    does video chat on the new Messager on Mac allow screen share or multiple people?
    i noticed they said that facetime will basically be taking over video calls on the mac and that Messager will take over ichat, but i'm worried they're going to drop all the nice features they had on ichat, like being able to share screens while video chatting with someone. or being able to chat with 2 people at once on a video call.
    has anyone downloaded the beta of this yet and tried it out? i'm very curious

    Hi,
    You can start a Video chat with one Buddy and then chose Screen Share and providing you and the Buddy are using UPnP to open ports it will instantly convert to a Screen Share.
    A Screen Share is only 1-1 and is technically an Audio Chat +
    The Plus bit is an VNC connection alongside the Audio Chat.
    This VNC connection uses a random port - hence the need to use UPnP to open the ports in the router (Or Port Mapping Protocol) in  Apple Base Station.
    There used to be Add-ons that allowed the Desktop as Video Feed which would have been a sort of Screen Share but none of these have been updated for Lion.
    An Example is iUSBCam  (ShowMacster was another - My link no longer works)
    CamCamX maybe a possibility if it works in Lion  (It does say it neess iUSBCam for iChat)
    10:56 PM      Thursday; February 16, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.3)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • What do I do to resolve an ongoing problem with the MAIL "new messages sound".?  If I reboot the iMAC and keep the mail app open after a number of messages come in the NEW MESSAGE Sound quits. I have to reboot the machine to get it back.

    New Messages sound quits after several messages have arrived. I've tried several passes at resolving but nothing I have done seems to work. Sometimes I have to reboot the imac several times to get the New Messages Sounds back. Everything else works. The only thing I haven't done is reinstall the OS and that seems foolhardy.

    Hi Memalyn
    Essentially, the bare issue is that you have a 500GB hard drive with only 10GB free. That is not sufficient to run the system properly. The two options you have are to move/remove files to another location, or to install a larger hard drive (eg 2TB). Drive space has nothing to do with SMC firmware, and usually large media files are to blame.
    My first recommendation is this: download and run the free OmniDiskSweeper. This will identify the exact size of all your folders - you can drill down into the subfolders and figure out where your largest culprits are. For example, you might find that your Pictures folder contains both an iPhoto Library and copies that you've brought in from a camera but are outside the iPhoto Library structure. Or perhaps you have a lot of purchased video content in iTunes.
    If you find files that you KNOW you do not need, you can delete them. Don't delete them just because you have a backup, since if the backup fails, you will lose all your copies.
    Don't worry about "cleaners" for now - they don't save much space and can actually cause problems. Deal with the large file situation first and see how you get on.
    Let us know what you find out, and if you manage to get your space back.
    Matt

  • How does Thunderbird post the 'new message' notice on my Mac?

    I am trying to determine the service Thunderbird uses to post 'new message' notification pop-ups at the upper right of my terminal (they appear to be posted in the main menu of the system).
    Actually, some other app has rarely posted similar pop-ups .... but they don't persist long enough for me to read, so I'm really trying to find out if these pop-ups are logged anywhere that I can inspect.
    Thunderbird didn't generate the pop-ups, but knowing how it generates them may help me
    I'm still running OSX 10.6 (Snow Leopard) on my 1st gen intel mac, so I started my inquiry in the apple snow leopard forum where I was told that a pop-up service wasn't native in Snow Leopard, but some apps, including apple mail and Thunderbird, used Growl to post the pop-ups. A search of Thunderbird's add-ons ... and indeed a search (using the System Profiler) of apps, extensions and frameworks did not reveal anything with 'growl' in its name.
    So .... I'm not really having trouble with Thunderbird, but if someone knows how it invokes the 'new message' pop-up in the main menu, maybe there's a place where such messages get logged and I can inspect it to view the pop-ups (from another app) that are disappearing too quickly for me to read.
    Anyone have any helpful info?
    Useful specs:
    machine: 1st gen intel Mac
    os: OSX 10.6 (Snow Leopard)
    Thunderbird version: 24.5.0

    Settings>Messages>Show Preview>Off.
    However, there is no way to completely turn off the popup alert, just the preview.

  • HT1277 Mail has gone crazy. Header's and messages are mixed up. New Mac Book Pro. Migrated files from Time machine running snow leopard. Reinstall or new computer needed?

    Mail has gone crazy. Header's and messages are mixed up. New Mac Book Pro. Migrated files from Time machine running snow leopard. Reinstall or new computer needed?

    Ok; I'm not sure what you're doing.    36 hours is rather long.  Seems like a new migration.  Not what I intended.
    Here's what I intended: from the newly-migrated and apparently-corrupt environment, create a new user, not related to any existing user, nor any migration-created user, or any other user for that matter.  That is, use  > System Preferences > Users and Groups, authenticate yourself by clicking on the padlock, and then click the + and create a wholly new user.  Then log in under that user and establish the mail access.
    36 hours?  I'm wondering if there's an error or an exceedingly slow network here?  Or a really, really slow disk?  Or a sick backup?  (WiFi isn't the path I'd usually choose, either.)
    Failing the attempted second migration, I'd try a different tactic.  Does your existing (old) system work?   If so, I'd bypass the backup and connect an external (scratch) USB disk drive to the (old) sstem and then boot and use Disk Utility booted from the installer DVD disk or boot and use Disk Utility from the recovery partition or booted from a recovery partition created on some other external storage (details here vary by the OS X version and what hardware you have), and perform a full-disk backup of your original internal disk to (scratch) external storage.  (Make sure you get the source and target disks chosen correctly here; copying the wrong way — from the scratch disk to your existing disk — will clobber your data!)  In esssence, this will clone your existing boot disk.  Then dismount the (formerly-scratch) external disk, transfer it over to the new system, and use it as the source of the migration, by performing a fresh OS X installation on the new system.
    Target Disk Mode is also sometimes an option for accessing the disk for a migration, but that requires the right cable, and requires systems that have the same external connection; newer MacBook Pro systems use Thunderbolt for this, and older systems tend to use FireWire.  And I'm guessing you don't have compatible hardware.
    The details here can and do vary by your OS X versions and your particular Mac systems — if you'll identify the specific models and hardware, somebody might be able to better tailor the above (fairly generic) sequence to your particular configuration.

  • TS2755 What if my mac didn't install the new "Messages" app when I updated the software?

    I got the new software update and all my friends got the new messages app so they can text from their computers but mine didn't get that. How can I get the app?

    Upgrading to Mavericks
    You can upgrade to Mavericks from Lion or directly from Snow Leopard. Mavericks can be downloaded from the Mac App Store for FREE.
    Upgrading to Mavericks
    To upgrade to Mavericks you must have Snow Leopard 10.6.8 or Lion installed. Download Mavericks from the App Store. Sign in using your Apple ID. Mavericks is free. The file is quite large, over 5 GBs, so allow some time to download. It would be preferable to use Ethernet because it is nearly four times faster than wireless.
        OS X Mavericks- System Requirements
          Macs that can be upgraded to OS X Mavericks
             1. iMac (Mid 2007 or newer) - Model Identifier 7,1 or later
             2. MacBook (Late 2008 Aluminum, or Early 2009 or newer) - Model Identifier 5,1 or later
             3. MacBook Pro (Mid/Late 2007 or newer) - Model Identifier 3,1 or later
             4. MacBook Air (Late 2008 or newer) - Model Identifier 2,1 or later
             5. Mac mini (Early 2009 or newer) - Model Identifier 3,1 or later
             6. Mac Pro (Early 2008 or newer) - Model Identifier 3,1 or later
             7. Xserve (Early 2009) - Model Identifier 3,1 or later
    To find the model identifier open System Profiler in the Utilities folder. It's displayed in the panel on the right.
         Are my applications compatible?
             See App Compatibility Table - RoaringApps.

  • Why can't you turn off the new message indicator on any of the blackberry devices?

    i can't believe that i cannot turn off having my blackberry notifiy me when i get an email.  at the top of the homescreen i either get a "Message Count" or if I turn this off i get the little red asterik alert folder appearing, plus the mail icon gets a red asterik on it.  i don't want to see this and i know that many other users feel the same way. 
    has anyone figured out a way to turn this off?  if not, how can we let blackberry know they need to fix this in future models?  there are message boards all over the internet with this same complaint. 
    a little more background: 
    - the issue is on a saturday afternoon when i grab my phone to make a call, i don't want to see a little red asterik notifying me that i have a new message.  i also don't want to see a running count all the time.
    - i tried turning off the data plan part so new messages wouldn't reach me, but the problem with that is when i later turn the data plan back on, the new messages are not then sent.  they never each my phone.  seems the server tries sending them once and if the data plan is turned off they don't make it, but never make it.
    i hope someone at blackberry reads this and they make this simple change in a future model.  i'll upgrade to it immediately when they do.  i love the device but hate being constantly reminded of new messages.

    Hi dplindsey, and welcome to the foams!
    It's also time for the 1am Eaddicts meeting to start
    Here's the deal, Turn off all the notification, ring tones, led''s for emails.
    Go to the main homescreen and hit the menu key twice select make a folder.
    Go to your main message queue icon, highlight it and press menu, select MOVE.
    Move the Icon in to folder.  TA DA!   It's GONE
    Data plan is good so you can still browse the web. Emails are stil getting delivered so you arent missing any.
    What do you think?
    If you need more information, please ask
    !If not, please resolve the post using the options by the kudos’ star
    Just check the post that had your answer!
    Thanks 
    Message Edited by Bifocals on 10-04-2008 02:11 AM
    Message Edited by Bifocals on 10-04-2008 02:11 AM
    Message Edited by Bifocals on 10-04-2008 02:13 AM
    Click Accept as Solution for posts that have solved your issue(s)!
    Be sure to click Like! for those who have helped you.
    Install BlackBerry Protect it's a free application designed to help find your lost BlackBerry smartphone, and keep the information on it secure.

  • HT201320 When I access my email from the iPhone, hit "inbox", the new messages appear briefly, but then just evaporate.  I can't find them anywhere - not in inbox, not in junk, trash, saved - nowhere.  Can anyone tell me what is happening?

    When I access my email from the iPhone, new messages appear only briefly and then immediately disappear, before I do anything.  Only old messages that were already in my inbox are visible.  I can't find the new messages anywhere -- they have not moved to Saved, Junk, Trash, anything.  IT is like the iPhone just ate them.  Can anyone tell me what I am doing wrong?

    If you have a POP3 account this means that another "client" email program has retrieved the messages and deleted the messages from the server. You need to change the server settings on that device to leave the messages on the server.
    If you have an IMAP or MS Exchange account this means that someone read the messages on another device and either deleted them or moved them to another folder. Or there is an automated script that moved them to another folder.

  • How do I stop texts from coming to the new Messages app on my macbook?

    I was on my computer and wanted to try out the new Messages app so I opened it up, and wrote a message to my g/f and one to my friend. Now everytime they text me I get notifications on my macbook pro. I have clicked the X next to their name on the Messages app to delete the conversation from Messages but whenever they text me I still get pop ups on my macbook.
    I do know how to turn of notifications for the messages app completely but I don't want to do that.

    Hi,
    You could just disable the Account as has been said (Untick the "Enable this Account" box)
    You can remove the Apple ID
    GO to the Preferences > Accounts and the iMessages account
    Use the Account Detail Button
    Use the Sign Out button (Removes ID)
    Either or these will stop Messages logging in to the iMessages server and trying to Sync iMessages sent to your Apple ID.
    10:00 PM      Tuesday; September 11, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • I bought a new iPhone 6 and switched carriers and am trying to get my voicemail and instant messages ported over to the new phone

    I bought a new iPhone 6 and switched carriers and am trying to get my voicemail and instant messages ported over to the new phone

    Restore from your backup.  For voicemail contact your cell phone provider.

  • I am using Mail version 7.2(1874), and I have noticed that only 1 month of messages are kept in the Inbox folder  How can I change that?    onths worth of messages are kept in the Inbox. I can't figure out how to change that

    I am using Mail version 7.2, with OS 10.9.2. Only 1 month of messages are kept in the Inbox folder. How can I change that?
    ramon 261

    No luck, unfortunetly.  I've even restarted the whole computer.  They are usually still there, and sometimes, even older messages that I deleted from the drafts folder a long time ago, reappear as well.  I've also deleted the account from Mail and set it up from scratch several times hoping that would work, but it failed as well.

Maybe you are looking for