|
||||||||||
| Home • Quiz • Tips • Tutorials • Functional • Cert Q's • Interview Q's • Jobs • Testimonials • Advertise • Contact Us | ||||||||||
Document Categories:
What's New?
Contribute?Sample SpecsWhat's Hot? |
Change Labels on screen at Run Time (Dialog programming)By Shweta Chavan, Hitachi Consulting Introduction In dialog programming we cannot change the labels on
screen dynamically. Labels act as constants and its value cannot be changed at
run time. This article will show you trick to change such label text at runtime.
Requirement Change label text on screen based on input selection. In
this demo, we have Test as checkbox on selection screen. We will be displaying
two ALVs on screen. So we have two container added on screen. We want to display
text line which will show whether it is ‘TEST’ mode or not. Text
of this label will be chosen based on value of checkbox on selection screen. Steps to Do On
required Screen add input/output field
Set
the properties of DYN_TEXT as below. Set Field as ‘Output only’.
Now
go to PBO section of Screen. Write down code on Module Status_1001.
Output
|
|
||||||||
|
Please send us your feedback/suggestions at webmaster@SAPTechnical.COM Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us ©2006-2007 SAPTechnical.COM. All rights reserved. All
product names are trademarks of their respective companies. SAPTechnical.COM
is in no way affiliated with SAP AG. Graphic Design by Round the Bend Wizards |
||||||||||