dynamic type conflict when assigning references web dynpro
I am trying to edit the standard field label from Web Dynpro.
using this thread http://scn.sap.com/thread/1880239 I have done the things and I am getting the dump saying
"dynamic type conflict when assigning references web dynpro"
data lr_lbl type ref to cl_wd_label.
lr_lbl ?= view->get_element( 'LABEL1' ). "label1 is the ID of the label UI element
LR_LBL->SET_TEXT( 'New Text' ).
Could anyone pl let me know what is the error here and is there any other way to edit the standard labels.
Issue got resolved by enhancing the WD table.
Thanks for all who helped with their answers.