Warning messages back to back

Hi Experts,
I need to raise 2 messages as "Warning" in a window.I am able to raise both messages as "Error" , and when I'm giving the first message as "Error" and second as "Warning",then I can see them on the screen. But if I give first message as "Warning" and second as "Error",I'm unable to see them and when I'm giving both as "Warning" also I can't see them.I'm unable to solve this.Please assist.

Hi Please find the code:
if(***)
Warning*
ls_message-msgty = 'E'.
ls_message-msgid = 'ZXX_XXX'.
ls_message-msgno = 'XXX'.
             CALL METHOD lo_message_manager->report_element_t100_message
               EXPORTING
                 msg                       = ls_message
                 element                   = local_data_tmp
                 attributes                = lt_attrib
                msg_user_data             =
                message_type              = CO_TYPE_ERROR
                is_permanent              = ABAP_FALSE
                scope_permanent_msg       = CO_MSG_SCOPE_CTXT_ELEMENT
                msg_index                 =
                 cancel_navigation         = abap_true
                is_validation_independent = ABAP_FALSE
        ls_message-msgty = 'W'.
        ls_message-msgid = 'ZXX_XXX'.
        ls_message-msgno = 'XXX'.
             CALL METHOD lo_message_manager->report_t100_message
               EXPORTING
                 msgid                    = ls_message-msgid
                 msgno                    = ls_message-msgno
                 msgty                    = ls_message-msgty
                 p1                       = lv_val3
                 p2                       = lv_val4
                p3                       =
                p4                       =
                msg_user_data            =
                is_permanent             = ABAP_TRUE
                scope_permanent_msg      = lo_message_manager->CO_MSG_SCOPE_CONTROLLER
                view                     = 'V_XXX_XXX'
                show_as_popup            =
                controller_permanent_msg =
                msg_index                =
                 cancel_navigation        = abap_true
             return.
else
Error*
ls_message-msgty = 'E'.
ls_message-msgid = 'ZXX_XXX'.
ls_message-msgno = 'XXX'.
             CALL METHOD lo_message_manager->report_element_t100_message
               EXPORTING
                 msg                       = ls_message
                 element                   = local_data_tmp
                 attributes                = lt_attrib
                msg_user_data             =
                message_type              = CO_TYPE_ERROR
                is_permanent              = ABAP_FALSE
                scope_permanent_msg       = CO_MSG_SCOPE_CTXT_ELEMENT
                msg_index                 =
                 cancel_navigation         = abap_true
                is_validation_independent = ABAP_FALSE
       ls_message-msgty = 'E'.
        ls_message-msgid = 'ZXX_XXX'.
        ls_message-msgno = 'XXX'.
             CALL METHOD lo_message_manager->report_t100_message
               EXPORTING
                 msgid                    = ls_message-msgid
                 msgno                    = ls_message-msgno
                 msgty                    = ls_message-msgty
                 p1                       = lv_val3
                 p2                       = lv_val4
                p3                       =
                p4                       =
                msg_user_data            =
                is_permanent             = ABAP_TRUE
                scope_permanent_msg      = lo_message_manager->CO_MSG_SCOPE_CONTROLLER
                view                     = 'V_XXX_XXX'
                show_as_popup            =
                controller_permanent_msg =
                msg_index                =
                 cancel_navigation        = abap_true
             return.

