‎2008 Aug 01 10:53 AM
Dear All
How do i write code which after a condtion has met should change the lable on the screen.
Thanks in advance
William
‎2008 Aug 01 11:02 AM
Hi Friend,
Declare a global variable (ex: WS_VAR) type C length 100.
Pass the default text at first to display. WS_VAR = 'Default Text'.
Use this variable to display in report/dialog program.
After some condition met, pass another text to this variable.
WS_VAR = 'Another Text'.
Hope it will help you.
Regards
Krishnendu
‎2008 Aug 01 10:55 AM
‎2008 Aug 01 10:58 AM
hi,
You can set label by this command.
SET GUI-TITLE 'title'.
And If any point you want to extract the Title use.
Sy-title.
Regards
Sumit Agarwal
‎2008 Aug 01 11:02 AM
‎2008 Aug 01 11:02 AM
Hi Friend,
Declare a global variable (ex: WS_VAR) type C length 100.
Pass the default text at first to display. WS_VAR = 'Default Text'.
Use this variable to display in report/dialog program.
After some condition met, pass another text to this variable.
WS_VAR = 'Another Text'.
Hope it will help you.
Regards
Krishnendu
‎2010 Sep 15 12:42 PM