Error Messages in Web UI

Hi Experts,
How do I throw errors in web UI. I am enhancing a component/view. I want to display errors if some conditions don't satisfy.
Warm Regards,
Abdullah

Solved it this way.
Credit to  Fabian Joiris  and his reply in this [thread|Show BAdI error message in Web UI]. I could not understand his thread earlier though.
DATA:
lr_global_messages       TYPE REF TO cl_crm_genil_global_mess_cont,
lr_core                  TYPE REF TO cl_crm_bol_core.
lr_core = cl_crm_bol_core=>get_instance( ).
lr_global_messages ?= lr_core->get_global_message_cont( ).
CALL METHOD lr_global_messages->add_message
   EXPORTING
     iv_msg_type       = 'E'
     iv_msg_id         = 'ZCRM'
     iv_msg_number     = '000'
     iv_msg_text       = 'Error Message'
     iv_show_only_once = 'X'.
Warm Regards,
Abdullah

Similar Messages

  • How to customize the error messages in web analysis reports

    Does anyone know how to customize the error messages that web analysis shows ,
    I want to customize the below error message with a custom error message
    "Document does not exist or no authorization to open document.Error occurred while loading document"
    Does anyone know how to do this ?

    Rajesh,
    you may want to check these links
    How to the Change the Application Stopped Message
    How to Change the Dispatcher Running, No Server Connected Message
    http://help.sap.com/saphelp_nw70/helpdata/en/65/18fc3f9ec4e669e10000000a155106/frameset.htm
    Thanks
    Bala Duvvuri

  • How to display an error Message in Web Dynpro

    Hello,
    I want to display an error message in Web Dynpro. I'm using this,
    IWDMessageManager message = wdComponentAPI.getMessageManager();
    message.reportSuccess("<some relevant debug message>");
    However, the message is always shown at the bottom of the screen. It is possible to select the location in the screen for showing this object? Or what is the best way for doing this? I've tried to use a Label but I can't set the type (warning, error, info) it's only a message.
    Thanks
    Regards
    SU

    Hi,
    If you include the UI, it will display at the top of the screen..
    Please see below how to create a message in the message editor.
    http://help.sap.com/saphelp_nw04/helpdata/en/72/1d6526263ff24995016a152705eab2/frameset.htm
    and this is how you access the error message in the application ti display it to the end user
    http://help.sap.com/saphelp_nw04/helpdata/en/72/1d6526263ff24995016a152705eab2/frameset.htm
    Regards,
    Ganesh N

  • After starting my computer today and trying to visit and open bookmarked web sites, I cannot open them because I am getting this error message: This web site does not supply identity information. What happened? How do I fix it? Thanks

    Today, when I tried to open web sites in Firefox from my Bookmarks, I could not. I continually received the following error message: This web site does not supply identity information.
    I noticed that when I put the cursor on the box to the left of the address, that message appears. There is also '''no''' https:// before the address.
    Can anyone help correct this problem? I believe sometime last week I may have fiddled with the Secutity settings in the Tools/Security option box and may have screwed up something trying not to have sites use cookies to track me?
    Thanks,
    Bob

    You can set the pref <b>browser.urlbar.trimURLs</b> to <i>false</i> on the <b>about:config</b> page to see the http: protocol.
    You can set the pref <b>browser.urlbar.formatting.enabled</b> to <i>false</i> on the <b>about:config</b> page to disable the highlighting of the domain and see the full URL more clearly.
    *http://kb.mozillazine.org/about:config
    A possible cause is security software (firewall) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.org/kb/Server+not+found
    *https://support.mozilla.org/kb/Firewalls

  • Error message in Web Intelligence:

    Dear Experts,
    At a client location we use Web Intelligence as a front end tool. We have build a new report on an existing universe, which worked very well for 2 days on dev. Today we got a error message when the data is refreshed in the WebI report (infoview). The error seems to be popping up at random. Please view the below error message:
    Error MDDataSetBW.GetCellData.
    Systemerror in application
    CL_RSR_MDX_BXML_FLATTENING and form GET_DIMENSION_MEMBERS-00- (WIS 10901)
    We use SSO authentication based on SAP user accunts.
    System details:
    Version of Business Objects?                          BO XI 3.1 FP2.4  
    Version of SAP Integration KIt?                         IK FP2.4                                                                         
    Version of your BW System?                           SAP NW 7.0 EhP.1 SR1                                                                               
    Version of SAP client?                                      SAP Gui Win7.10 (Comp 4)
    Your help is highly appreciated!
    Best regards,
    Wart van Hoek

    Hi Anil,
    thank you for the hint. Anyway I already checked if a Universe refresh was needed, but it didn't.
    My error is:
    Error MDDataSetBW.GetCellData.
    Systemerror in PROGRAM
    CL_RSR_MDX_BXML_FLATTENING and form GET_DIMENSION_MEMBERS-00- (WIS 10901)
    What I noticed is that it occours only if I access the report through SSO with a restricted user. Instead if I run it with a full authorization user, it works fine.
    Moreover running corresponding MDX on MDXTEST (with the restricted user) I get a void structure (only colum name but no rows). So think there is also a trouble in how authorization are assigned.
    So my main main doubt is why I get this error instead a "No authorization".
    Thank you in advance.
    Kind regards.
    Roberto.
    Edited by: Roberto G. on Jun 4, 2010 9:53 AM

  • Error message from web - when opening pdf files

    Hi,
    I receive the following error message a lot when I try to open an educational pdf file from the web.  What do I need to do to 1. see, 2. print and 3. save these type of educational pdf files from the web?  I am using a MacBookPro OS X.
    Thanks for your help and sorry I could not find an answer on the forum. 
    Example:  I try to import or download MIT18_06SCF11_Ses3.5sum 2.pdf onto my desktop - which seems successful.  However when I try to open this file, I get the following error message.:
    "Adobe Reader could not open 'MIT18_06SCF11_Ses3.5sum 2.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded)."

    Yes i tried following your list of commands and got the same error from MyMathLab by Pearson Publishing or the other link.  I'm beginning to wonder if they are protected. 
    As you probably guess - I am not computer savvy.  I will take my laptop to school tomorrow and ask another student. 
    Thanks for your followup.

  • Error Message on Web Premium Suite while opening Acrobat that Adobe Acrobat was installed as part of a Suite

    Can not open Acrobat Pro 9 out of my adobe creative suite 4 web premium.  Keeps giving an error message. Adobe Acrobat was installed as part of a suite.  To enable Adobe Acrobat start another component of this suite.  I am running Windows 7 64 and already have the CS6 Premium Production Suite loaded on my computer.  I really don't need to load all of the Web Premium since I have upgraded to CS6 programs but still need the Acrobat.  My hard drive crashed and I've had to start all over again.  This is the only glitch and it's becoming very frustrating.
    Can't find a link to actually speak to someone at Adobe.

    you'll need to install and open some other 32 bit cs4 app.

  • Error message in Web UI

    Greetings
    I am getting the following error message and ive tried numerous attempts to debug but i am not finding the problem. This message is displayed on the web page after i log in.
    An error occurred during initialization of the application
    An exception occurred during the internal HTTP communication
    Exception Class     CX_BSP_WD_HTTP_RESPONSE_ERROR
    Text:     HTTP answer has status 404
    Additional Info:     Business Server Page (BSP) Error
    Program:     CL_BSP_WD_STREAM_LOADER=======CP
    Include:     CL_BSP_WD_STREAM_LOADER=======CM002
    Source Text Row:     73
    Any suggestions?

    Hi,
    I also experience this scenario. It prompts me with this error.
    The runtime repository could not be interpreted
    An exception occurred during the internal HTTP communicationException Class CX_BSP_WD_HTTP_RESPONSE_ERROR
    Text: The HTTP Response Had the Status 403.
    Additional Info: Forbidden
    Program: CL_BSP_WD_STREAM_LOADER=======CP
    Include: CL_BSP_WD_STREAM_LOADER=======CM002
    Source Text Row: 61
    Ive checked the authorization in SU01 but my account has SAP_ALL authorization.
    Please help.
    Thank you,
    Ice

  • Displaying BEx Error Messages in WebI

    Hi
    Is it possible to have the BEx error messages displayed in a WebI Report?
    We have various scenarios where an error message is returned from customer exit variables, which is displayed nicely in the browser if the BEx query is executed, but is not shown at all when the same query is run in a WebI document.
    Is there a way to get this done?
    Cheers,
    Andrew

    Hi Andrew,
    a very good suggestion of course, but sadly missing from the XI3.1 integration scenario.
    My understanding is that the BW OLAP BAPI (as used externally by WebI, via MDX universes) does not surface these error messages natively .. so this warning isn't sent to the front-end
    To some extent, this problem also remains in BI4.0 where the JCo error-handling still isn't fully captured between APS DSL Bridge and the BW BICS API . (unless low level tracing is enabled)
    would be interesting to know what tips might be out there in the ecosystem, but i haven't seen any match winners to date.
    Regards,
    H

  • Error messages on Web Dynpro ABAP

    Hi all!!
    I have created a Web Dynpro ABAP which consumes 2 Web Services from XI through Proxy classes.
    When a method of a Proxy class from a WS gives an exception, an error screen is automatically displayed, How could I handle this exception and personalize the error message??
    Thanks and regards,
    Manuel Míguez.

    Hi,
    here's the documentation on <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/5e/05a5421935c511e10000000a1550b0/frameset.htm">error pages</a>
    For information on messages, see
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/d8/2a934259a5cb6ae10000000a155106/frameset.htm">here</a>
    Regards, Heidi

  • I get this error message "FirePass Web Access protocol error" on a site that used to open just fine.

    I started using LastPass to auto fill the log-in but removed the site from LastPass when I started having this problem.
    I can log on to the site OK but there is a look-up app once I am logged in that gives me this error message.
    I can log in and access the look-up app OK on my laptop, just not my desktop.

    '''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Start Firefox in Safe Mode]''' {web link}
    While you are in safe mode;
    Press the '''Alt''' or '''F10''' key to bring up the tool bar.
    Followed by;
    Windows; '''Tools > Options'''
    Linux; '''Edit > Preferences'''
    Mac; ''application name'' '''> Preferences'''
    Then '''Advanced > General.'''
    Look for and turn off '''Use Hardware Acceleration'''.
    Poke around safe web sites. Are there any problems?. Then restart.

  • Too much errors/messages in Web Analysis reports stops workspace

    Too often workspace stops to work for the client with the following (example) messages. It seems that too much informational and error messages from reports (like a non working report link or missing member) gives the workspace client so much trouble that login off or closing the browser is the only solution. This seems not the right workaround. Anyone experiencing the same?
    Internet Explorer popup:
    Line: 2608
    char: 4
    Error: 'undefined'is null or not an object
    Code: 0
    URL: https://[workspaceserver]/workspace/index.jsp
    {next}
    Internet Explorer popup:
    Line: 2688
    char: 3
    Error: 'undefined'is null or not an object
    Code: 0
    URL: https://[workspaceserver]/workspace/index.jsp
    In a Hyperion(r)Workspace-error popupscreen:
    An error was encountered while closing all content
    Can only remove children
    Internet Explorer popup:
    Line: 1385
    Char: 4
    error: 'this.leftComp.getDataModel()'is null or not an object
    Code: 0
    URL: https://[workspaceserver]/workspace/index.jsp

    it seems that all errors are related to the migrated anaqlyzer report. In the new 931 version less characters are allowed to use than the old 71 version.
    In the main name of the reportgroup the migration just rplaces the wrong characters. But links and url insite reportgroups and reports are not changed during migration. Activating (clicking on it) such links is the main cause of the freeze.

  • **ERROR: Messages in webi log files

    Hi,
    My log files seem to be littered with messages like:
    ***ERROR:C3_cdbDSLServer:(A) cdbDSLServer_LoadUniverseMetadata : CreateChildItem (false)....
    or
    **ERROR:C3_Dictionary:cdbDictionaryFolder::RegisterFolder failed for: "WE Calendar"....
    or
    **ERROR:C3_tbDimensionalSLDS:BOException: ...
    or
    **ERROR:IECore_kc3CoreEngineImpl:GetUniverseLOV failed.
    etc.
    These show up in the Webi server logs.  We don't see these on the screen and I am having a hard time tracking any information about them down.  Is it a *real* error? Should I be concerned??
    thanks,
    -missy

    SAP Support said not to worry about the messages marked as ***ERROR as they 'soft errors'.
    For the example of :
    ERROR:C3_cdbDSLServer:(A) cdbDSLServer_LoadUniverseMetadata : CreateChildItem (false)...
    This message was due to a report loading the objects and taking longer than the system is designed to wait, so it logs a message and continues on to completion.  I paraphrased that a bit, but that was the primary description.
    In contrast, if it was a hard error, the report would fail and a message of some sort would be displayed on screen.
    If reports start failing or messages are displayed on screen, then I should be concerned and should open a new ticket.
    So pretty much what you said Prabhith.
    I can't say I get a warm and fuzzy feeling about this response, but nothing is failing on our end, so at the same time I am not going to push the issue.  His response was prompt and he had seen it before, so I am less worreid, but I will still continue to keep an eye on it as usual.
    thanks,
    missy

  • DATA SAVED UNLESS ERROR MESSAGE IN WEB INTERFACE BUILDER

    Dear collegue,                                                         
    IN SEM-BPS THERE is a fox that executes a control on the data inserted 
    in the layout. In planning folder when the data are not corrected there
    is a message that lock the date and data cannot be saved.              
    In web interface builder there is the message (with icon "STOP") but the
    wrong data are saved however. This is a serious problem.
    regards,
    DG

    Dear DG,
    when using planning folders there is the feature to run a function upon leaving a layout and upon save. In order to forbid saving of data in case of error the function has to run upon save - and that feature is not available in WEB based planning.
    You can add it by implementing the how to paper "How to run planning sequences on save and other events". You can find it in the service market place http://service.sap.com/~sapdownload/011000358700004491692004E/HowToRunPlFuncOnEvent.pdf.
    This should solve your problem.
    Regards, Olaf

  • Got error message with web based application that it would only work on MS Explorer 6.0 or newer. Any work around for this?

    When accessing a web based program I got a message that it could only be accessed using MS Explorer 6.0 or newer. Is there a work around for this?

    There is a way to do this.
    But it works or not, I have no idea.
    Enable  "Develop menu".
    Safari > Preference > Advanced
    Checkmark the box for "Show Develop menu in menu bar".
    Develop menu will appear in the Safari menu bar.
    Click the Develop menu and select "User Agent"
    There are choices. Do not forget to make Safari default again afterwards.

