on 03-01-2013 11:45 AM
Hi,
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.
Thanks,
Sathishkumar GS
Hi,
Issue got resolved by enhancing the WD table.
Thanks for all who helped with their answers.
Best Regards,
Sathishkumar GS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
Can you Please explain me what is mean by enhancing webdynpro table..?
Thank you,
Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is always good practice to check whether lr_lbl is bound before you call any methods. The error also says there is a type error. Make sure you select the proper UI class for element LABEL1. It might be called LABEL, but is it actually a label?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
lr_lbl ?= view->get_element( 'LABEL1' ). in this statement please check LABEL ID
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check the ID of the label you are passing. Make sure that it is the ID of the label for which you want to change the text.
Best regards,
Arun Krishnamoorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.