06-21-2010 8:46 AM
Hi Experts i want to display text in text box in selection screen like
Personnal Number
Display in text box and disable................please help me
Edited by: BFawad26 on Jun 21, 2010 9:46 AM
06-21-2010 8:50 AM
Hi,
You mean to say parameter in selection screen
Just press F1 on parameter you will get all the option available for the parameter
for defaulting text just give your text in DEFAULT option for the parametr
And for disabling this checkbox you can explore the LOOP AT SCREEN concept
In at selection screen output event you can modify the selection screen.just give one modif id for your
paramete and use this at selection screen output event , loop at screen and modify screen with the screen input = 0
for ur parameter.
Thanx
Edited by: PawanG on Jun 21, 2010 9:51 AM
06-21-2010 9:07 AM
SELECTION-SCREEN BEGIN OF BLOCK b1.
PARAMETERS : P_1(4) TYPE c DEFAULT 'TEST'.
SELECTION-SCREEN END OF BLOCK b1.
AT SELECTION-SCREEN OUTPUT .
LOOP AT screen.
if screen-name = 'P_1'.
screen-input = 0.
MODIFY SCREEN.
endif.
ENDLOOP.
06-21-2010 9:07 AM
HI ,
You mean screen validation.
loop at screen
LOOP AT SCREEN.
IF screen-name = 'VAL'. < parameters or checkboxes >
screen-active = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
06-21-2010 9:20 AM
i mean i want to diplay label of the parameter........
in the text box
like we define the lable from
Goto-----> Text Elements -
> Selection Texts
i define that label in text box...........!
that define the i/o field........!
06-21-2010 9:28 AM
SELECTION-SCREEN BEGIN OF BLOCK b1.
PARAMETERS : P_1(4) TYPE c DEFAULT 'TEST'.
SELECTION-SCREEN END OF BLOCK b1.
AT SELECTION-SCREEN OUTPUT .
LOOP AT screen.
if screen-name = '%_P_1_%_APP_%-TEXT'.
screen-invisible = 1.
MODIFY SCREEN.
elseif screen-name = 'P_1'.
screen-input = 0.
MODIFY SCREEN.
endif.
ENDLOOP.
Edited by: cagatay ersoylu on Jun 21, 2010 10:29 AM
06-21-2010 9:33 AM
06-21-2010 9:36 AM
06-21-2010 9:39 AM
06-21-2010 9:50 AM
selection-screen begin of line.
selection-screen begin of comment 1(15) t1.
parameters: p1 type char5.
selection-screen end of line.
initialization.
t1 = 'My Text Here'.
try this..
06-21-2010 10:23 AM
This is very basic, please search for available information before posting, e.g. ABAP online help.
Thread locked.
Thomas