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: 

checkbox to be checked default

Former Member
0 Kudos

HI All,

I have a problem:

I created a field for checkbox in a structure. In the domain of that field I have given the datatype as Char with output lenght as 1. In the Value range tab, I have given as below:

Fixed Value Short text

-


-


X Yes

No

Now by default, the = sign is coming at NO value. I want the = sign at Yes value. How can I do this??

Basically I want to check checked by default. I cant do any modification in the program as its a standard one.

Please give me some idea on this.

Thanks,

Satish

10 REPLIES 10

hymavathi_oruganti
Active Contributor
0 Kudos

just click on the radibutton behind 'X'.

0 Kudos

just click on the radibutton behind 'X'.

where it is?? I didnt find.

I am creating this new domain in se11.

satish

0 Kudos

IN THE DOMAIN, VALUE RANGE U CAN SEE X AND SPACE.

THERE CLICK ON THE RADIBUTTON BEHIND 'X'.

0 Kudos

HI Hymavathi,

I didnt find any radiobutton behing 'X'. Its a text field where we can give some value.

plz tell me.

satish

0 Kudos

RADIO BUTTON MEANS HERE I MEAN THE BUTTON LEFT TO THE FIX VAL.

0 Kudos

If I click there its giving an error that

"Incorrect cursor position or object not included in navigation".

0 Kudos

Hi satish,

1. '=' means default value.

2. '=' will always be for ' ' (SPACE)

3. we cannot put '=' for other values like 'X'.

regards,

amit m.

Former Member
0 Kudos

Hi Satish,

Copy the program to a zprogram and do the changes..

In zprogram mention about the default value for a field.

I think this should solve the problem.

Regards,

Irfan Hussain

0 Kudos

Copy the program to a zprogram and do the changes..

I cant copy the program to a Z program, bcoz its related to ME22N tcode. I can only change in SE11. For that I am creating a new domain. There I am getting this problem

satish

former_member186741
Active Contributor
0 Kudos

I think such a field will always default to blank which means, no. What you could do is name your field differently so that it makes sense for the default to be 'false'. Reverse the meaning of the text label.

i.e., instead of having a flag with a label of 'include zero values', have a label of 'do not include zero values'. The default will still be 'no' but this will effectively mean 'include zero values'.