Similar Messages

  • How do I get the warning message back that says information you are sending may be read by a third party continue or cancel?

    I used to get the pop down screen that said information you are sending could be read by a third party, continue or cancel. at the left corner there was a little box the was checked that said basically always ask this first, somehow I was not paying attention and unchecked it. now the warning does not appear.

    You can set the pref <b>security.warn_submit_insecure</b> to true and maybe other security.warn prefs as well on the <b>about:config</b> page.
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />
    You can use the Filter bar at to top of the about:config page to locate a pref more easily.

  • Display yellow warning message in Web ADI

    Hello, I was wondering if there was a way to return a warning message back to a WebADI. I thought I had seen it a seeded ADI but I'm not sure.
    So what I'm looking for is for a record to post to the database but return a Message back to the excel form and display a Yellow smiley face (instead of the green success face or the red error face). The functionality requested by the business is that we run a sum on a column before inserting records and if they break a certain threshold to still post the records but return a warning message saying the threshold was broken.
    Please let me know if this is possible.
    Thanks,
    Ryan

    Does anyone have any ideas on how to do this? If it can't be done, please let me know.
    Thanks!

  • Hi, I am getting a warning message on screen, saying that my iPad hasn't been backed up for 2 weeks, and saying under what circumstances the message appears. My problem is, is that I have backed up iCloud, but am unable to remove the warning.

    Hi,
    I am getting a warning message on screen, saying that myiPad hasn't been backed up to iCloud for two weeks, and advising under what circumstances the message appears. My problem is, is that I have backed it up, but am unable to remove the message, and whilst the message is there, the iPad is frozen, and I cannot do anything.
    Has any other user had such a problem, and if so, how did they rectify it.
    Any advice would be greatly appreciated.
    Thanks in advance.
    clarinet99

    Try this.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up

  • I began to purchase songs off iTunes, a prompt message appears whether you want to buy the song after the first click... I ticked the box to say I didn't want this warning again... But now I wish I had that - Anybody know how to get that message back???

    I began to purchase songs off iTunes, a prompt message appears whether you want to buy the song after the first click... I ticked the box to say I didn't want this warning again... But now I wish I had that - Anybody know how to get that warning/prompt message back???

    Sign-in to your iTunes Store account (Store menu > View my account).
    At the bottom of the Account Information page is a Reset box to click to reset all warnings for buying and downloading.  Click the "Done" button when you're finished.

  • Shoppingcart Back end warning messages

    Hello
    We have two warning messages displayed in shopping cart
    1. No Cross Company Purchasing is Alllowed
    2. WBS element budget exceeded
    These mesages are shown as Warning messages while creating the SC. But we need these two be as ERRORS and SC should not be saved. If I make these messages in ECC as ERRORS, should that be sufficient?? or Should have to have some code in CHECK BADI?
    Thanks for clarification
    Rgds / Kiran

    For the first one we are using BADI: BBP_DOC_CHECK_BADI:
    -Method wilhthe same parameters as those of BBP_DOC_CHECK.
    Within method Y* check that all non-deleted (DEL_IND = u2018u2019) items have one and the same Company Code (field BE_CO_CODE).  Should this not be the case, error message 001 of class Y* has to be appended to table ET_MESSAGES.  The error has to be issued at SC header level.
    Thanks and Regards,
    Ab.

  • How can I get my old messages back?

    I'm using my iPad to skype and I need to get my old messages of like one year ago back. Is there a way to get them back? Like doesn't skype have a server where all the messages are stored? If it is so, could I email them and ask for the list of the old messages?

    Hi, Can anyone help me on how to get old messages back,,,,,,,say a year or so ago...?
    please skyp your answer to ..[Removed for privacy]
    Thanks

  • How can I get my old text messages back?

    Wanted to get old text messages back or at least see them! ... But how?

    The only way to recover deleted SMS/iMessages is to restore the device to a backup created after the message was sent but before it was deleted.

  • My contacts on my old Iphone I gave a family member were deleted then synced to icloud.  My current iphone lost all its contacts when it next synced.  I retreived a 6mth old backup to get my contacts, but I want my recent messages back, any help?

    My contacts on my old Iphone I gave a family member were deleted then synced to icloud.  My current iphone lost all its contacts when it next synced.  I retreived a 6mth old backup to get my contacts, but I want my recent messages back, any help?

    The "system" performed as designed. All devices syncing to one iCloud account are kept in common sync. The idea is that all such devices belong to one user. Different users should have different iCloud accounts.  Once your contacts were edited, all devices were updated as well and subsequent backups (from yours and her device) reflected the changed contacts (and any other data that may have been edited like calendars). Your first task is to change your daughter over to a new account before she makes other changes.
    The only way I see for getting back contacts is to restore them from a time machine backup, assuming you also have a Mac included in the account which syncs the contacts. However, I'm not sure whether time machine includes contacts from iCloud along with those that are local, "on my Mac".
    Otherwise the deleted contacts are gone.

  • Is there a way to restore text messages back to my iPhone 5s version 7.1.1?  I have several text messages that have been deleted somehow and I would like to restore them to my phone.

    Is there a way to restore text messages back to my iPhone 5s version 7.1.1?  I have several text messages that have been deleted somehow and I would like to restore them to my phone.
    I have tried restoring it from the last backup and that did not help.  Please advise.
    GM

    Hi
    If you have already tried restoring from the latest back up but that has not worked unfortunately they have probably gone im afraid
    Hope this helps

  • TS4585 When I am restoring backup data for my iPhone 4 in the end of back up restore it show error message " back up can't be restored" , please advice what I can do to restore my backup

    When I am restoring backup data for my iPhone 4 in the end of back up restore it show error message " back up can't be restored" , please advice what I can do to restore my backup

    That usually means that there is something wrong with the backup and it cannot be used.  You can try restoring the backup again, but if you continue to get the same message all you can do is restore to a different backup, if you have one.

  • How do you get a message back after you deleted it?

    On accedent I deleted an important message and I need it back how can I get it back and I don't have I cloud

    Are you talking about text message or email?
    The only way to get a text message back is to restore from a backup that included that message.
    For email I would check your trash folder on your PC.

  • Passing JDBC adapter error message back to SOAP fault message

    I have a JDBC adapter that is returning an error in the response message:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Inbound Message
      -->
    - <SAP:Error SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'SAPINS' (structure 'StatementName1'): java.sql.SQLException: ORA-01843: not a valid month ORA-06512: at "SAP.SAPINS", line 129 ORA-06512: at line 1</SAP:AdditionalText>
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    I would like to pass the error message back to the fault section of a SOAP adapter.
    Is there an easy way to do this using fault messages, or is there some other way to do this?
    BR,
    Tony.

    HI,
    DId you install JDBC driver ?
    If not check this guide-https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10
    Thread-
    Legacy_XI_MySQL
    Regards,
    Moorthy

  • Getting text messages back

        So I was having horrible battery problems and instead of Apple replacing the phone they told me to restore as new phone and to NOT restore from a backup.  I hated to do that, but I finally got it done after an hour or two of manually downloading all my apps again and putting them back in their right places.
    Now for the text messages.  I backed up my phone last night before I took it to the store today.  I really would like all those years of text messages back on my phone.  Is there anyway this is possible?  I know I can get it by restoring from backup, but Apple said that's the reason my battery was dying so fast was because I had a bad app or something.
    Anyone?

    well I back up frequently, the only problem was they told me NOT to restore from a backup.
    I understand what you're saying about the Photo Stream, but the pictures on the iPad are actually showing up in the Photo Stream section of the iPad...not the camera roll.
    I'm sure they'd disappear once I did something to refresh that data, but shouldn't they fall off automatically or does it take me actually doing something to the device to make it refresh the stream data?

  • Messages in Inbox have dissappeared. Headers still there. How do I get messages back

    All going well then suddenly on 12 Sept Inbox messages all dissappeared. Message headers are still there but message content blank. All other folders: Sent, Drafts, etc are fine. How do I (Can I) get the messages back ? Have already trawled the web for an answer but no one seems to have a solution. I an not a techie so any suggestions at idiot level please !
    Thanks, Simes

    ''Simes [[#question-1020521|said]]''
    <blockquote>
    All going well then suddenly on 12 Sept Inbox messages all dissappeared. Message headers are still there but message content blank. All other folders: Sent, Drafts, etc are fine. How do I (Can I) get the messages back ? Have already trawled the web for an answer but no one seems to have a solution. I an not a techie so any suggestions at idiot level please !
    Thanks, Simes
    </blockquote>

Maybe you are looking for

  • Spry tabbed panels - Different Hover Class for each tab

    Already posted this in the general Dreamweaver section, but just realized there was a specific Spry section. So, my apologies for the repost. I'm setting up spry tabbed panels, and I'm wanting to use an image for each tab, with the text already on it

  • Import Button not Showing

    I'm trying to transfer my music from my old computer to my new one and the Home Sharing is coming up just fine, I'm able to see my old library on my new computer and everything. But the problem is that the import button that shoud be at the bottom of

  • Problems exporting to H264 out of Premiere CC

    I'm trying to export out of Adobe Premiere CC (7.2.1) to H.264 (quicktime specifically) and am having some rather persistent issues with image quality/artifacting. I'm on Mavericks 10.9.2 I'm working with 2.8 Ghz Intel Xeon Processors, 32gb ram, and

  • Safari 4.1.3 Running Deathly Slow and Being a Memory Hog

    Hi Everyone!  I am on a Powerbook G4 with 2 GB ram.  Running OS X 10.4.11 and Safari 4.1.3   When I first launch it take a long time to open first site I go to regardless of what site that it and then runs extremely slow, often unresponsive and also

  • OBIEE RSUM() with partition by

    Hi All, Can anyone suggest me that how to get the below result in OBIEE: Row Number Title Date 1 ABC 1/1/2012 1 ABC 1/2/2012 2 DEF 1/1/2012 3 GHI 4/1/2012 Currently I am using RSUM() and only able to get the below result which is not my expected resu