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: 

about screen checkbox

Former Member
0 Kudos

hi freinds,

I execute a dypro program, then popup the results, but the result is including 'checkbox'.

How to let checkbox selected after displaying.

how to set the text of checkbox in programing.

IN pbo, I adde some coding liking below

Loop at screen.

if screen-name = 'check01'

or screen-name = 'check02'.

-


here, what should be input or set?

modify screen.

endif.

endloop.

please give me some help about this issue, thank you in advance

1 ACCEPTED SOLUTION

Former Member
0 Kudos

screen-name = 'check01' "wrong validation

it has to be

loop at screen.
screen-name = 'CHECK01'    " this has to be in CAPS
screen-input = '1'.
modify screen.
endloop.

regards,

vijay

4 REPLIES 4

Former Member
0 Kudos

screen-name = 'check01' "wrong validation

it has to be

loop at screen.
screen-name = 'CHECK01'    " this has to be in CAPS
screen-input = '1'.
modify screen.
endloop.

regards,

vijay

Former Member
0 Kudos

Hi,

WHile declaring the checkbox in parameters, set the default value as 'X',

which means the box is selected.

WHat do you mean by checkbox text?

If the field name is say p_checkbox, then it can have value 'X' or space.

Regards

Subramanian

0 Kudos

in the select screen,no checkbox,

But after executing, the result screen has checkbox. I will wanna it will be checked.

Former Member
0 Kudos

if it is a list(report).

data : chkbox.

write chkbox as checkbox <you can disable or enable it[input off]> .

if it is in module pool.

in pbo.

i.e . in abap code.

module pbo output.

loop at screen.

if scree-name = 'CHKBOX'.<your screen field name>

screen-input = '1'.

modify screen.

endif.

endloop.

endmodule.

regards

shiba dutta