Application Development and Automation 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: 
Read only

checkbox problem in Modulepool

Former Member
0 Likes
757

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

6 REPLIES 6
Read only

Former Member
0 Likes
727

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

Read only

Former Member
0 Likes
727

Hi,

Check checkbox property in screen painter. Are these assigned correctly.

Read only

Former Member
0 Likes
727

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.

Read only

Former Member
0 Likes
727

hi all thanks for the responses. I am working in Modulepool not selection screen. Please suggest accordingly

Thanks,

Ajay

Read only

Former Member
0 Likes
727

Hi Ajay,

Once check with the below program .

name : demo_dynpro_check_radio

Regards,

Phani.

Read only

dp_prasad
Participant
0 Likes
727

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.