Skip to Content
avatar image
Former Member

Focus a Caption

Is there any way to focus a caption in Web DynPro ABAP?

We have a caption bound to a specific attribute X. When we call message_manager->report_attribute_error_message() passing this element X we get a message which is not "linked". We want the user to have a link which takes him/her to the caption.

It seems report_error_message only works for input fields but not for captions.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jan 09, 2009 at 02:57 AM

    hi Marc ,

    when you have binded that caption to a context attribute then wt ever value you will pass to that context attribute , caption will show it.and regarding message manager ,wtever parameter you will paas it will show you in message area with an error sign (in case error msg ).for further ,can u elaborate ur scene?



    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Try calling report_error_message and passing an element and attribute bound only to a caption. The message text will appear but you cannot click on it.

      If you do this with a textbox or other input element you can click on the message text and the textbox will be highlighted in red and focussed.

      Why does this not work with captions and how can we focus a caption?