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: 

Diplay Text in Text Box in selection Screen

Former Member
0 Kudos

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

10 REPLIES 10

former_member320332
Contributor
0 Kudos

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

Former Member
0 Kudos

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.

0 Kudos

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.

Former Member
0 Kudos

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

0 Kudos

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

former_member536879
Active Contributor
0 Kudos

Hi,

Please see the SCN rules before Posting.

With Regards,

Sumodh.P

Former Member
0 Kudos

Have you resolved this or you still need help?

0 Kudos

still want to help..............!

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

ThomasZloch
Active Contributor
0 Kudos

This is very basic, please search for available information before posting, e.g. ABAP online help.

Thread locked.

Thomas