Sequence of messages in the message area

Hello,
does anyone knows how to influence the sequence of messages?
While appending messages to the message manager with flag is_permant = abap_true the new message is appended below existing messages.
I would like to get the the new message displayed above the old message.
any ideas?
regards, Martin

Hi Martin,
Using the paramter msg_index we can set the index of the message we raise.
I raised 2 messages with msg_index as 1, first I raised message text 'Error1' and later message 'Error2'.
In the Window Error2 message is displayed first(top) and the Error1 is displayed below it.
Sample code:
  DATA lo_api_controller     TYPE REF TO if_wd_controller.
  DATA lo_message_manager    TYPE REF TO if_wd_message_manager.
  DATA:
    lr_api_compctrl     TYPE REF TO if_wd_component,
    lr_api_appl         TYPE REF TO if_wd_application,
    lr_appl_info        TYPE REF TO if_wd_rr_application,
    lr_curr_ctrl        TYPE REF TO if_wd_controller,
    lr_cmp_usage        TYPE REF TO if_wd_component_usage,
    lx_exception        TYPE REF TO cx_wdk_controller.      "#EC NEEDED
  lo_api_controller ?= wd_this->wd_get_api( ).
  CALL METHOD lo_api_controller->get_message_manager
    RECEIVING
      message_manager = lo_message_manager.
  lr_api_compctrl = wd_comp_controller->wd_get_api( ).
  lr_curr_ctrl ?= lr_api_compctrl.
      report message
  CALL METHOD lo_message_manager->report_error_message
    EXPORTING
      message_text             = 'error1'
      is_permanent             = 'X'
      controller_permanent_msg = lr_curr_ctrl
      msg_index                = 1.
  CALL METHOD lo_message_manager->report_error_message
    EXPORTING
      message_text             = 'error2'
      is_permanent             = 'X'
      controller_permanent_msg = lr_curr_ctrl
      msg_index                = 1.
Best regards,
Suresh

