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: 

input field enable

Former Member
0 Kudos

i m create 10 input fields i want a one field enable

i want a coding for this plz give me

and step bystep whats PBO ,PAI,MAIN PROGRAM coding

plz hlep me

2 REPLIES 2

Former Member
0 Kudos

Hi,

Pass the group1 values to the fields at the time of declarations.

example:

********

parameters: par1 type c modif id xyz.

********

And use the below syntax,

*********

at selection-screen output.

loop at screen.

if screen-group1 = 'xyz'.

screen-ACTIVE = '0'.

modify screen.

endif.

endloop.

************

And,

PBO means process before output.

it will execute before the selection screen is displayed.

PAI means Process after input.

It will execute after the input values entered and before the output is displayed.

Reward if it is helpful.

Regards,

Bhanu

Former Member
0 Kudos

hi,

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

parameters : p1 type c ,

p2 type c ,

p3 type c ,

p4 type c ,

p5 type c ,

p6 type c ,

p7 type c ,

p8 type c ,

p9 type c ,

p10 type c .

Selection-screen : end of block b1.

at selection-screen output.

loop at screen.

if screen-name = 'P1'.

screen-input = 0.

modify screen.

endif.

endloop.

then the field P1 is in disable mode(where you can no enter the data)

start-of-selection.

write : 'STart of Selection.