‎2012 Mar 28 4:00 PM
Hi All,
I have a requirement to dynamically change the field lable for a custom modulepool program.I tried the following but its not working:
But if i execute the custom tcode the field label didn't changed dynamically and even the initial text also not displayed.
Hope the above process is currect,Pls let me know if anything is still missing.
Thanks in advance.
‎2012 Mar 28 4:26 PM
Could you debug and check if the variable is getting set properly in PBO?
BTW why is it LV_ ?? It should be a global variable in top include and not local variable.
‎2012 Mar 29 2:56 AM
I decleared in top include only,the field is getting populated in PBO
‎2012 Mar 29 3:40 AM
Try doing one thing. Start your application in debug mode (/h). Put a watchpoint on LV_FLDLBL. Check if the field is getting cleared somewhere. I suspect after setting the value your code is clearing it somewhere. Just check it.
‎2012 Mar 29 6:39 AM
I checked in debug,the variable has the values,this variable not been used in other part of the program
‎2012 Mar 28 6:16 PM
So, where in all this did you change the text for the fieldname? I see references to the field, I see that you've made it output only (not available for input), but I don't see where you changed the value stored for the text value (field) associated with the data field. So, what is the text field for the data field, and what is stored there?
‎2012 Mar 29 2:57 AM
I coded in PBO to fill the values into the variable,i can see the value in debug but still its not displaying in the screen output when i execute the Tcode.
‎2012 Mar 29 7:56 AM
HI
Did u activate your screen after changing. If yes then try defining the var LV_FLDLBL type String into PBO module.