‎2009 Feb 05 6:02 AM
Hello Friends,
I have a problem with checkbox in mpdulepool. I have designed one check box in screen painter. When i click on that action is working properly but checkbox in the screen not showing as checked with tick mark .
Please suggest
Thanks in advance
Ajay
‎2009 Feb 05 6:16 AM
HI,
Even if u checkmark the checkbox it wont any effect untill u use modify the checkbox in a list.
Ckeck whether u declared the checkbox variable like this or not..
parameters:
p_checkbox as checkbox user-command UC
and let me know....
or else.
First you have to read the list and then modify
For example
MODIFY LINE linenumber
FIELD VALUE w_checkbox from w_checkbox.
write this syntax.it will work
Regards
Kiran
Edited by: Kiran Saka on Feb 5, 2009 7:16 AM
‎2009 Feb 05 6:16 AM
Hi,
Check checkbox property in screen painter. Are these assigned correctly.
‎2009 Feb 05 6:29 AM
Hi,
Have you declared parameters
PARAMETERS: P_CHECKBOX AS CHECKBOX USER-COMMAND flag.
If the TYPE addition is used to make a reference to a data type in the ABAP Dictionary of type CHAR and length 1, and for which t the valid values in the domain are defined as "X" and " ", the parameter is automatically displayed as a checkbox on the selection screen.
Regards,
Jyothi CH.
‎2009 Feb 05 6:33 AM
hi all thanks for the responses. I am working in Modulepool not selection screen. Please suggest accordingly
Thanks,
Ajay
‎2009 Feb 05 6:33 AM
Hi Ajay,
Once check with the below program .
name : demo_dynpro_check_radio
Regards,
Phani.
‎2009 Feb 05 6:36 AM
Did u declared the the name of the checkbox in the topinclude/main Program.?
REPORT ZTESTDP113 .
data : cb1(1). " <---Declaration
start-of-selection.
* " This screen has a Checkbox with name CB1
call screen 200.