How to use warning message

Hello everyone!
The message type of 'w' should have a yellow symbol on the status bar, right?
But when I execute the code below, it produces the red symbol (X)...
REPORT zmsgsamp
       MESSAGE-ID s1.
SELECTION-SCREEN BEGIN OF BLOCK a.
PARAMETERS  :  p_value TYPE i.
SELECTION-SCREEN END OF BLOCK a.
START-OF-SELECTION.
  IF p_value EQ 5.
    MESSAGE w899 WITH 'Warning message'.
  ELSE.
    MESSAGE i899 WITH 'Information message'.
  ENDIF.
Thank you!

Hi Ricardo,
Atish is correct. We cannot predict the color of the warning. Even though the color of warning displays like error, the functionality of warning will take place...
if you put your same piece of code under at selection-screen, warning message with yellow color will be displayed....but inside the start-of-selection..it display like the error message.

Similar Messages

  • How to add warning message while using 'print' function in Adobe LiveCycle Designer

    I am trying to make pdf document for my company which requires adding a warning message while anyone use 'print' function from the page...
    Does anyone know how to add warning message on LiveCycle Designer
    Also my supervisor mentioned something using 'nag' if that rings any bell

    No you shoudl never go into the XML source unless uinstricted to do so.
    You can open the script editor (under the window menu). It will appear above the drawing area but below the toolbars. You can resize it if there is not enough room. When you click on an object in the form you can choose an event to script against in the Show dropdown. In your case you will want to choose the prePrint event. A line will show up that indicates the object that is associated with the script as well as the event and other information. Add your script below this line. Once that is done you are finished and your form is ready for testing.
    Paul

  • How to show warning message in am

    How to show warning message in am but not Stop , it still can go ahead.
    Thank you very much.

    jamras ,
    If i got you correct you wanna show user a list fo warnings after that have occured in some method in AM, and show them to user collectively, and the processing of the page should not stop in the above. What you need to do for it, is instead of throwing warning message in AM, collect all warnings in a arraylist or vector. when you navigate back to CO, iterate through this arraylist/vector and for each use pagecontext.putDialogmessage(oaexception).In this way you will be able to show all warning messages on page and your processing will not stop!
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to use warn about changes property with page menus

    how to use warn about changes property with page menus

    Hi,
    If u will enable this property, then u will get warning message as a popup in case of change of state of VO.
    Regards,,
    Gyan

  • Don't know how to repair "Warning" message

    Hi all,
    I opened a file using Adobe Acrobat 8.2, which came on a new Dell laptop I purchased just before the holidays. Just as I started to move the side cursor to advance the page a warning box appeared that said:
    Warning: A serious error has been detected and Adobe Acrobat 8 Standard cannot continue. Please reinstall the application and try again." When I click OK it closes the whole pdf file.
    I can't reinstall anything as I have no disk - the laptop didn't come with anything - all programs were preloaded. What do I do and how can I reinstall Adobe Acrobat?
    I've run all my cleaners, debuggers, defraggers, malware, etc and everything is clear. I really need help as I can't open school documents without this! Help! I truly appreciate it!

    Thank you, Anubha.To tell you the truth, I wasn't thrilled with the prospect of paying around $500 to get the newest version. Something interesting happened this afternoon, though, when I opened my laptop. As soon as it connected to the internet, a request for Adobe update popped up, and I watched in great surprise as it automatically "removed" files and then "re-installed" files.
    Bottom line, everything is working again. I don't know whether there is some feature that detects when a repair is needed, but a repair it did!Thank you again and thank you to the Adobe gods!Art
          From: Anubha Goel <[email protected]>
    To: Art627 <[email protected]>
    Sent: Wednesday, March 25, 2015 10:13 PM
    Subject: You have been mentioned by Anubha Goel in Re: Don't know how to repair "Warning" message in Adobe Community
    |
    You have been mentioned
    by Anubha Goel in Re: Don't know how to repair "Warning" message in Adobe Community - View Anubha Goel's reference to you  Hi Art627, I am sorry but Acrobat 8 is a very old version and Adobe no more provides support for this product.You might find download link for Acrobat 8 pro on Adobe's Other downloads link, but not for Acrobat 8 standard.Please let me know what is your OS version.I would suggest you to install and use the latest version of Acrobat i.e. 11.0.10 which is compatible with your OS as well as offers enhanced features and functions. Choose to download a 30-day free Adobe Acrobat trial version from here:Download Adobe Acrobat free trial | Acrobat XI Professional Now, see how it goes. Regards,Anubha 
    Participate in the conversation by replying to this email
    To stop receiving these messages whenever you are mentioned, go to your preferences and disable notifications for direct social actions. |

  • How to use fault message for error handling.

    HI
    Anybody has an idea about how we use fault messages to handle errors in XI
    Thanks
    Debraj

    Hi,
    Refer this link. This pdf file has descriptions about fault message types and how to use it.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/4cdfc390-0201-0010-2197-da4ada09f281
    Regards,
    Uma

  • How to use PO message type to output 'Form' as PDF file

    Dear experts,
      I am working for a topic of how to use PO message type to output 'Form' as 'PDF file', and save to external file system automatically.
      Any one familiar to this topic, please kindly give me some guide, thank you!
    Regards,
    Joyce

    Hi,
       Go through the program RSTXPDFT4 (Converting SAPscript (OTF) or ABAP List Spool Job to PDF), you will get some idea.  Using this program you can convert spool into PDF file.
    -Alpesh

  • How to show warning message in two Lines.

    Hi,
    Can some one please let me know how to show a warning message in two lines. I have created a Message in EBS in two lines but it still displays on the page in a single line.

    use bundled exception.
    ArryList peerExceptions = new ArrayList();
    peerExceptions.add(new OAException(....));
    peerExceptions.add(new OAException(....));
    OAException.raiseBundledOAException(exceptions);
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to display warning message in PL/SQL?

    Hi,
    I would like to know how to display a warning message in PL/SQL?
    Thanks and Regards,
    SC

    PL/SQL is not an interactive programming language, so there is generally no place to print any sort of message, no place to prompt the user for input, etc.
    A SQL*Plus script can use the SQL*Plus client as a very basic way of interacting with users using the PROMPT command to accept input and using DBMS_OUTPUT to print messages to the console (assuming the script does a SET SERVEROUTPUT ON to enable printing the results). Other applications may have similar sorts of scripting possibilities, generally based on a subset of the commands SQL*Plus supports.
    Justin

  • How to trap warning messages generated from the background processing?

    Hi all,
    Following is my requirement, i want to know whether it can be done and how?
    The credit management (CM) warning messages generated as a result of the CM background processes, where do the messages go? Can you trap them and include them in an interface control report?
    Thanks

    Hi
    If it's created a job for that process, you can try to read the log: here you should find all triggered messages, so the warning ones too.
    U can try to use fm like BP_JOBLOG_READ or BP_JOBLOG_SHOW in order to get the log.
    Max

  • How to handle warning message for the fields in tab merging , PERSONAS 2.0

    Hi all,
    Please advice me on the below issue.
    In a transaction VA32 , I have merged the fields from one tab to another tab using tab caching.
    when i try to change the value of  a merged fields , it throws the warnings message. So it is continuously looping from one tab to another tab.
    So i tried to use the additional editor concepts in tab caching as below.
    Looping is stopped and throws warning message in the same tab.
    All the changes are saved successfully only when the enter button is clicked once in the main screen, else the changes are not saved and my previous value remains.
    Anybody have an idea on how we can use Additional actions in Tab caching concepts.
    Thank you,
    Arun

    Hi Kranthi,
    When i try to save the fields which i merged from different tab is not saving.
    Please find the below details.
    Green highlighted fields are custom fields which is merged from different screen like header or item overview screen. This is handled in script button.
    Red highlighted fields are merged from different tab like shipping or sales using tab caching concept.
    While changing the value of the fields which is merged from different tab , and press ENTER then it throws the Warning message if occurs.
    After warning message, if i try to save using the script button for copying all the custom fields which is merged from different screen , pasted it to their respective screens and also saved.
    Its working fine.
    When i try to save it before pressing ENTER button then the respective changes had made in the merged fields from different tab are not reflected.
    How we can handle this issue?
    Thank you,
    Arun

  • How to display warning message ?

    Dear all,
    I would like to display a warning message, when the user doesn't key in a profit center (with Tcode: FB50).
    I have entered the option "Optionnal entry" for profit center for the field status group, but the system doesn't display any warning.
    Could you help me ?
    Thanks and best regards

    HI,
    Please try to use a Validation which will be easy to achive this. If you dont know how to create a validation please check the WIKI, you will find a documentation which can help you.
    Regards
    Ravinagh Boni

  • How to avoid warning messages in jump targets

    How to avoid the warning messages while using the jump targets from BW to R/3 ?
    example of warning message is as follows .
    Warning Selection for ABSTA cannot be uniquely assigned.
    RSBBS setting is done for the multiprovider & uses the info source 2LIS_11_VAITM .

    try doing the following:
    1.you can suppress "Settings > Suppress warnings from server" messages on ur BEx toolbar .
    2.Go to transaction RSRT, type in the query, click on the messages button, and suppress all messages
    3.In RSBBS, go to the sender query in change mode. There should be a tab in the middle column where you have to give your infosource name..
    For. eg If you want to jump from Cost centre report (BW) to Masterdata transaction in R/3, you ust assign this particular infosource in RSBBS settings.
    4.Apply note: 971614 or 975164 or OSS : 1013370 if applicable.
    Reagrds
    Dhanya.
    Assign points if this helps!!

  • How to Capture warning message in SHDB recording

    Hi SDN,
    I am getting problem in Recording FB03 through SHDB.
    when i am clicking on save as complete button i am getting a warning message as duplicate entry.
    when click on enter button the actuval object got saved bu from recording it is not captured.
    how we can continue with this

    Hi
    Sorry
    i know that
    i don't want to display messages.
    when i am recording a Transaction code.
    i am getting a warning message as check for duplicates.
    when click on enter button that warning message is got disappiared but that enter click is not recorded in FB03 recording.
    when i process that recording it is stopping that transaction code at that warning message in BDC.
    please suggest

  • How to convert Warning message Appl.Area V1 mess.No 428 to Error Message

    Hi,
    Can any one please tell me how to make a warning message to error message in Scheduling Agreement, message no is 428 and application area is V1, this message comes when the user exceeds the target Qty in Schedule line.

    If a message is a custom message, then by changing the message type from W
    (warning) to E(Error) we can convert the message type into error message. This is done with the help of development guy. A change in the code is needed.
    If it is a standard message, then it depends on w hether we have teh access to change the message type. If access is there, then it is possible to change the message from Warning to Error. i.e. If we are capturing std SAP message in our code and displaying then we can change it, else if SAP message is displayed directly, we cant change it.
    So, to change it, capture the error message from SAP in some Zcode and then convert that message into a custom message of message type E.
    The whole change needs ABAP support.
    Reward if it helps.

