Warning /  Information messages

I need to create a warning message that is a popup (like information messages).  I need it to be a popup so the users can't miss it.  I can't use just an information message because when you click the green check (hit enter) it will save the document.  I need to allow the user to view the warning and then edit the document, if need be.
Is there any way to do this?  I tried displaying an information message followed by a warning message but when you enter through the warning message (in this case) the document is automatically saved.
Regards,
Davis

Hi,
CALL FUNCTION 'POPUP_TO_CONFIRM'
   EXPORTING
    text_question               = TEXT-005
    TEXT_BUTTON_1               = 'Yes'
    TEXT_BUTTON_2               = 'No'
    DISPLAY_CANCEL_BUTTON       = SPACE
    START_COLUMN                = 25
    START_ROW                   = 6
  IMPORTING
    ANSWER                      = L_RETURN.
  IF L_RETURN = '1'.
  ENDIF.
In the above the L_RETUN will contain the value that depends on the button whether the OK buttonis pressed or a Cancel buttonis pressed.
Regards
Sudheer

Similar Messages

  • Suppress Warning/Information Messages in Idoc Processing

    Hi,
    Is there any way through which I can suppress all the warning/information messages in Inbound Idoc processing.
    I was trying to create some Sales Orders from Idocs. But, the problem is Idoc is getting failed with status as 51 and displays the status message as the warning/information message that has been written in the userexit. However, the Sales Order is getting saved successfully.
    Is there any setting through which I can override this?
    Thanks in advance.
    -Babu Kilari

    @ Brad....
    It is working in our development box and not in testing box. So, do you think this is an issue ?
    @ Bhat.....
    I tried the way you said. But, it didnt help.
    Any other help will be appreciated!!!
    Thanks in advance
    -Babu Kilari

  • Idoc failed with status 51 for Warning/Information messages

    Hi All,
    We are trying to create some Sales Orders with the help of Idocs. We are facing some problem as mentioned below.
    1.There are some warning messages/information messages written in standard Sales Order User Exit USEREXIT_SAVE_DOCUMENT_PREPARE
    2.As soon as the Idoc processing reaches any of these messages, it considers them as ERROR message and Idoc fails with the status as 51 which is not expected.
    3.Also, I see that the Sales Order is saved with the data that has been passed in the Idoc.
    Is this the standard behavior ?? (Or) Is there any EDI related configuration setting which can be used to suppress these kind of messages in Idoc Processing ??
    Any help on this would be highly appreciated.
    Thanks,
    Babu Kilari

    if your IDOC has status 51 then it is not posted, hence your sales order cannot be created from this IDOC. of course this error behaviour can be originated by the user exit.
    please read OSS note Note 747631 - Some tips when testing idoc_input_orders

  • SEM - Hide Warning & Information messages ?

    Hi,
    I'm validating user entries in FOX & displaying messages.
    Message log is displaying so many unnecessary logs like errors, warnings & information messages.
    on the error display pop-up window, there is a button to hide each individual type of messages.
    Is there a way to hide warnings & information messages default & show only error messages.
    for example, just for a single error message, I'm getting 5 message lines as follows.
    Information message      :     Check planning function (PF001) was executed.
    Warning Message          :     Errors occured when executing planning function.
    Error Message          :     Error is displayed here
    Information message      :     1 data records were read, 0 of them were changed, 0 generated.
    Information message      :     An automatic planning function was executed for layout LAY1.
    as it confuses end-users, is there a way to display only error messages if any?
    Appreciate any help.

    Raj,
    please check the following thread. It show an easy  solution when using the web interface.
    Web Interface Builder - Only Show Warnings and Errors in Message Tray
    Regards
    Marc
    SAP NetWeaver RIG
    PS: Next time try a search

  • How to suppress all the warning/information messages on BEx & Web (BI 7.0)

    I have already checked all the options using "Messages" option in RSRT.  Still the query execution throws warnings/information messages when run through BEx and Web (through BEx query designer and not WAD).  Users absolutely do not want these messages displayed (error messages are OK though).  Anyone has any inputs?  Thanks!

    i had the same problem and after reading all answers here, i apply what you said about RSRT , it suppose to work because you choose what warrning you want to supress but it did not work
    but you will never believe what i found , i went icon by icon in BEX and in setting icon next to the question mark where you have the option to connect and disconnect from the BW server
    i found this option before "Trace" which is "suppress warning from server" , so i try this and it work, this setting also stay on as much as you want, and it will be applied for all queries you run
    but it will supress all warnings, ok this good for all quieries that you know that they run well , but if you will create a new query , you better put this setting off , until you finalize the query and tested ........it is important to see all warnings when you develope new quieries,   
    i am not sure about the wad but i am sure there is something like that in server setting.
    this is my frist message here, i hope i helped, let me know
    Cheers

  • Suppress information messages and warning messages

    How to suppress Green information of WAD/Query and Yellow warnings
    When i execute my WAD reports/Queries in portal and i navigate/drill, i see some Information messages with green color and few yellow arnings .
    I checked RSRT and these information messages are not available to be suppressed.
    Can somebody help me out please

    Hi,
    In RSRT, select your report and tehn click on MESSAGES and then find your Message no and then Check it , if you are not finding your message then try with differner options available on Left Side, If you click on Generation, you get some messages related that and if you click on Hierarchy then you will get some messgaes, like that you check in all options and then select your Message.
    Thanks
    Reddy

  • Information message for duplicate vendor check( message 144)

    Hello everyone, i am trying to configure information warning message in vendors. The configuration for this is SPRO-IMG-FA-AR/AP-vendor accounts-master data-preprations for creating vendor master data-change message control for vendor master data.
    I need to configure
    message: 144
    message text: vendors with the same address:check
    online:  I information message
    When i enter the new entry, i can see MsgNo 144 under the MsgNo but under "online" i need to use I: informational message but i dont see that option under there. I think i need to configure that message ( I: information message) under "online". Does why one know how to configure that? Any suggestions will be appreciated.
    Regards

    Hi there ,
    By default it will show Information message only.
    Why there is any need of changing anything?

  • Suppress Warning [W] message during BDC process [as batch SM36]

    Hi expert,
    i had problem where Warning message is force my BDC program to stop during SM36 batch job submit.
    if program trigger in ad-hoc process [call program directly using tcode] , program works fine.
    let me share briefly about My program, i intend to create VA41 transaction which have contract start date less than today's date. Warning message V5 001 will appear [not as pop-up window] which force my BDC to stop during SM36.
    please kindly help.

    Hi Rudy..
    The problem is with Contract begin date should be greater than the begin date...you cannot create the Contract for past dates.
    Even BDC will continue for Warning and Information messages and stops if encounters the error message.
    Pass the contran begin date greater or Equal to current date .

  • Impossible to generate information message with 'RRMS_MESSAGE_HANDLING'

    Hello
    I would like to generate Informative message once the variable screen is available for user entry.
    The message from FM (see code beloe) is generated once the query result is up.
    IF step = 2.
    CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
    EXPORTING
    I_CLASS = 'ZBW'
    I_TYPE = 'I'
    I_NUMBER = '022'
    If put RAISE no_REPLACEMENT  then execution stops and system generates an error.
    Thanks

    Hi,
    Use the following Code, don't write in between Case and EndCase, after ENDCASE you write code for I_STEP = 3.
    See PDF
    https://websmp203.sap-ag.de/~sapdownload/011000358700002765042003E/HowToVerifyVariableInput.pdf
    Re: send message from EXIT_SAPLRRS0_001
    DATA: LOC_VAR_RANGE LIKE RRRANGEEXIT.
         IF I_STEP = 3.
              LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE WHERE VNAM = 'MONTH'.
                      IF LOC_VAR_RANGE-LOW(4) LE 2010.
                           CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
                              EXPORTING
                                I_CLASS = 'RSBBS'
                                I_TYPE = 'I'                     " It will through Warning Message
                                I_NUMBER = '000'
                                I_MSGV1 = 'Pls Enter Year Greater then 2010'.
                            RAISE no_replacement.
                      ENDIF.
             ENDLOOP.
          ENDIF.
    DATA: LOC_VAR_RANGE LIKE RRRANGEEXIT.
         IF I_STEP = 3.
              LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE WHERE VNAM = 'MONTH'.
                      IF LOC_VAR_RANGE-LOW(4) LE 2010.
                           CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
                              EXPORTING
                                I_CLASS = 'RSBBS'
                                I_TYPE = 'E'
                                I_NUMBER = '000'
                                I_MSGV1 = 'Pls Enter Year Greater then 2010'.
                            RAISE Again  " It won't allow user untile he/she give correct values
                      ENDIF.
             ENDLOOP.
          ENDIF.
    Re: message at the variable screen
    Re: Query doesnt stop at IF I_STEP = 3.
    Thanks
    Reddy

  • Deactivating the information messages

    Hi
    Is it possible to deactivate the information messages (Not error or warning messages) in SAP?
    Is there any enhancement to deactivate it, Is it possible. Does it involve changing the standard SAP code.
    Thanks for your time
    Best regards
    Ameen

    Hi Ameen,
    this depends on the application.
    Artilce and material master can be controlled via OMT4
    regards
    Björn

  • How to supress informational messages

    Is there a way to turn off the informational (yellow exclamation point in triangle) when creating/copying a new infotype record?  The message is Record valid from date to date delimited at end.  We are using WinShuttle scripts to load data changes but the yellow informational messages are causing problems in the recording scripts.

    Hi David;
    I do not know if it is possible to suppress all warning messages but I can suggest you to do some steps:
    In table V_T582A remowe W from Maint.aft.leave, No org.assign. areas
    And for time management infotypes reactions for collusions are configured under spro-Time Management-Time Data Recording and Administration-Specify System Reaction to Overlapping Time Infotypes
    Regards;
    Okan

  • Window 10 Technical Preview Dual Boot warning popup message saids:

    I'm running Windows 8.1 Pro and I'm trying to setup a dual boot with Windows 10 Technical Preview
    I had problems using both Diskpart and Windows 7 USB/DVD Download Tool, but I finally got a usb stick ready to run and install Windows 10 Technical Preview.  It wasn't easy but I found another third party iso to usb tool called Rufus to finally get
    my bios to boot into the usb drive. Anyway that's not the problem i'm inquiring about, its more about a warning popup message during the dual boot installation.
    After selecting the keyboard layout and language and Microsoft user agreement screens, I select the custom installation to select the partition i want to install Windows 10. A warning message saids," The partitions on the disk selected for installation
    are not in the recommended order for additional information about installing to gpt disk go to the Microsoft website and search for gpt." , and then it asks if you want to proceed with installation?  

    Hi,
    According to the warning message, this sentence means that the type of current drive  is not GPT disk suggested, while Windows installation process recommend you install it at other GPT disk drive. Generally speaking, this message won’t influence
    Windows installation.
    How about your installation? Is it finished?
    Roger Lu
    TechNet Community Support

  • Information message in submitted report

    Hi Folks,
      I am Submitting a report in another report. But submitted report is throwing a Information Message, which is coming as a pop-up. I want to suppress the popup.
      Please help.
    Thanks in advance,
    Punit

    Hi,
    SUBMIT
    Calls an executable program of type 1.
    Syntax
    SUBMIT <rep> [AND RETURN] [VIA SELECTION-SCREEN]
                              [USING SELECTION-SET <var>]
                              [WITH <sel> <criterion>]
                              [WITH FREE SELECTIONS <freesel>]
                              [WITH SELECTION-TABLE <rspar>]
                              [LINE-SIZE <width>]
                              [LINE-COUNT <length>].
    Calls the program <rep>. If you omit the AND RETURN addition, the current program is terminated. Otherwise, the data from the current program is retained, and processing returns to the calling program when <rep> has finished running. The other additions control the selection screen and set attributes of the default list in the called program.
    Ex.
    SUBMIT REP1 VIA SELECTION-SCREEN
    WITH PARAMET EQ 'Selection 1'
    WITH SELECTO IN SELTAB
    WITH SELECTO NE 3
    AND RETURN.
    Regards,
    Bhaskar

  • Warning/Error Message for Tax Code Mismatch between PO and Invoice

    Hi Experts
    Is there any SAP standard warning/ error message thrown when the User changes the tax code in the invoice which does not match the default tax code of the PO? The client would like to identify a 'tax code variance'.
    If no, is there anyway we can configure this? I have checked in OMRM and OBA5 and could not find any relevant message types for the above requirement.
    Any inputs would be helpful.
    Regards

    Hi,
    Can you maintain the validation for your requirement, when user change the tax code system give  warning or error message automatically.
    Edited by: Lavanya.ch on Dec 15, 2011 8:15 AM

  • Change information message to error in PS when PO created against material

    In CJ20N I am changing a material that has a PO already created and all I am getting is an information message.  I want this to be an error.  Where would I configure this?

    Hi Karen
    I am not sure if your message exists there or not but give it a try, go to tcode OMCQ search for your message and change the system message category to "E".
    regrds
    Yogesh

Maybe you are looking for