Troubles generating an error message in WebDynpro ABAP

Good evening guys.
I set the following code in enhancement method (pre-method) of ONACTIONNAVIGATE method, which is triggered after push the "Review" button in WebDynpro Application FITE_REQUEST:
method PRED78YJIDJ8M8KXTC2MXQI1XK5O . "Exit of ONACTIONNAVIGATE (in ZENH_FITV_FPM_02 )
  data: L_CURRENT_CONTROLLER type ref to IF_WD_CONTROLLER,
        L_MESSAGE_MANAGER    type ref to IF_WD_MESSAGE_MANAGER,
        TEKSTO TYPE STRING.
  IF NAVIGATION_TYPE = 'FORWARD'.
    L_CURRENT_CONTROLLER ?= WD_THIS->WD_GET_API( ).
    call method L_CURRENT_CONTROLLER->GET_MESSAGE_MANAGER
      receiving
        MESSAGE_MANAGER = L_MESSAGE_MANAGER.
report message
CALL METHOD l_message_manager->REPORT_T100_MESSAGE
  EXPORTING
    MSGID                     = '00'
    MSGNO                     = '398'
    MSGTY                     = 'E'
    P1                        = 'Test'
    P2                        = 'Test2'
   P3                        =
   P4                        =
   MSG_USER_DATA             =
   IS_PERMANENT              = ABAP_FALSE
   SCOPE_PERMANENT_MSG       = CO_MSG_SCOPE_CONTROLLER
   VIEW                      =
   SHOW_AS_POPUP             =
   CONTROLLER_PERMANENT_MSG  =
   MSG_INDEX                 =
     CANCEL_NAVIGATION         = 'X'
   ENABLE_MESSAGE_NAVIGATION =
RECEIVING
   MESSAGE_ID                =
ENDIF.
endmethod.
Unfortunately, this code is not working, because the message is not appearing. I generated this piece of code with the WebDynpro Code Wizard, but even so is not working.
The standard application generates standard messages an places them in WDR_MESSAGE_AREA WD component, in the View MESSAGE_AREA, regarding blanks in text fields that are located on another WebDynpro component (FITE_VC_GENERAL_DATA, view GENERAL_DATA_VIEW). I put my own code in WD component FITV_FPM, in the LAYOUT_VIEW. But I wanna the messages also appear at WDR_MESSAGE_AREA WD component, MESSAGE_AREA view.
Do you know why I am having trouble generating an error message in this standard Webdynpro? It is not possible to generate an error message to appear in another Webdynpro component, but the same WD application?
Regards guys!

Hi
you can store message ID, message no and message type in the context node in ur exit and make this context node interface enabled. Map this node to the component where you want todisplay the message. read the context node .
Call the method for displaying the messages and pass message id, no and type from context node.
invalidate this context node using method "invalidate" from interface if_wd_context_node.
Regards
Vishal kapoor

