How to control an error message to display at the status bar or in a popup?

Hi experts,
I find that one of the error message in an user exit display at the status bar in some conditions while
display in a pop up window in other conditions. Is there some way to control its display style as I want
it? Thanks in advance.

Hi,
  Use the below code....
CALL FUNCTION 'PTRM_UTIL_MESSAGE_APPEND
EXPORTING
i_msgtype = 'I' or 'W' <because you want message to display otherthan error>
i_msgid = <Your message id which you are using in user exit>
i_msgnumber = <Your messge number>
Or
If you want to display the text in a pop up window instead of the above process then use 'POPUP_TO_DISPLAY_TEXT' to display the message text in the popup.
Rgds,
Bujji

Similar Messages

  • How do i get rid of a instructional information that displays under the status bar?

    The instructional information that displays below the status bar tells how
    to add info to the custom search menu wizard and it covers part of my browser window.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • How to get DML error message to display

    Hi -- I have a report/form combination. When the user creates a record in the form, or cancels, the app branches back to the report results, properly displaying the success or error message from the form page.
    When the user updates or deletes a record in the form, a second form is branched to. This form (a dynamic form), allows the user to enter a comment for deleted or updated records, which are archived to a separate table. The success and error messages are set in this form to an app item called DML_RETURN_MSG. The page process that saves the archive comment sets the value of DML_RETURN_MSG properly: it is visible in the session state.
    This form then branches back to the report results, but the DML_RETURN_MSG is not displayed. I've compared the definition of both forms very closely, and see nothing obvious that would be causing this.
    Is the problem that the first form is a DML form, while the second is dynamic? How can I get the DML_RETURN_MSG to display?
    Thanks,
    Carol

    Carol,
    How are you referencing the DML_RETURN_MSG item in the (success? or error?) message? This is done by enclosing the item name in ampersand and period:
    This is a success message: &DML_RETURN_MSG.
    However, I assume you already know that.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • How do I suppress error messages from displaying in GPIB calls?

    I use GPIB Read and GPIB Write to access instruments on the bus. Both vi's supply status on error out.
    I sometimes call these routines in situations where I do NOT want to reap error status, so I leave the error out terminal unconnected.
    Here's the problem: I get error popups that display the GPIB errors (when there are some)  even though I don't connect the error out terminals to simple error or general error.
    How can I suppress the error messages??? I do NOT want them to display...
    As always, thanks in advance for the assist!!!

    PROBLEM SOLVED.
    Thanks gentlemen. But... now I have to defend myself!
    1. I have both old non-488.2 and newer 488.2 instruments on the same bus. When I send *IDN? to the old instruments, they generate errors. When I send model-specific (non 488.2) commands to the newer stuff, they sometimes error. I have to 'search' the bus and identify specific instruments (by mfg/model) that I'm looking for; I don't know what address they're at. So I go thru a loop (the index is the GPIB address) and for each address I try the old-style probe; if it fails, the new style; if neither succeeds, no one is home at that address. The problem is that in cases where I try the wrong probe for the device first, it frequent gets 'trapped' in the input buffer of that device causing it to incorrectly respond to its correct probe when I finally get to it. So I have to clear the device before sending it the probe to make sure its listening. Can't use *CLR since many devices don't recognize it; and since I can't send a command (yet) because the device is screwed up. So.... I figured out what I have to do to get the devices listening. The NEAT-3xx controllers are happy *after* they receive a null command with a LF (EOS) character - but they generate errors while processing the digital enema just described. The HP spectrum analyzers I use work fine when they get *IDN?, but generate an error on the bus when they receive the probe designed to get the NEAT controller to respond. So what I do is always send an EOS character first to each address before each probe - and then issue a GPIB read. I ignore the errors generated, and the data returned. Then when I probe, I always get a good response (if the probe type matches the device!) instead of an artifact from the garbage the instrument had to listen to. It's like drinking a beer after your wife calls you and nags - it clears your head and makes you ready to move forward. So now you know why sometimes I wanna ignore errors, but thanks for asking.
    2. Why don't I use VISA? Well, find me a VISA driver for the NEAT-3xx family of controllers, and I will... I use raw GPIB reads/writes (and nothing else) in my 'scan the bus and probe each address' loop described above. I use raw GPIB commands for the NEAT controllers, and VISA for the HP. You guys designed this stuff, not me... What I don't know (and what you might help me with) is whether there's a 'raw' interface that allows you to talk to instruments using VISA calls when there is NOT a VISA driver for the device... kinda like "I wanna use the GPIB read/write, but use the VISA interface so all my code looks the same" deal...
    Thanks again!

  • [SOLVED :)]How do I record error messages to post to the forum?

    My setup:
        Win 7 running Arch on VBox
        Arch networking is set up and working
        Nothing installed except for vim, links, + many packages included at install
    Issue:
       Having trouble installing xorg-server (etc, stuff needed for GUI)
    So I have all these error messages, and I would like to post them to the forum and they're too long to type.  Supposing I didn't just want to summarize or tell you the gist of the message, how would I copy the whole thing and post it to these forums.  I'm sure there are many ways, so let's hear some!
    I can already redirect to file with:
    pacman -S <package list> > errors.txt 2>&1
    How would I grab that data from my VBox install and send it either from Arch or from Win7?
    *Edit*: I /am/ able to install some things with pacman -S <package>  (like vim).
    Last edited by enjoysmath (2012-05-15 13:18:55)

    ngoonee wrote:
    enjoysmath wrote:To do a shared folder I had to install Guest Additions, and so on (an all day project for me).
    You MAY want to consider whether you have enough time to play around with Arch Linux, in that case.
    I have.  I've tried other distros and each one of them had problems.  So to solve my problems, I'm going to need to understand linux more.  For that reason, I chose Arch.  And it was recommended by an IRC friend who is doing similar code writing as me, and if we work on this project together we can help each other out with our computer issues.  E.g. If I'm on win 7 and he's on Arch, I have some weird issue with Visual D, and all he can say is good luck!  Once I've got my setup working, we can help each other since we'll both be running into the same bugs.   Another reason is speed, basic linux with minimal crap pre-installed seems to run way faster in VBox.  I'm in AZ, where the temperature really does affect CPU temp.
    In learning linux, there is a healthy trade off between learning every detail about one thing and just skimming over and going back to it later.  I am now doing more of the latter so that I can have just the basics up and running, X-windows, sound, networking, and so on...  So when I see a sed command, I think 'yeah it would be worth it to learn how to use sed,'  but if I did nothing but learning sed for the next week, I would not meet certain idealistic goals I have for myself.  And if I take too long, on one thing, how do I know that what I am doing is the smart way to do it?  I need the bigger picture for that.  So I need to carefully manage what little time I have on Earth, and use all I know, all my intuition to make the right decision at each step, and sometimes that decision is either: try something else, get help from someone else, understand something more, sleep on it.  I lost my point somewhere in there.  But yeah, I am an able to learn, in my own way, what I want, and when I want to.  When the time comes for me to teach, I will understand my pupils, and encourage them, knowing each one is relatively unique in their goals and plans for Arch or w/e I'm teaching them.

  • Bridge will not open, an error message is displayed regarding the cache.

    Hi,  when I try to open bridge I receive an error message with instructions to go to preferences and do something with the cache.  when I go to preferences, cache, purge cache everything freezes. the only way i can do anything is to force a shut down of the computer.  this happens each time I attempt to use bridge.
    i use a mac book pro.
    if any one has an idea I would love to hear it.  thank you

    Doc you are a champion. Thank you, selecting a new location has worked.
    Lindy Corrie
    0402 324 179

  • How do I get a URL to display in the Awesome Bar drop down list? Some URL's appear in this drop down but I can't figure how they got there.

    There is a drop down list from the Awesome Bar containing some of my most frequently visited sites. How can I add URL's to this list?

    The location bar drop-down list shows items based on visited count (bonus points and frecency: frequency and recency) and if you have visited other URLs more often then those will replace other websites.
    *https://developer.mozilla.org/en/The_Places_frecency_algorithm
    You can't customize this drop-down list and you would have to bookmark websites to have easier access.

  • How many complaints must I encourage before you restore the status bar?

    I just need the number. I began my campaign moments ago, and I'm looking for a target number. I feel exactly as the poster with the "colorful" language. I just think I'll get an answer faster with honey instead of vinegar.
    Again, just the number of complaints it takes to get the Status Bar feature returned. (NOT AN ADD-ON)

    Mozilla is a small not-for-profit organization with a big mission to promote openness on the web. With its limited resources, it isn't always possible for Mozilla to keep backwards compatibility on all features without diverting developers from other tasks.
    Here, the add-on community had filled the gap months before Firefox 29 was released. Yes, that is an extra step, but there has always been a kind of symbiosis between the core product and add-ons that has allowed Mozilla to work with a small team.
    If you believe that Mozilla should divert resources from other programs to restore the Add-on bar, you can make your case. I do not think, though, that it is a question of numbers of petitioners.
    And maybe that energy would be better spent in other ways, such as helping other users adapt to the new Firefox, or helping recruit more volunteer programmers to build these features into the product itself.

  • Error Message Repeated Display When using BBP_DOC_CHECK_BADI

    Hi,EveryOne,
        Who can help me,I am using BBP_DOC_CHECK_BADI,Check the item's,when the first time,i modify some PO item data,then through this BBP_DOC_CHECK_BADI,can show one error message.Then i modify the error data to correct,push the check button,no error message show again.
         Then i go into the second item,check,no error message.
         And there only two item.
         So, i Save the order.But the first error message display again.
         I don't know why? Is there have any one can help me.I am will very appreciate him.
        Thanks a lot.
    The code display:
            DATA:l_destination TYPE rfcdest.
            DATA:lt_ekbe TYPE TABLE OF zgp_invoice_check,
                 ls_ekbe TYPE                 z_invoice_check,
                 lt_ekpo TYPE TABLE OF z_invoice_po,
                 ls_ekpo TYPE                 z_invoice_po.
            CLEAR:l_destination.
            CHECK po_header-be_log_system IS NOT INITIAL.
            MOVE po_header-be_log_system TO l_destination.
            CALL FUNCTION 'Z_INVOICE_PRICING_CHECK'
              DESTINATION l_destination
              EXPORTING
                pi_ebeln = po_header-be_object_id
              TABLES
                pto_ekbe = lt_ekbe
                pto_ekpo = lt_ekpo
              EXCEPTIONS
                OTHERS   = 1.
            IF lt_ekbe[] IS NOT INITIAL.
              SORT lt_ekbe BY ebeln ebelp.
              LOOP AT po_item INTO ls_po_item.
                READ TABLE lt_ekbe INTO ls_ekbe WITH KEY ebelp = ls_po_item-number_int.
                IF sy-subrc EQ 0.
                  READ TABLE lt_ekpo INTO ls_ekpo WITH KEY ebelp = ls_po_item-number_int.
                  IF sy-subrc EQ 0 AND ls_ekpo-netpr NE ls_po_item-price.
                    ls_messages-msgty = 'E'.
                    ls_messages-msgid = 'BBP_PU'.
                    ls_messages-msgno = '001'.
                    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
                      EXPORTING
                        input  = ls_po_item-number_int
                      IMPORTING
                        output = ls_po_item-number_int
                      EXCEPTIONS
                        OTHERS = 1.
                    CONCATENATE 'Line No.' ls_po_item-number_int ': ' 'Price cannot be changed for invoice item!'
                           INTO ls_messages-msgv1.
                    CONCATENATE 'Line No.' ls_po_item-number_int ': ' 'Price cannot be changed for invoice item!'
                           INTO ls_messages-message.
                    APPEND ls_messages TO et_messages .
                  ENDIF.
                ENDIF.
              ENDLOOP.
            ENDIF.
    Edited by: andy zhou on Apr 10, 2008 3:51 AM

    Hi
    Which SRM version are you using ?
    All the Data after makning changes in the PO document, will be also aviavale in BBP_DOC_CHANGE_BADI for the filter type- BUS2201 (Purchase orders) in your case. You can either do a validation there using BBP_DOC_CHECK_BADI.
    The  Business Add-Ins [BADI] - BBP_DOC_CHECK_BADI should be used for customer messages to be triggered ->
    Re: Error message control for invoice w/o PO in SRM
    Re: calling a screen from BADI BBP_DOC_CHECK_BADI
    Re: PO Message
    Re: Problem with BBP_DOC_CHECK_BADI 
    Re: Mandatory field
    Re: "Refresh" button in BBP_POC calls badi..... ?
    Re: Validation of SC/PO
    Re: PO Changes, PO date
    Do let me know, incase still face any issues.
    Regards
    - Atul

  • HT201210 After downloading latest version of iTunes it will not open.  This error message is displayed;  The program can't star because MSVCR80.dll is missing from your computer.  Try reinstalling the program to fix this problem.  Then a second error box

    After iTunes requested that I download latest version on PC it now will not open.  2 error messages appear.  first:  The program can't start because MSVCR80.dll is missing from your computer.  Try reinstalling the program to fix this problem.  second:  iTunes was not installed correctly please reinstall iTunes. Error 7 (Windows error 126).  I have tried reinstalling a number of times and restarting computer but no luck.

    This happened to me today as well post installing the latest version of itunes.   I did a search on google for the error and came across a recommendation to :
    Note: Start Windows in Safe Mode to complete any of the following steps if you're unable to access Windows normally due to the msvcr80.dll error.
    If, and only if, you're receiving the msvcr80.dll is missing error when you open Apple iTunes, do the following: (skip this step if your msvcr80.dll error is occurring with a different program)
    Uninstall from Windows the following five programs in this order: iTunes, Apple Software Update, Apple Mobile Device Support, Bonjour, and finally Apple Application Support. If you have iCloud, remove it as well.
    Uninstalling these programs in Windows is done from an applet in Control Panel called Programs & Features (in Windows 8, 7, or Vista) or Add or Remove Programs (in Windows XP).
    Note: Songs and playlists in iTunes will not be removed when you uninstall the iTunes program or any of the other, already-mentioned Apple programs. If you'd still like to back them up, they're usually located in the My Music folder in Windows.
    Download the latest version of iTunes from Appleand note the location you're saving it to so you can find it once it's done.
    Run the iTunes installation as an administrator. If you're not sure how to do that, see How Do I Open an Elevated Command Prompt? for help. That procedure shows you how to open the Command Prompt program as an administrator, but the steps are essentially the same for anything, including the iTunes installation package you just downloaded.
    A general overview of removing and reinstalling iTunes can also be found here on Apple's site but the above procedure seems to work better in this particular situation.

  • How can we trigger error message in BADI PARTNER_UPDATE

    Hi All,
    I have implemented a BADI PARTNER_UPDATE. In this I have validation ( Error Message ) on saving buisness partner.
    It is giving the error message but it freeze all the fields. On pressing enter it goes for short dump.
    In short dump it gives error The COMMIT WORK processing must not be interrupted.
    Kindly suggest me that how can we pass error message and it also does not freeze the fields.
    Regards,
    Narendra Goyal

    Hi Narendra,
                          How are you trying to display message.
    Is it using message service class instance of message statement (which should not be used, as that is for GUI messages) or using collect FM or by adding to genil message class container.
      Please try different approaches and see what works for you.
    Thanks,
    Rohit

  • How do I resolve error message R6034

    How do I resolve error message R6034 when trying to access itunes

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall move on to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • Prevent that error messages are displayed twice

    Hi All!
    How can I prevent that error messages are displayed twice.
    The FuBa is called at the backend more than one time (at least twice)
    therefore I get every message twice.
    Regards
    sas

    Sas-
    I'm not sure if I understood your problem. Are you saying that you have a service which you call in a loop, and display the error message in the loop as well? If so an option would be to have a [HashMap|http://java.sun.com/j2se/1.4.2/docs/api/java/util/HashMap.html] where the key is the error message id, and the value is the error message. In the loop check if the error message id returned by your service already exists in the map and add it only if absent. Then after your loop is complete use the MessageManager to display your consolidated error messages.
    Cheers-
    Atul

  • TS4002 I'm getting an error message when I try the click on a link in an email. No associated application could be found. How do I fix this problem?

    I'm getting an error message when I try the click on a link in an email. No associated application could be found. How do I fix this problem?

    Is this a one-off or a general problem? If a one-off, is it a link to a web page or something else? If not a web page, try control-clicking on it and choosing to download the linked file. This will at least access the file though it might be to something you don't have an application to open with. If you do this, what sort of file do you get? - select it and hit command-i to get information on it.

  • How to store BDC error messages into oracle database table?

    Hello Experts,
    I have a peculier requirement wherein I need to store the error messages occured while executing the transaction using BDC (Call Transaction Method) in an Oracle Database table format. Is that possible, if yes, how?
    Thanks in advance.

    Hi,
    Structure of BDCMSGCOLL.
    TCODE -> BDC Transaction code
    DYNAME -> Batch input module name
    DYNUMB -> Batch input screen number
    MSGTYP ->Batch input message type
    MSGSPRA -> Language ID of a message
    MSGID -> Batch input message ID
    MSGNR -> Batch input message number
    MSGV1 -> Variable part of a message
    MSGV2 -> Variable part of a message
    MSGV3 -> Variable part of a message
    MSGV4 -> Variable part of a message
    FLDNAME -> Field name
    Ex :
    DATA : BDCMSGCOLL TYPE TABLE OF BDCMSGCOLL WITH HEADER LINE,
    BDCDATA TYPE TABLE OF BDCDATA WITH HEADER LINE.
    CALL TRANSACTION 'MM01' USING BDCDATA MODE N UPDATE S MESSAGES INTO BDCMSGCOLL.
    IF SY-SUBRC 0.
    PERFORM ERR.
    CLEAR I_MSG.
    REFRESH I_MSG.
    ENDIF.
    *& Form ERR
    text
    --> p1 text
    <-- p2 text
    form ERR .
    DATA V_MSG(255) TYPE C.
    READ TABLE I_MSG WITH KEY MSGTYP = 'E'.
    IF SY-SUBRC = 0.
    CALL FUNCTION 'FORMAT_MESSAGE'
    EXPORTING
    ID = I_MSG-MSGID
    LANG = 'E'
    NO = I_MSG-MSGNR
    V1 = I_MSG-MSGV1
    V2 = I_MSG-MSGV2
    V3 = I_MSG-MSGV3
    V4 = I_MSG-MSGV4
    IMPORTING
    MSG = V_MSG
    EXCEPTIONS
    NOT_FOUND = 1
    OTHERS = 2
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    WRITE V_MSG. " Error Message Displayed Here.
    CLEAR V_MSG.
    ENDIF.
    endform. " ERR
    hope this will help you.
    Reward if found helpfull,
    Cheers,
    Chaitanya.