Similar Messages

  • In an eMail message, when I attempt to save two photos by clicking the 'Save 2 Images' link, not the 'Save Image' link, the images are not saved. (I use I I apologize for the late notice, butOS7 on IPhone5). Is this feature broken?

    In an eMail message, when I attempt to save two photos by clicking the 'Save 2 Images' link, not the 'Save Image' link, the images are not saved. (I use I I apologize for the late notice, butOS7 on IPhone5). Is this feature broken?

    Please don't post the same question multiple times!

  • I deleted some of my text message histories to get rid of 'other' space (6.33 gb). They were gone from iMessage, but they still showed up in search, so they were still taking up space on my phone. I synced my iPhone (4s) but the messages are still there.

    I deleted some of my text message histories to get rid of 'other' space (6.33 gb). They were gone from iMessage, but they still showed up in search, so they were still taking up space on my phone. I synced my iPhone (4s) with iTunes but the messages are still there. How can I get rid of these texts for good and have more space on my phone? 6.33 gb of other space is way too much, thats almost half of my overall available space (13.5 gb.) I don't want to reset my phone and lose all my other texts/ app progress/ photos. I do have backups, but when I restore from the backup the other space comes back along with everything else. What can I do to get rid of this other space and the 'deleted' text messages? (I'm running iOS 6.1.3 if that helps)

    But once again, I do not want to lose my other texts, app progress, and photos. I could sync the photos but i would still lose the app progress and texts. I would only restore if it was the only option left, but the other space, as already stated, isnt the main concern. The main concern is those 'deleted' texts. If they go, then a good size chunk of the other space goes. I know you CAN delete texts for good. It worked fine before. All i want to know is why its not working for me now, and how to fix it.
    I also know that when you delete texts on your iphone, they get marked for deletion, however they stay on your device (thats why they show up when you search for them.) then when you sync your device with itunes, the texts marked for deletion should disappear. When i synced they didnt disappear. Thats what i need an explanation/solution for. Why the texts marked for deletion didnt get fully deleted after the sync.

  • After soak test update, I get error messages repeatedly. The majority are "unfortunately, messaging has stopped", but you can replace messaging with "android os", or any other process, as it happens with more than just messaging. I have had numerous peopl

    After soak test update, I get error messages repeatedly. The majority are "unfortunately, messaging has stopped", but you can replace messaging with "android os", or any other process, as it happens with more than just messaging. I have had numerous people call and ask why I didn't reply to their texts...and I look, but have not received any new texts. YES, I have restarted phone. I have cleared data as well as cache on all apps. I have downloaded the vzw messaging app, which seems silly, since it happens with several different processes and apps, but all to no avail. I am missing texts from my employer, from my family. This did happen, but rarely, before this "soak test". It is now Kitkat version 19.6.3.obake_verizon.en.US. THIS is when I started having problems...like 50 times a day kind of problems! I have seen hundreds of posts all over the internet over the past 3 days. Does no one know how to fix this??? Shouldn't there be a way to revert phone to a pre-update state? and no, hard reset did NOT work!!!! I have been with verizon for well over 15 years, but I have not upgraded my lines and will not in July either. This is ridiculous. It's not like my games aren't working, it is my messaging and "android os"...my lifeline at work!

    kristinaf333,
    Oh no, I am sorry to hear your messages are not working since the software update. I greatlly appreciate doing all that troubleshooting to try and get the messaging application back in business. I know how much I rely on my messages so I can understand the urgency to get this resolved. Have you had a resolution ticket opened since you started experiencing issues with your messages? Does this happen with all contacts or just some? Please provide additional information to ensure we get to the bottom of this for you.
    KarenC_VZW
    Follow us on Twitter @VZWSupport

  • In mail, messages are grouped into a subfile of the inbox

    In mail, some messages are grouped from the inbox into a subfile of the inbox. How do I separate the messages to be part of inbox? How did they get into the subfile in the first place?

    thanks for response. I am referring to inbox on ipad which shows list of messages. In the list of messages in the left column there is one message with a 4 in a shaded box. When I tap on that message, 4 other messages appear that are related responses. I prefer to have those 4 messages appear in the inbox. How did they get in the subfile and how do I get them to appear in the inbox?

  • My phone was recently updated to 8.1.  After the update, when text messages are sent when my phone is off, I no longer receive when my phone is turned on.  Is there something in Settings that needs to be changed?  I never had this problem before the updat

    My phone was recently updated to 8.1.  After the update, when text messages are sent when my phone is turned off, they no longer appear when I turn the phone on.  Is there something in Settings that needs to be changed?

    MetsFanGirl,
    Thanks for verifying. Are you having issues receiving both iMessages and standard text messages when they are sent when the phone is turned off? Try this and test... http://vz.to/1qjiOs7
    LindseyT_VZW
    Follow us on Twitter @VZWSupport

  • How do I display a message in the message area of a report with SALV?

    Hi,
    How do I display a message at the bottom of the screen of a report (don't know the correct name for the area, but it's the area where error messages normally appear) using the CL_SALV_TABLE object model?
    Is there a method in the object model somewhere that will place some text of my choosing in that area for me?
    I hope I stated that in an understandable way.
    If not, let me know and I'll try again.
    Thanks for your help!
    Andy

    Hi Andrew,
    you can issue an error message to be displayed as an error message:
    MESSAGE ID .. TYPE 'S' NUMBER .. DISPLAY LIKE 'E'
    TYPE 'S' messages are displayed in the status area of the next screen processed, program flow is continued after the message statement. The DISPLAY LIKE 'E' causes the message to be displayed in red color as an error message.
    Regards,
    Clemens

  • I purchased songs from Itunes store and I would like to record a CD to my parents with specific songs but when introduce the cd a message appears that the songs are not in MP3 format, how could I convert them?

    I purchased songs from Itunes store and I would like to record a CD to my parents with specific songs but when introduce the cd a message appears that the songs are not in MP3 format, how could I convert them?

    Hello
    In itunes...preferences you can change the setting to import songs instead of mp4  to mp3. Afer changing this setting, right click to the songs and than you are able to convert to mp3. ths's it

  • 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.

  • Is there a way to expand the text area of the login/lock screen for the warning message?

    I put our company's standard warning message in the Security & Privacy system preference ("Show a message when the screen is locked.") and it overflowed the allotted text area for the warning message text on the login screen and lock screens.  It seems that the area allows about 250 character messages and I need to provide about 500 characters.  Is there any way to expand the text area allotted for this purpose?
    Bob Reed

    To be a little more specific about the challenge I'm facing, I want to increase the allotted text space for the field I've outlined in the attached image.  Seems like there ought to be a NIB file that could be edited to accomplish this task:
    I would appreciate any advice on which file should be edited to expand the text field.
    Bob Reed

  • ITunes will no longer play my music, all the albumss are there but it if I click on a song to play it I get a message saying " The song (name of song) could not be played because the original file coul not be found. Would you like to locate it."

    iTunes will no longer play my music, all the albumss are there but it if I click on a song to play it I get a message saying " The song (name of song) could not be played because the original file coul not be found. Would you like to locate it."

    You get this message because  iTunes can’t find the file. This can happen for a number of reasons:
    The song file or a folder in its path was renamed
    The song file or the folder it is in has been moved
    The song file has been deleted
    The device containing the song files e.g. external drive is not accessible or the drive letter has changed.
    Do any of these aply to you?

  • I bought a used PowerMacPC G5. I can burn and read DVDs, but I can't read or burn CDs. The CDs are not even recognized. After the drive searches for a while, the CD is ejected without any error messages. The CDs work okay on my iMac.

    I bought a used PowerMacPC G5. I can burn and read DVDs, but I can't read or burn CDs. The CDs are not even recognized. After the drive searches for a while, the CD is ejected without any error messages. The CDs work okay on my iMac.
    I am running Mac OSX 10.4.11. According to the System profiler the CD/DVD drive is a "PioneerDVD-RWDVR-112D." When I compare the information under this heading, the only unusual difference from my iMac is that the G5 reads "Burn Support: Yes (Unsupported)." My iMac reads "Burn Support: Yes (Apple Shipping Drive)."
    Under the System Preferences the options are set to "Ask what to do" when a blank CD or DVD is inserted. Music CD set to open iTunes, Picture CD set to open iPhoto, Video DVD set to open DVD player.
    Do you have any suggestions?
    Thanks, Jack

    Hi Jack, great help so far!
    Internal...
    http://eshop.macsales.com/static_pages/Framework.cfm?page=superdrive/sdl_powerma c_g5.html
    External be sure it's Firewire & not Bus powered...
    http://eshop.macsales.com/shop/firewire/optical-drives/

  • I recently upgraded to iOS 8. Looks like the pics I had in my messages are no longer appearing as pictures, rather they are appearing as JPEG files (not broken jpegs). I need to get these pics. Can't figure out how to do it. I'm on an iPhone 5C.

    I recently upgraded to iOS 8. Looks like the pics I had in my messages are no longer appearing as pictures, rather they are appearing as JPEG files (not broken jpegs). I need to get these pics. Can't figure out how to do it. I'm on an iPhone 5C.
    I've tried resetting my phone, looking for the pics in the new 'deleted' folder. I tried forwarding the jpegs to sees if they'll appear in a new message (but turnout the phone won't let me forward these pics). Apple is trying to say it's the 30 day reason, but I know that is not the problem. ALl of my pics older than 30 days were viewable. It is the upgrade that screwed this up. Help! Important pics!

    Try this to learn about using keys:
    http://www.apple.com/support/macbasics/
    You can also use your PC mouse.
    As for iPhoto, it sounds like you were trying to move files around in the library. That is a bib no-no in Aperture or iPhoto.

  • When trying to add music to a slide show from my PC to TV through Apple Tv the photos are fine but I get an error message that says the music cannot be downloaded.

    When trying to add music to a slide show from my PC to TV through Apple Tv the photos are fine but I get an error message that says the music cannot be downloaded.

    Because the location for each song in your library is on your hard drive.  If the hard drive isn't there, how can iTunes play it?
    You'll have to move/copy the music from your hard drive to your computer's hard drive.
    Basically, EASIEST way to do all this, if you don't care about your play counts, etc...
    -Delete EVERYTHING from iTunes, so that your library is now empty.
    -Go to "Advanced" inside of the "Preferences" window, found in the "Edit" drop-down.  You can also access Preferences by pressing Ctrl+, (Press Ctrl and the comma key)
    -Change your iTunes Media Folder Location to something simple, but on your computer. I use C:/iTunes.  Make sure "Keep iTunes Media Folder Organized" and "Copy files to...." are both checked.  You can close Preferences now.
    -Now, drag and drop your music from your hard drive into your iTunes library.  iTunes will automatically add the music to your library, as you would expect, and also creates a copy of each file to place into that iTunes Media Folder you just created.
    Shouldn't have any more problems...

  • The e-mail message could not be sent. Make sure the outgoing e-mail settings for the server are configured correctly

    I have a 2 server SharePoint farm.
    All outgoing emails were working fine.
    I just restarted both servers and now after that none of the emails are being sent. I am using OOB publishing workflow and it shows message:
    The e-mail message could not be sent. Make sure the outgoing e-mail settings for the server are configured correctly.
    Even if I setup Alert on some list, it doesn't send email.
    I have checked that outgoing email setting in CA is defined and like I said it was working fine without problems but after restart it is showing error.
    What could be the cause of this and how to fix it?
    EDIT
    I removed outgoing mail server in CA, added again and restart IIS but still emails from OOB workflow is not being sent. But email from Alerts are being sent. Don't know what to do now.

    This is really weird, It works when an alert is set but workflows doesn't send emails... Can you create a simple 1 Step workflow in SPD to send an email when a specific field is set. See if this sends an email..
    AJ MCTS: SP 2010 Configuration MCSA: Windows 7 If you find this post useful kindly please mark it as an answer :) TY
    I created a test workflow which sends email to user and it is also not sending email. But I am getting email from SharePoint regarding "variation" page changes as well as alerts which I told above.

