Display Message in WD Application

Hello Everyone,
I am a bit new to WD ABAP. So, please bare with me if I am asking very fundamental questions. My requirement is as follows:-
After executing a BAPI in WD Application, I want to show the return messages of the BAPI in very nice manner. For Eg:- If the BAPI returns the message type as  "S" i.e Success and a Message text as "Document posted successfully: BKPFF 060000015610002009 ". I want to show all the information in a message area with a Green bullet. If it return an error message I want to show all the information, but with a red bullet at the starting of the line.
Is this possible? If it is possible, could anyone explain me with a step by step procedure of how to acheive this. I would greatly appreciate your help.
Regards,
Gopal Yarlagadda.
Edited by: Gopal on Sep 3, 2009 11:31 AM

Hi,
I assume that, the messages are retunrd from a BAPI .
DATA: es_message type bapret2 or any strcutre of your type or message manager messages table type.
(Refer IF_WD_MESSAGE_MANAGER).
loop at lt_msg into ls_msg.
    MESSAGE ID 'DEMO' TYPE 'E' NUMBER '139'
    WITH liv_id INTO es_messages-message.
    es_messages-id         = 'DEMO'. "Mesage class
    es_messages-type       = 'E'.
    es_messages-number     = '139'.
    es_messages-message_v1 = liv_id.
or
if ls_msg-type eq 'E'.
lv_str = "Success ful'.
endif.
es_message-id = ls_msg-id.
es_message-message = lv_str.
endif.
Maintain the messages in the Se91.
By defalut as per the message type the framwork handles
the Icon.
But if you want some specific icon  to be displayed then you
need have your own table that shows these meesages with custom icons.
Regards,
Lekha.
Edited by: Lekha on Sep 3, 2009 3:17 PM