Maybe you are looking for

  • What is OSstatus error -9549 and how to solve it?

    When I was using my iPhoto '09 (Version 8.1.2 (424)) to export a slideshow, I got the following error: The operation couldn't be completed. OSstatus error -9549 I've never seen this error before previously when performing similar operation. What does

  • Apple iTunes download slow

    I have 2 Apple tv boxes each connected to separate tv's by a hdmi cable , the boxes are connected to the computer by wifi , the computer is connected to a Time Machine which is then connected to a modem. Box #1 is upstairs and is about 14 feet away f

  • Re : Remove System and Authentication from QaaWS login dialog

    Hello there, Hope all is well. I am trying to get rid of OR pre-populate with default values for System ( CMS) and Authentication boxes from QaaWS login dialog. I know you can do it in Desktoplauch and Adminlaunch ( Yes I am using BOXI R2 SP5) ...by

  • LR 4.3 and CS5

    I just upgraded to LR 4.3 and when I go to edit in CS5 a window opens up that tells me to upgrade to Camera Raw 7.3 but CS5 can't do that.  By choosing the option render in LR, will the files be compatible in CS5??  I am not ready to upgrade to CS6 a

  • Load Hierarchies in B7I

    Can Some body tell me the steps to load hierarchies from flat file in BI7.0. From Data Source , I can see only options for Attributes, Text and Transaction data. But, I don't see any option for loading hierarchies. Can some body please throw some lig