02-10-2007 8:53 AM
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
02-10-2007 8:57 AM
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
02-10-2007 8:57 AM
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
02-10-2007 8:57 AM
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
02-10-2007 9:00 AM
in the select screen,no checkbox,
But after executing, the result screen has checkbox. I will wanna it will be checked.
02-10-2007 9:08 AM
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