Similar Messages

  • Messages application not displaying messages

    Hi everyone, i am hoping to get some help here.
    anytime i miss a call, the missed call log takes over my messages application (even though i did not enable call logs to be displayed in my messages application). So when i open my message or email application i will not see my emails but my missed call logs will be displayed there until i do a hard reset.
    This is starting to annoy me. Is there a fix to correct this error?
    Thanks

    "My Device: Blackberry Curve 9315/9320"
    What model BlackBerry is this? Where did you get a "9315" from?
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Send Display Message to SPA5xx or SPA3xx Series phones from SIP Server

    I have the program samples to update a CISCO SPA5xx phone via HTTP URI.  Unfortunately that URI is not accessible via NAT.
    I would like to be able to update the display from the Dial Plan (ie as the call routing progresses).  We use FreeSwitch, but really this is just a generic SIP question.  Is there a SIP INFO method or SIP HEADER or other way for the server to signal a display message update to the SPA5xx series of phones via SIP?
    FreeSwitch has a send_display function.  However it has only been coded for SNOM and POLYCOM support.  We can't have that!
    Thanks in advance,
    Sean

    Admin Guide contain the information that text messages have format described in RFC3428 (it mention not only how to disable/enable the feature) and I didn't said just RTFM but copied relevant part of such documentation to my response. But I'm not willing to waste our time with the discussion about "has been RTFM, or not has been RTFM".
    Now I understand you are not interested in format of SIP packets, you are interested rather in code sample that can send such kind of messages.
    The Asterisk can send such messages understood by Cisco Phone. You can call sendtext() application from dial plan. For the source code of it see file chan_sip.c, function declared as static int sip_sendtext(struct ast_channel *ast, const char *text)
    It may help to you.

  • How to block displaying message "Save changes to file 'Test1' " in BEx?

    Hello, dear colleagues!
    Do You know how to block displaying message "Save changes to file 'Test1' " in BEx?
    I need some BEx setting which can block it and make it the same way as You close common Excel workbook without any changes made to it after opening e.g. without any messages, just clicking the cross. 
    Thank You all very much in advance!
    Val
    Edited by: vtb777 on Nov 21, 2011 1:46 PM
    Edited by: vtb777 on Nov 21, 2011 1:50 PM
    Edited by: vtb777 on Nov 21, 2011 1:52 PM

    from time to time i am working with macroses, but they are not good for the report's reliability.
    maybe You have some example of such macros?
    UPDATE:
    I have tried to edit event, called WorkbookBeforeClose in module BExEventHandler, adding there such a line:
    Application.DisplayAlerts = False
    but no result. maybe there are some other ways of solving this problem?
    Edited by: vtb777 on Nov 22, 2011 6:26 AM
    UPDATE-2:
    I got such a code, but it doesn't work:
    Private Sub Workbook_BeforeClose(Cancel As Boolean)
    If MsgBox("Save changes to file? " & Name, vbYesNo, "") = vbNo Then
       Cancel = True
    End If
    End Sub
    Edited by: vtb777 on Nov 22, 2011 11:07 AM
    Edited by: vtb777 on Nov 22, 2011 11:16 AM
    Edited by: vtb777 on Nov 22, 2011 11:20 AM

  • Display messages from PL/SQL?

    I am running some PL/SQL code from Application Builder > Page Definition > Processes After Submit > Source. Can the PL/SQL code be written to display messages (like the Messages attribute does)?
    I tried using htp.prn, but couldn't make it display. How do you do it?
    Thank you.

    Wolfram,
    Since your process is running after submit any calls to htp.prn will not be displayed. In order to see your messages you either have to run your process before header or at any of the other processing points during the rendering portion of a page or you have to assign the display message to a page item which will maintain the value for when the next page is rendered.
    Cheers,
    Tyson Jouglet

  • Fn on screen display message generator for ThinkPad has stopped working

    Hi,
    I did a clean install of Windows Vista Enterprise edition and have installed all the drivers for my T400.
    What I found was that the Fn on screen display message generator was working fine right before I installed the driver for the Intel GM4500 video controller.
    Once I installed this video driver, I get a popup window that says On screen display message generator for Thinkpad has stopped working
    The problem details are as follows:
     Problem signature:
      Problem Event Name:    APPCRASH
      Application Name:    TPOSDSVC.exe
      Application Version:    1.1.5.0
      Application Timestamp:    49ba1898
      Fault Module Name:    MMDevApi.dll_unloaded
      Fault Module Version:    0.0.0.0
      Fault Module Timestamp:    4549bd03
      Exception Code:    c0000005
      Exception Offset:    749c19ad
      OS Version:    6.0.6000.2.0.0.256.4
      Locale ID:    1033
      Additional Information 1:    d5a1
      Additional Information 2:    c4214129afe40788e38f0b75c15ad165
      Additional Information 3:    ed09
      Additional Information 4:    309182ce310d7491a448199eccbd6ba1
    I know that some of you have experienced this problem too but so far there hasn't been a solution that's worked.
    I'm reluctant to install Vista SP1 or SP2 as that may caus other unrelated problems.
    Thanks in advance for any advice you may have.

    Dear All
    Error message on start "on screen display message generator for thinkpad has stopped working"
    Event Log "Faulting application TPOSDSVC.exe"
    OS Vista Business 32
    I have experienced this on a customer's ThinkPad R61e Machine Type 7650-DNG and found that the following solves the problem.
    Firstly run Thinkvantage System Update and get everything up to date from Critical, Recommended and Optional Updates tabs.
    Next Run Windows Update and view the available updates select all High Priority Microsoft updates and any optional ones that you require and (and this is where it differs from normal Lenovo advice) select the Conexant Audio driver aswell.
    Current Vista version available on Windows Update is 4.98 (Date 23 Jun 2009)
    Current Vista version available on Thinkvantage System Update is 4.18 (Date 2 Oct 2007)
    NB Re-installing 4.18 may have solved the problem also, but I have not tried that and do not plan to.
    I hope this helps. 
    Jason Bolton - BWCL - Lenovo Premium Business Partner - www.bwcl.co.uk

  • On screen display message generator for ThinkPad has stopped working

    Hello,
    This is a fresh install of Vista-32 on a lenovo x300.
    Upon boot (or launching TPOSDSVC.exe) I receive the error message in the subject line.
    There is an entry in the Application log, here is the jist of it:
    Faulting application TPOSDSVC.exe, version 1.1.3.0 faulting module MMDevApi.dll_unloaded
    I've uninstalled the On Screen Display application a few times - no luck 
    -I uninstalled it from add/remove programs then reinstalled it via the Lenovo System Update utility.
    I've checked my video drivers - up to date according to lenovo
    The problem is presitent under new profiles.
    I did some digging online and found a possible fix of altering some reg keys
    http://forums.lenovo.com/lnv/board/message?board.id=T_Series_Thinkpads&message.id=28789&query.id=223...
    The keys mentioned in that post were non- existent in this computers registry.... ?
    I added them .... no dice
     thanks in advance
    -kirby 
    Solved!
    Go to Solution.

    Dear All
    Error message on start "on screen display message generator for thinkpad has stopped working"
    Event Log "Faulting application TPOSDSVC.exe"
    OS Vista Business 32
    I have experienced this on a customer's ThinkPad R61e Machine Type 7650-DNG and found that the following solves the problem.
    Firstly run Thinkvantage System Update and get everything up to date from Critical, Recommended and Optional Updates tabs.
    Next Run Windows Update and view the available updates select all High Priority Microsoft updates and any optional ones that you require and (and this is where it differs from normal Lenovo advice) select the Conexant Audio driver aswell.
    Current Vista version available on Windows Update is 4.98 (Date 23 Jun 2009)
    Current Vista version available on Thinkvantage System Update is 4.18 (Date 2 Oct 2007)
    NB Re-installing 4.18 may have solved the problem also, but I have not tried that and do not plan to.
    I hope this helps. 
    Jason Bolton - BWCL - Lenovo Premium Business Partner - www.bwcl.co.uk

  • Custom integrator to Display message in Excel Sheet

    How I can Display my Message in Custom Integrator Excel Sheet

    I have try the following but I still did not get the custom error message
    while I have enter the record in Application Developer->Application -> Message
    Name : NOT_POSSIBLE
    Application -> Web Applications Desktop Integrator
    Language -> US
    current Message text : This entry not Allowed
    FND_MESSAGE.SET_NAME('BNE','NOT_POSSIBLE');
    FND_MESSAGE.RAISE_ERROR;
    also try this
    hr_utility.set_message(231 ,'NOT_POSSIBLE');
    hr_utility.raise_error;

  • How to display message in Default Frame work Page (Page Title bar)

    Dear Guru,
                    I want to display message in Page Title Bar , and that message should move like(Marquee in html) . So please any one suggest how to do and that message should be display for certain time.
    Thanks and regards
    Kumar Rakesh.

    Kumar,
    create a bsp application and create an iview from it and put it in default framework page
    code for the same
      <%@extension name="htmlb" prefix="htmlb" %>
    <%@extension name="bsp" prefix="bsp" %>
    <htmlb:content design="design2003" >
      <htmlb:document>
        <htmlb:documentHead>
        <htmlb:headInclude />
        <style type="text/css">
        .urBdyStd { background-color: "#455F55"; }
        </style>
        </htmlb:documentHead>
        <htmlb:documentBody>
    <marquee scrollamount="3" >
    <%-- <htmlb:textView
    encode ="true"
    id="a"
    textColor = "white"
    text = "BI Reports are currently down" />--%>
    <b><font size="2" color="red"><%=wa_rep-s_message%></font></b>
    </marquee>
        </htmlb:documentBody>
      </htmlb:document>
    </htmlb:content>

  • Displaying Messages to the user

    Hi,
    1. I have created one webDynpro application in which in default view I am using a tabStrip which contains 4 tabs.
    2. 4 different view are associated with these 4tabs.
    3. I am using messageArea UIElement in each view.
    4. But if I try to display any message using wdComponentApi.getMessageManager().reportSuccess(), it displays the same message in each view.
    5. So if I navigate through the tabs, it shows me same message in each & every view.
    6. I don't want to display the same message in another views.
    How to resolve this problem?
    Thanks in Advance

    To display an error message:
    wdComponentAPI.getMessageManager().reportException("Your Error Message", false);
    To display an warning message:
    wdComponentAPI.getMessageManager().reportWarning("Your warning Message");
    To display an success message:
    wdComponentAPI.getMessageManager().reportSuccess("Your success Message");
    This works in an iview other than do modify view.
    if you are using another Java file, you need to pass
    com.sap.tc.webdynpro.progmodel.api.IWDComponent wdComponentAPI
    from your iview to use this messages in your application in that file.
    Thanks & Regards,
    Mohak

  • How to find message type by using message number and application area

    Hi abapers,
    I know the message number and application area , how to find messagwe type.
    i.e weather it is error message or warning message.
    MESSAGE NUMBER IS    :219.
    APLLICATION AREA IS    : FS.
    in which table i had to check.
    i checked in t100 table , but i am unable  to find message type.
    please help me to solve this.
    regards

    hi,
    go to se91
    enter area and message number.
    then click on display.
    then go to utilities tab >> where used list or press shift + ctrl +f3
    there list of program will show .
    choose your program name
    then u will get ur mesage infoemation by double click on ur program name
    thanks
    sachin

  • Displaying messages in ISA

    Hi,
    How we can display messages(Error, Warning) messages in ISA application?
    I am getting these messages from CRM system. How do we capture these messages in ISA.
    Regards
    MQ

    Hi,
    I went through the Development and Extension Guide but not getting clear picture on message framework. I am new to ISA development hence finding some difficulty in understanding the concepts.
    I had some warning message in CRM system. I need to display that message when a spcific quote is opened. How I can do this?
    Regards
    MQ

  • I am trying to open my iTunes on a Windows XP laptop and get the error message 42404 "iTunes application could not be opened.  Please repair or reinstall QuickTime".  I did that and it did not help.  Any ideas?

    I am trying to open my iTunes on a Windows XP laptop and get the error message 42404 "iTunes application could not be opened.  Please repair or reinstall QuickTime".  I did that and it did not help.  Any ideas?

    Let's see if a more rigorous uninstall/reinstall procedure gets us past that, nancy. See the following troubleshooting document:
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP

  • Having problems with Bridge shutting down after saving photo in PS Cs5,,,,,,,,,  Also when i attempt to update either PS or bridge get an error message in Adobe application manger "Error loading updater workflow"

    Having problems with Bridge shutting down after saving photo in PS Cs5,,,,,,,,,  Also when i attempt to update either PS or bridge get an error message in Adobe application manger "Error loading updater workflow"

    Sorry for the late reply. My email firewall has become a little over zealous & sent a lot of my emails straight to my junk email folder, so I have only just now discovered your reply in my junk mail folder.
    The only "don't open files exceeding xxx megabytes" instruction I can find in my Prefs, is in the Bridge Prefs for Thumbnails, & mine is set at 1000mb. The biggest files I handle are bigger than 200mb so I should be able to open a few, not just one.
    However, this doesn't explain why I can open a psd format file of 180mb, close it, but then can't open a RAW format file of only 26mb immediately after.
    I can open the RAW file only if I restart my computer - very annoying!
    However, thanks for the advice about the video card & memory.
    So, I'm still stuck as to what the issue is.

  • Error Message reads: this application has failed to start because MSVCR80.dll was not found. Re-installing the application may fix this problem.  I have re-installed, SO many times and I still cant open iTunes.

    Hi Support,
    I am becoming anxious because no matter what I try it doesnt seem to allow me to open itunes.
    Error Message reads: this application has failed to start because MSVCR80.dll was not found. Re-installing the application may fix this problem.
    I have re-installed, SO many times and I still cant open iTunes.
    Please help!!

    Click here and follow the instructions.
    (98888)

Maybe you are looking for