cancel
Showing results for 
Search instead for 
Did you mean: 

Webdynpro Highlight Fields

vinodkumar_thangavel
Participant
0 Kudos

Dear Friends,

Is there any way to highlight the UI elements both  without displaying the Error message.

Regards,

Vinodkumar.

Accepted Solutions (1)

Accepted Solutions (1)

prajeshdesai
Contributor
0 Kudos

If highlight means bold, try below

Select design property as emphasized.

Hope this helps.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi ,

yes we can HighLight the Particular field.

   DATA : lr_node           TYPE REF TO if_wd_context_node,

          lr_element        TYPE REF TO if_wd_context_element,

          ls_modified_cells TYPE salv_wd_s_table_mod_cell.

   lr_node = wd_context->get_child_node( name = 'TWO_WHEELER' )."Node

   lr_element = lr_node->get_element( index = '1' ).''Node index

   wd_comp_controller->error_messages_attribute(

      EXPORTING

       im_attribute = 'MAKE_MODEL'

       im_element = lr_element

       im_text = wd_assist->get_text( key = ' ') ).

     lv_error = 'X'.

If you dont want text leave it blank,else you can specify the Text it will display the error at particluar field.

Thanks & Regards

@Surendra@

ChrisSolomon
Active Contributor
0 Kudos

Can you explain a bit more your actual need/requirement to do this?

vinodkumar_thangavel
Participant
0 Kudos

Like i need the UI elements Both label & Input filed to be highlighted with some color so that the user should be able to identify the same , and this should be dynamic  Using Webdynpro ABAP whether this is possible .

former_member218528
Participant
0 Kudos

Hi Vinod,

* Please refer this link..

Highlight a input field when a error occurs | SCN

Regards,

  Rohan

vinodkumar_thangavel
Participant
0 Kudos

Hi Rohan,

Thanks for your input , but i need to high light the UI element without any message.Is that is possible ?

Regards,

Vinod.