Error message with a hyperlink attached to it

Hi Friends
I have a requirement wherein I need to display a hyperlink along with the error message in webui.
Example...
Please enter a valid currency Details
Here Details should appear as a Hyperlink and on clicking on this hyperlink it should navigate to a portal screen.
Infact it is not actually a portal screen, it can be any URL.
Could you please let me know how to add the hyperlink and how to navigate to portal screen on clicking on this hyperlink
where do we need to write the code.
Best Regards
Anil
Edited by: ANILKUMAR M on Mar 3, 2011 7:23 AM

Hi Anil.
According to SAP Help you can always get a link in a message for:
. Fields that are defined as mandatory in the UI Configuration Tool
. Fields that are defined as mandatory in the business object layer (BOL)
Also it's possible with additional coding. The example is:
lr_msg_service = view_manager->get_message_service( ).
lr_msg_service->add_message_mapping( iv_message_class = 'CRM_BRC_MESSAGES'
iv_message_number = '013'
iv_binding_string = '//BRCBUSINESSROLE/STRUCT.CRMUI_NAVBAR'
iv_page_id = component_id ).
Check this [link|http://help.sap.com/saphelp_crm700_ehp01/helpdata/EN/cb/659ebfc880493baad66896518a55a1/content.htm] for details. Look at "Navigation to Field That Issued a Message" section and related link for "Enabling Links in Messages".
Another option, which mentioned Arun and according [to this book|http://www.sap-press.com/products/SAP-CRM-Web-Client-Customizing-and-Development.html], is the global message service. The global message service enables you to register callback methods so that you can output navigable messages, that is, you can initiate a navigation to another view (or do whatever you want ) by clicking the message. Registration of the message service for a message looks like:
DATA: lr_service TYPE REF TO cl_bsp_wd_message_service.
lr_service = me->view_manager->get_message_service( ).
TRY.
  lr_service->subscribe_message(
                  iv_message_class = 'CRM_IC_PPL_UI_BDC'
                  iv_message_number = '114'
                  iv_subscriber = me
                  iv_activation = abap_true ).
  CATCH cx_bsp_wd_dupl_mess_subscr.
ENDTRY.
where is the ME self reference points to a view controller that implements the IF_BSP_WD_MESSAGE_HANDLER interface, including HANDLE_MESSAGE method.

Similar Messages

  • Error message with hyperlink

    Hi Champs,
    I have requirement in which I need to display an error message in SRM Portal.The error message is maintained in the SAP SRM system and can be viewed through SE91.
    We are using SRM 4.0 Version.
    I need to display the below error message with a hyperlink to a particular site:
    Profit Center of plant and CO do not match, CO belogs to plant XXXX (item link)"
    Is it possible to have hyperlink with an error message.
    Thanks
    Regards,
    Nishant

    Hello
    It is no possible.
    But you may add hyperlink into documentation for message (SE91 -> Goto -> Documentation -> Long text).
    In this case hyperlink will be available after double click on error icon in left bottom corner.
    PS: and not duplicate posts.

  • Error message saying a device attached to the system is not functioning

    i m getting an error message saying a device attached to the system is not functioning whenever i m trying to connect my pc to my smartphone. i tried all your options like uninstalling failed updates from my update history, checking if their is any flag
    in device manager option but nothing helped me.. plz solve my problem..

    Hi,
    Could you please have a share with your phone's information?
    Based on what I know, different phones may have different softwares developed by the manufacturer to make the connection through Windows operating system, we may check with the phone's manufacturer side and see if there could be some helpful information
    offered.
    Besides, please take a check with
    Event Viewer and see if any special errors logged there.
    Best regards
    Michael Shao
    TechNet Community Support

  • Message with a large attachment will not copy to SENT folder...what can I do to correct?

    After sending a message with a large attachment, I receive an error message that the message did not copy over into the SENT file. It allows me to retry, which does not correct the problem. Ultimately, I have to 'X" out of the message without knowing for sure if the message was sent.

    Well that really leaves one thing.
    Create an exception in your Anti virus program to exclude the Thunderbird profile folder from on access scanning.
    Locate your profile folder by going to the Thunderbird help menu and opening the troubleshooting entry and clicking on the show folder button. Windows explorer will open in your profile folder.
    There have been issues with slowness and scripts timing out recently caused by scanning, I am sort of hopeful this is another manifestation.
    Basically it takes an Anti virus program some minutes to scan a 1Gb file and I think what is happening is Thunderbird tried to update the file, the AV starts scanning because the file has been opened and after that Thunderbird just gives up.

  • I am getting an error message with my snap scan ix500 that says the Evernote is not installed properly.  I have uninstalled/reinstalled evernote but it still doesn't work.  Anyone know where evernote stores their files on a Mac/

    I am getting an error message with my snap scan ix500 that says the Evernote is not installed properly when I try to transfer it.  I have uninstalled/reinstalled evernote and the scan snap softward but it still doesn't work.  Anyone know where evernote stores their files on a Mac?  Or had this problem.

    Are there any dialog boxes popping up behind your Yahoo screen?
    I have intermittent problems attaching files in Yahoo mail and this is usually the reason.  I'm also using an iMac (10.7.3) and this is likely the problem.
    It is generally a Yahoo issue rather than a Mac problem.

  • Is there a way to send a message with a photo attached using imessages. I am not able to send a photo to one of my contacts because I am sending the contact a message text messages. I don't want to send contacts text messages. I want to send them iMe

    Is there a way to send a message with a photo attached using imessages. I am not able to send a photo to one of my contacts because I am sending the contact a message text messages. I don't want to send contacts text messages. I want to send them iMessages.

    Kolyei, sorry for the late reply.
    Have your brother create a contact in his phone for himself. Inside his own contact, have him add his phone number and his iCloud address.
    Settings > Messages > Send & Receive Have your brother select both his phone number and email addresses where he would like to receive iMessages.

  • I replaced the hard drive to a 30gig on my Ipod 4th gen. click wheel but it is still not recognized on my computer or in itunes......I get an error message with a folder and "!"....what can I do to fix??

    I replaced the hard drive to a 30gig on my Ipod 4th gen. click wheel but it is still not recognized on my computer or in itunes......I get an error message with a folder and "!"....what can I do to fix??

    Have you recharge the battery for at least 2 hours, or just leave it connected for 4 hours?
    (When you replaced the Hardisk, you should also replace the battery.)
    Some other iPod SSD sites, says that you may have to format the CF in FAT32, as Mac dont read NTFS drive so if Windows is the 1st PC that your CF is connected, it may be formatted to NTFS.
    You can try erasing the CF using Disk Utilty, so that Mac can recognise it. (but not Windows)
    Have a nice day!

  • Error message with offer to download the 4.1.B.0.587 update and note: "installation not possible" (because it's already there) cannot partition SD card

    Hi - Recently I put the latest update on my LT15i (4.1.B.0.587), after this I rooted the phone, and everything seemed okay. But since then I keep getting an error message with an offer to download the 4.1.B.0.587 update and the note: "installation not possible" (because it's already there). The news line on top shows a red exclamation mark all the time. It seems to me that it is due to this error that I cannot partition my SD card. Does anybody have an idea how to fix that? Thanks much in advance, and happy holidays - nerissa

    Moved thread to Android development.
     - Official Sony Xperia Support Staff
    If you're new to our forums make sure that you have read our Discussion guidelines.
    If you want to get in touch with the local support team for your country please visit our contact page.

  • My mac book pro does not start but has error message with a question mark on screen. took it in and was told probably the hard drive as could not reconize it so bought new one but still not connecting.what do i do

    My mac book pro does not connect but shows an error message with a question mark on the screen.I took it to a retailer that said it was not reconizing the hard drive.He said i needed a new hard drive but it may be something else as well but he was sure a new hard drive would fix it.So putting faith in someone who deals with them i purchased a new hard drive to find it was still not working although he said the computer did know reconize the hard drive and i may have to send it away to get it checked .After already paying 120 pounds for a new hard drive and they wanting another 80.00 pounds to diagnose it i am a little sceptical.
    That's why i am interested on anyone's help.

    Welcome to the Apple Support Communities
    I think that your Mac detects your hard disk, but the problem is that your new hard disk doesn't contain any operating system, so your Mac doesn't find any bootable partition and you see a question mark.
    If your Mac came with DVDs, insert the Mac OS X Install DVD and hold the C key while your Mac is starting. Then, just install Mac OS X. If the hard disk isn't prepared to install Mac OS X, you will have to erase it using "Mac OS Extended (Journaled)". See > http://pondini.org/OSX/DU1.html

  • Displaying an error message with a link to the error field

    By default, ADF validation usually displays an alert with an error message and a link to the error field.
    I have some custom validations where I finally display the error message with this:
      public static void MessageError(String messageText){
        //String messageText="No se han encontrado estos datos";
        FacesMessage fm = new FacesMessage(messageText);
         * set the type of the message.
         * Valid types: error, fatal,info,warning
        fm.setSeverity(FacesMessage.SEVERITY_ERROR);
        FacesContext context = FacesContext.getCurrentInstance();
        context.addMessage(null, fm);
    My customer is asking for displaying a link to the error field in this kind of error alerts as standard errors do.
    Is there any way to get this ?

    Can't you include this in your message?
    You may want to check Duncan's blog https://blogs.oracle.com/groundside/entry/get_more_from_your_messages whichgives more inside on what you can do
    Timo

  • HT4910 My iCal has frozen after I tried to paste info from an email into a reminder.  I get a "server reports an error" message with what I tried to paste in the box.  Calendar is frozen and will only close by forcing it.  Any help?

    My iCal has frozen after I tried to paste info from an email into a reminder.  I get a "server reports an error" message with what I tried to paste in the box.  Calendar is frozen and will only close by forcing it.  Any help?

    Did another window open with the pasted information?  If so, try hitting "enter/return" key and "delete" key at the same time.  That should get rid of the current action on the ical, the extra window should go bye-bye, and all should be fine with the world.

  • Error Message with multiple line

    Hi
    How to display a error message with multiple line?
    Example
         Goods movement not possible for material 101
         Goods movement not possible for material 102
         Goods movement not possible for material 103
    is it possible is ABAP? If so please advice me.
    Best Regards
    Asheek

    Hi Anoop,
    You can use same thing like this
    I suggest write ur message through this.
    First set the obecj.
    CALL FUNCTION 'APPL_LOG_SET_OBJECT'
    for local memory
    FUNCTION 'APPL_LOG_WRITE_MESSAGES'
             EXPORTING
                  OBJECT              = OBJECT
                  SUBOBJECT           = SUBOBJECT
                  UPDATE_OR_INSERT    = UPDATE_INSERT_FLAG
             TABLES
                  MESSAGES            = MESSAGE_TABLE
             EXCEPTIONS
                  OBJECT_NOT_FOUND    = 1
                  SUBOBJECT_NOT_FOUND = 2
                  OTHERS              = 3.
    the call for physical memory
    CALL FUNCTION 'APPL_LOG_WRITE_DB'
    In this process you only need to provide the Itab with error messages.
    Reg,
    Arpit

  • I try connecting to I tunes i get an error message with the error message IxE000068 any ideas

    my ipod touch will continually be in the spinning wheel like it is shutting down mode and occasionally go to the start up screen nothing else. i tried connecting to the itunes and got an error message with the code IxE8000068 and saying itunes could not be connected to this ipod

    Did the error number really start with
    iPhone, iPad, iPod touch: Unknown error containing '0xE' when connecting

  • HT4236 I get an error message with I try to plug into itunes;  This iPhone cannot be used because the Apple Mobile Device service is not started.

    I get an error message with I try to plug into itunes;
    This iPhone cannot be used because the Apple Mobile Device service is not started.

    http://support.apple.com/kb/TS1567

  • Show error message with multilingual in ADF Jdeveloper 10g 10.1.2

    Hi
    I want show error message with multilingual in my application, but i don't know how to do.
    Can you give me some solution.
    I live in vietnamese.
    Thank a lot.

    When i using code
    ResourceBundle bundle = ResourceBundle.getBundle("MyResources",Locale.ENGLISH);
    String key = "hello";
    String s = bundle.getString(key); // Hello
    key = "bye";
    s = bundle.getString(key); // Goodbye
    then there is error follow
    java.util.MissingResourceException: Can't find bundle for base name MyResources, locale en
         at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:804)
         at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:773)
         at java.util.ResourceBundle.getBundle(ResourceBundle.java:538)
         at mypackage1.Application1.main(Application1.java:21)
    Can you show where error or you have some code about that issue, you can show me

Maybe you are looking for