Similar Messages

  • Generate an error message that Adobe Reader 8 or later is required

    Afternoon all,
    I have created a form (in Acrobat 10 Pro) with a lot of scripts and we have determined that they do not all work as desired in Adobe Reader 7 and earlier.
    Is there a way to generate an error message if a user opens this form with Adobe 7 or earlier?
    We would like a message to pop up advising the user that Adobe 8 or later is required for this form.
    It does not have to lock them out or anything, we just want to advise them.
    Thanks much,
    Steve

    Thanks,
    This is how my bosses want this done. For one part, some of the functionality we are using just doesn't exist in Reader prior to version 8. For others, the users don't really have an option to go elsewhere.
    As for thescript, i am not sure how to apply it. Where do i access the initial page's open event?
    I do know how to enter document level scripts (this form has several) but what does "outside of a function definition" mean and how do i do that?
    Thanks everyone,
    steve

  • How to use messages in WebDynpro-ABAP

    Hi,
        How to use messages in WebDynpro-ABAP.
    Does it has any class to manage messages like IWDMessageManager or we can just use standard SAP Message types.. like E,W,X,I,S..
    I hope it have a message container to display messages.
    Thank U for Ur time.
    Cheers,
    Sam

    Hi Sam,
    U can hard code the message or u can use the Assistance class's text elements to store the messages.
    1) Code to display hard coded message:
    report message
    CALL METHOD l_message_manager->report_attribute_error_message
    EXPORTING
    message_text = "Enter the correct Connection ID"
    element = elem_flightinfo
    attribute_name = 'CONNID'.
    2) Code to display message from text element of assistance class:
    lv_text = wd_assist->if_wd_component_assistance~get_text( key = '002' ).
    report message
    CALL METHOD l_message_manager->report_attribute_error_message
    EXPORTING
    message_text = lv_text
    element = elem_flightinfo
    attribute_name = 'CONNID'.
    Where Message "Enter the Correct Connection ID" is stored in Text Element with key '002'
    Hope this helps,

  • Report Builder get shut down... without generating any Error Message

    Hi Every One,
    I am generating the reports in Report Builder 10.1.2.0.2. And the report is based on the view, when I want to generate the PDF, the report builder get shut down without generating any error message. But I can run the report to see live Preview (Paper Design ).
    What can be reason that its not generating PDF file format.
    Thanks in Advance for your time.

    Hi Saumen,
    I don't think so that .. I have memory problem or some other issue on the hardware side .. bcos I used the same report builder on same machine against the same instance.. to generate the 70K pages PDF file ... but nothing happened ...And this report is fetching only 10 records. during the execution of the report, Report Builder get close. without generating any message. without keeping any processor busy.
    I am feeling that report builder try to write in the PDF file format .. but unable to write.. may b some thing is wrong on the privileges side of the VIEW. But I have Select Priv on the view.
    When I try to trace the report, I got the message in the trace file that " Report Aborted on user request"
    Thanks,
    Mohsin

  • Error messages in webdynpro

    Hi,
    I'm currently working on developing an ESS scenario for IT0573 Australia (Absences). For this scenario I've not used the FPM completely. The roadmap is as follows:
    Overview -> Detail -> Review and Save -> Confirmation.
    The node Detail has a sub-roadmap as follows :
    Detail -> Popup1 -> Popup2.
    The FPM is not used for navigation from the nodes in the sub-roadmap to Detail or Review screens.
    For certain conditions, error messages have been raised from webdynpro in the Detail screen. However when I use the previous button to go to the Overview screen, the messages are still persistent.
    Is there a way I can counter this issue?
    Regards,
    Shwetha Sekhar.

    Hi Chaitanya,
    The clearing of the error messages is normally handled by the FPM. Since we have not used the FPM completely, the error messages tend to be persistent. Nevertheless, error messages generated from the front end are cleared. Only the ones generated from the backend are not being cleared. Is there any way to clear these messages? If yes, then where are they stored?
    Even if we write the code to clear these error messages in PREVIOUS BUTTON's action, it will be like re-coding the entire FPM for our scenario. Is there any other way to do it?
    Regards,
    Shwetha.

  • ADS Error while calling WebDynpro Abap with Adobe Form

    Hi Experts,
    I have created an Adobe Form and its interface in Transaction SFP. In a WebDynpro Abap Component I created an UI-element "Interactive Form" with the context of my form. So the WebDynpro Context was created automatically. Then I tried to call the WebDynpro Application in  the Internet Explorer but got the error message:
    german(original):
    WebDynpro Exception: Der Aufruf des ADS schlug fehl. Informationen zur Ursache finden Sie im error.pdf auf dem Applikationsserver.
    english:
    WebDynpro Exception: The call of ADS failed. You find information in error.pdf on Application server.
    How can I call error.pdf and what can that be? One WebDynpro Component with the form runs without any problems, the other one doesn't do this. I have no idea if it is a problem with context or server or something else.
    I hope you can help.
    Thanks al lot.
    Best regards,
    Ingmar

    Hi,
    Check the note in this site...
    https://websmp204.sap-ag.de/notes
    Regards,
    <i><b>Raja Sekhar</b></i>

  • Error in opening webdynpro abap application

    hi All,
    I am facing below issue in opening webdynpro abap application, this is first WDA application in production system, please help me in resolving this issue.
    ============================================================================
    Error when processing your request
    What has happened?
    The URL http://grp.mysap.pg.com:9500/sap/bc/webdynpro/sap/zgpuvstapp/~ucfLOADING was not called due to an error.
    Note
    The following error text was processed in the system GRP : A request for server adln5412 has been sent to server adln5411; see Note 1364846
    The error occurred on the application server adln5411_GRP_10 and in the work process 3 .
    The termination type was: ERROR_MESSAGE_STATE
    The ABAP call stack was:
    Method: PREPROCESS_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Method: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP
    Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
    Module: %_HTTP_START of program SAPMHTTP
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system GRP in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server adln5411_GRP_10 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 3 in transaction ST11 on the application server adln5411_GRP_10 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 400 -u: BS6402 -l: E -s: GRP -i: adln5411_GRP_10 -w: 3 -d: 20100929 -t: 140306 -v: ERROR_MESSAGE_STATE -e: A request for server adln5412 has been sent to server adln5411; see Note 1364846
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    ============================================================================
    Edited by: brahmanandam ausali on Sep 30, 2010 4:11 AM

    Hi Shibli,
    I'm facing the same issue with the POWL only if called from a part of the network outside our country (Italy) so I think it would be a network configuration problem as you suppose. Can you explain us the configuration of the balancer and dispatcher to solve the issue?
    Thanks
    Mattia

  • Error - while executing webdynpro abap

    Hi Friends,
    I have installed Netweaver 7.01 ABAP Trial. Everything is working fine except webdynpro ABAP which doesnt get opened in browser while executing.
    Error says: 'The requested URL could not be retrieved - /sap/public/myssocntl?sap-client=000', 'Invalid URL'.
    Am wondering how to solve this problem. If anyone has the solution, plz guide me.
    Thanks in advance.
    Regards,
    Prabhu

    Hi Rich Heilman,
    Already tht service node was activated! Do I need to set-up anything in my system network? I already installed Loopback adapter.
    Still problem exist..
    Thanx and regards,
    Prabhu

  • Query Generator Funny error message

    Hello Experts, Not sure if you ever seen something like this, but be great if anyone can offer me some insight...
    on a normal query with parameter I have something like thsi
    /*select from ORDR t0*/
    declare @begandate as datetime
    /* where */
    set @begandate = /* t0.docdate*/ '[%0]'
    and it runs fine with just about any table, view...etc.. But as soon as you have a UDT in SBO... put in like
    /*select from ORDR t0*/
    declare @begandate as datetime
    /* where */
    set @begandate = /* t0.docdate*/ '[%0]'
    select * from dbo.[@bos_del_pri] a inner join ordr b on b.u_prioritycode = a.code
    where b.docdate = @begandate
    it give me funny error messages, "Only one epxression can be specifed in the select list when the subquery is not intrudoced with Exist"
    This is ran at a SBO 2005B PL35... when I ran a similar query in SBO 2005A PL45 I get soemthing like
    "must specify table to select from".. I know this error message doesn't make sense, but not sure if anyone has encounter the same problem, and if yes possible solutions?
    Thank You

    Hello Friends,
    This is in accordance to provide the information that Query Generator does not work with parameters and User defined tables together. As per my experience in SQL UDT tables start with "@" and variables declared in SQL are also prefixed with "@" so SQL does not make any difference between UDT of SAP and variable of SQL. Thus we are not able to use ([%0] parameters and UDT tables) together.
    Please correct me if I am wrong.
    Please forgive me if i have posted wrong information  
    I look forward to your reply.
    Regards,
    Murtaza

  • Generate an error message in UIX

    Dear sirs...
    how can i use ActionErrors in the UIX page to view a custom error message?
    thanks for any help.

    Hi Mustafa,
    in case you have access to MetaLink, you can read
    Note 329454.1: How To Display Struts Action Errors or Messages in a UIX
    URL: http://metalink.oracle.com/metalink/plsql/ml2_documents.showFrameDocument?p_database_id=NOT&p_id=329454.1
    Regards,
    Didier.

  • Javascript generated validation error message not rendering properly.

    Hi guys. I am a web developer looking for some help with a Safari issue.
    I have a web form with client side validation. The page is built in asp.net and uses a validation summary to display the error messages in an unordered list. The validation is not the standard asp.net version, but a version they came up with at the company I work at.
    The validation produces some javascript in the page, which appears just before the closing </form> tag, which I understand can cause issues in Safari? However I cannot change the place it appears on the page because its part of a sort of CMS template.
    The validation text appears fine in other browsers, but in Safari it produces a white space. However if you highlight over the space, the text is revealed, and then stays on the page. Also if you scroll the page so that the space disappears off the top of the page, and then scroll back up again, the text is visible. Also if you click the submit button again the text is revealed.
    I have also found that if you use Safari in the Transparent Window mode, it all works fine.
    If anybody out there has any ideas what could be causeing the problem, I would be extremely grateful.
    Mac Mini Mac OS X (10.4.9) Safari 2.0.4

    Hi,
    no, there doesn't exist a client side JavaScript API for this. The message element is only rendered if there is a component error detected in the lifecycle. This means there is nothing you can hook into (e.g. using document.getElementById())
    Frank

  • Website Storage Settings Panel generates script error message

    I am using Chrome, XP sp3 and the latest flash 11.1.102.55
    When I click on the Website Storage Settings Panel here:
    http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager07.htm l
    the panel starts loading but after a few seconds I get a pop up with the following message:
    A script in this movie is causing Adobe Flash player to sun slowly.  If it continutes to run, your computer may become unresponsive.  Do you want to abort the script? Y\N
    Actually, all the settings panels do the same, but I discovered it while attempting to use the above.
    Aborting the script causes the Panel box to go crazy, with it running like a very fast movie through many different looks and nothing is able to be clicked on.
    Not aborting the script causes my computer to become unresponsive as warned.
    I have cleared the cache before doing this.
    Same thing happens in Firefox - which I use when Chrome doesn't work.
    Same thing happens in IE - which I do not use.
    No idea what to do - definitely welcome suggestions!!!!
    Thank you.

    Because you mention Safari I want to pass along this post by VIDEOTRANS from another thread.***************************************************************************************I found a fix for the streaming failure.... 422 error.  I my case it was AVAST anti-virus that blocked Comcast's server from streaming the content to my   Mac Book.  I added the server address:  secure.xfinitytv.comcast.net   to the excluded server list in the Web Shield preferences.  Now the streaming works on every channel...  By excluding ther comcast server it allowed the stream to play in my browser, and no longer blocks it.... YAY!***************************************************************************************Here is a link to the other thread. http://forums.comcast.com/t5/XfinityTV-Website/Error-Message-422/m-p/2469238

  • My emails from the last five years have disappeared and trying to receive new emails generates an error message

    My antivirus scan secured a FakeAlert threat. Now, all emails from the past five years are no longer visible in my Inbox and are not in the Deleted Items folder. Any time I try to receive a new email I receive the following message:
    "There was an error downloading the following message:
    From: <sender>
    Subject: <subject>
    This message may contain a virus or there is not enough disk space. Skip this message?"
    Enter No:
    "Unable to write the email to the mailbox. Make sure the file system allows you write privileges, and you have enough disk space to copy the mailbox."
    I have write privileges and 184 GB of free disk space. I recently deleted many emails and compacted my inbox. I cannot restore any files that the scan deleted because there are none visible.
    I have contacted my antivirus software providers and they concluded that the problem lies with my email software. Can you please help?

    REmove all emails from the Inbox to other folders.
    When it is empty do the next stage.
    If you are using a POP mail account and have some emails in the webmail view that are missing in Thunderbird, you could get everything currently on the server downloaded again.
    Make hidden files and folders visible:
    * http://kb.mozillazine.org/Show_hidden_files_and_folders
    In Thunderbird
    * Help > Troubleshooting Information
    * click on 'Show Folder' button
    * '''close Thunderbird now - this is important. '''
    * clickon 'Mail' folder
    * click on mail account name
    * Locate and delete these files: '''Inbox and Inbox.msf'''
    * locate and delete this file: '''popstate.dat'''
    * close the window - top right X
    * restart Thunderbird
    A new Inbox will be created.
    A new popstate.dat file will be created.
    It keeps a record of everything downloaded, as it is new and empty, TB will believe everything currently in server Inbox needs to be downloaded.
    This will get everything currently in server Inbox back in Thunderbird. As you already have some emails, you may get some duplicates, but only the once.
    I would not expect any emails are recoverable from the Inbox in Thunderbird because they may have been corrupted by either an unknown reason or by the antivirus program doing something with the file to make emails lose information, it is possible that when you compacted the file emails were lost. Compacting removes 'marked as deleted' emails, but if it didi not know where a marked as deleted email ended, good emails could have been removed due to the corruption.
    In future, compacting should be done on a regular basis, but never compact a file/folder that you think may be corrupted. Getting the error message saying the file may be corrupted was a good hint that somethig was wrong.
    Report back on results.

  • Printing generates an error message E1 on Brother printer

    When I print a Firefox webpage on my Brother printer HL-3070 CW it does not work. The printer kicks in but after just one second of fan trust it posts an error message "Unable to print E1" (Kan ej skriva E1 in swedish). I then need to shut off the printer and restart again in order to reset the printer.
    With other documents the printer works fine (OS test page, word processor files, pdf files).
    I checked with the Brother support without any luck.

    Hi hornbacher,
    Please check out the troubleshooting steps listed in this kb article: [[Fix printing problems in Firefox]] sometimes Firefox's cached printing settings need to be reset.

  • Trouble updating InDesign - error message U44M1P34

    I am trying to update InDesign and received error message U44M1P34
    How do I get this to update?

    U44M update error http://forums.adobe.com/thread/1289956 may help
    -more U44.. discussion http://forums.adobe.com/thread/1275963
    or
    Link for Download & Install & Setup & Activation problems may help
    -Chat http://www.adobe.com/support/download-install/supportinfo/

Maybe you are looking for

  • Hiding a JDialog invoked in a Thread.

    Hi, I have a Swing application that starts a Thread that in turn creates a modal JDialog. I need to use the Thread so that I can wait around for information entered in the Dialog while leaving the rest of the application interactive. However, when I

  • How do I get ALL my music back ??

    I had 3.5 DAYS of music in iTunes and now it's gone.   How do I get it ALL back ??

  • Iphoto Import

    Hello, when I start Iphoto I get a message that asks "128 photos have been found in the Iphoto library that were not imported. Would you like to import them." I have answered both yes and no with the same results. "The photos have been placed in the

  • Apache Authentication

    We recently setup an Open Directory server on OSX 10.4 and we're having issues getting our GNU/Linux Apache 2.0 web server to authenticate against it. Here is the section in our httpd.conf: LoadModule ldap_module modules/mod_ldap.so LoadModule authld

  • How to replace content from ipad 1 to ipad2

    My husband gave me his ipad 2.  I would like to sync all of the same content from my ipad1 to the ipad2 and get rid of the content he had on it (except for the new features.) How do I do this?