Application Development 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: 

dynamic text for selection screen

Former Member
0 Kudos

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS: p_check AS CHECKBOX MODIF ID bk1.

SELECTION-SCREEN COMMENT 2(9) text-100 FOR FIELD p_check.

SELECTION-SCREEN POSITION POS_LOW.

SELECTION-SCREEN COMMENT 12(18) text-101 FOR FIELD s_bwart1.

SELECT-OPTIONS:s_bwart1 FOR mseg-bwart DEFAULT 411 TO 412.

SELECTION-SCREEN POSITION POS_HIGH.

SELECTION-SCREEN END OF LINE.

or

as for I know dynamic selection possible for parameter but not for text box. can anyone help here.............

Thanks

1 REPLY 1

anversha_s
Active Contributor
0 Kudos

hi,

see this..

REPORT ZXYZ_0002 .

selection-screen begin of block b1 with frame title text-001 .

selection-screen begin of line.

selection-screen comment 1(20) text_com for field p_expl.

selection-screen position 33.

parameters: p_expl as checkbox.

selection-screen end of line.

selection-screen end of block b1.

at selection-screen output.

text_com = 'This is the text'. " you can can this at runtime.

pls chk this link also.

http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbab6f35c111d1829f0000e829fbfe/content.htm

regards

anver

if helped pls amrk points