Maybe you are looking for

  • Movies Left on Apple TV - how to delete some but not all.

    hello, I recently purchased an apple tv that had a 750gb hd installed, I use it for boxee usage and using Nito TV to watch avi files ahtt I ftp to the unit and watch. When I purchased the past user left about 100 older movies on it... 1. I have not s

  • Enter condition type several times in a sales order

    Hello Gurus, I have a Pricing Procedures with net price minus some discounts and sales price. This is standard. One of the discount condition types you can enter manually in a sales order. Now my problem. This discount  condition type you can enter s

  • Toshiba Solid State Drive Not Detected

    Sony Ultrabook Model: SVT131B11L Micro Toshiba Solid State Drive 256 GB Laptop can not find the OS anymore, Hard Drive not being detected in BIOS. Able to remove the Micro SSD and connect it externall to a computer. Any recomendations on how to extra

  • WAS 5.02 vs WAS 5.1

    Hi, WAS 5.1 shipped with enhanced features when compared to WAS 5.02. In my project, they are planning to have WAS5.02 as dev environment and WAS5.1 as production env. In that event, what could be the problems and what are the advantages we lose by u

  • How transport works in Portal..

    Hi, Suppose in Development I have a folder (F1) containing 2 objects (O1 and O2). The same folder(F1) with same content(O1 and O2) I have in Quality system. Now I have deleted the objects O1 and O2 from F1 in Development and added O3 and O4. Now I ha