Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Adding Label to Selection Screen..

Former Member
0 Likes
3,365

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..

3 REPLIES 3
Read only

Former Member
0 Likes
1,384

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.

Read only

Former Member
0 Likes
1,384

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

Read only

Former Member
0 Likes
1,384

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