‎2007 Jul 17 6:03 AM
Hi all,
How to add a label in the selection screen.. I want to change this label value dynamically.. so here I can nt use comment text.. so please suggest me a way.
Thank you..
‎2007 Jul 17 6:09 AM
Hello,
Try this and don't forget to reward if found helpfull,
Give your text elements.
regards,
Rakesh.
*Selection screen comments
SELECTION-SCREEN COMMENT 2(75) text-013.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN COMMENT 2(75) text-012.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN COMMENT 2(75) text-014.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN COMMENT 2(75) text-016.
‎2007 Jul 17 6:10 AM
SELECTION-SCREEN BEGIN OF BLOCK B.
SELECT-OPTIONS <Your field>
PARAMETER <Your field>
SELECTION-SCREEN COMMENT /05(40) gf_text
SELECTION-SCREEN END OF BLOCK B.
AT SELECTION-SCREEN OUTPUT.
IF <>
gf_text = 'Yourt text -01'.
ESLE.
gf_text = 'Yourt text -02'.
ENDIF.
Regards,
A.Singh
‎2007 Jul 17 7:15 AM
Hi haritha,
try this code and desing ur selction screen formate depands on ur requirment
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP.
PARAMETER : id TYPE i.
SELECTION-SCREEN END OF BLOCK b1.
AT SELECTION-SCREEN ON id.
IF id = ' '.
MESSAGE 'Enter the valid number' TYPE 'W'.
ELSEIF id = 100.
CALL SCREEN 100. " desing the required screen formate
ELSE.
CALL SCREEN 200.
ENDIF.
i hope so it may give u some more idea..
if its helpull rewards me..
cheers,
chandru.s