Maybe you are looking for

  • Why some sites don't display pictures on my IPod Touch?

    When I surf the web on my IPT(IPod Touch)some sites don't display pictures....Instead there is a kind of blue Lego cube with a question mark on it... Thanks, JF

  • Unable to convert - missing tools pane

    I have had a subscription to Adobe ExportPFD for 2 years; suddenly, I'm no longer able to convert PDF to Word or Excell because the tools pane is missing.  what do I do now?

  • Quicktime player 10.2 will not restore windows

    PROBLEM RE-OPENING QUICKTIME PLAYER WINDOWS ON-MAC OSX 10.8 My 27 inch iMAC is Running OS X 10.8.  It came with QuickTime Player Version 10.2.  The problem is that when I attempt to "open" a Quicktime movie (.mov) I get a message that says "QUicktime

  • LoginModule login method called twice on unsuccessful logins

    This is a cross post of a topic in the Application Server - General forum. The login and abort methods of our JAAS LoginModule are called twice when authentication is unsuccessful. It is called once on successful logins. This is problematic as it put

  • Compaq Mini CQ10 start failure

    Hi I have a Compaq Mini CQ10 when I press the start up key it, it comes up with the black Q screen and an option to press F9 or F10 key. I have tried rebooting while pressing one or the other of these keys and it will not open in either BIOS or chang