Maybe you are looking for

  • Deployment: initiate same subdirectory's name for application in one cluste

    Hi all, In one (third-party) application is used one constant for Web-path that is referenced such as WEB-INF or META-INF directories. But after deployment of application to 2 nodes in cluster, WebLogic create subdirectories under $Domains/dmainname/

  • Can you add layers below a Composite Layer?

    Once you create a composite layer at the top of your layer stack w. Option-click on "Merge Visible" in the Layer Panel Menu, is that new layer the only layer that now shows (represents) the image? For instance, if another adjustment layer is added be

  • Zoom in and zoom out a image in a java applet

    hello, i don't find any example of code of a java applet that zoom in and zoom out an image in jpeg format... can you help me? thanks

  • ITunes crashes all the time after Mountain Lion

    After installing OSX 10.8, iTunes keeps crashing whenever I open it. Tried reinstalling but did not work. This is the crash report: Process:         iTunes [481] Path:            /Applications/iTunes.app/Contents/MacOS/iTunes Identifier:      com.app

  • Cant Create User using Delegated Admin Console

    Hi All, ./imsimta version Sun Java(tm) System Messaging Server 6.2-3.04 (built Jul 15 2005) libimta.so 6.2-3.04 (built 01:30:02, Jul 15 2005) Linux nile.jlcc.com 2.6.11-1.1369_FC4 #1 Thu Jun 2 22:55:56 EDT 2005 i686 athlon i386 GNU/Linux I configured