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

Query

Former Member
0 Likes
1,100

Hi Guys,

I want to add 2 check boxes in existing selection screen of the Query.

Please let me know the step by step.

Reward is compulsary

regards,

vijay

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,076

Well, you can declare a variables like this:

parameter x as checkbox.

And then you can name this x anything you want in the selection text.

Regards,

Raman

10 REPLIES 10
Read only

Former Member
0 Likes
1,077

Well, you can declare a variables like this:

parameter x as checkbox.

And then you can name this x anything you want in the selection text.

Regards,

Raman

Read only

Former Member
0 Likes
1,076

Hi

declare the two checkboxes as:

PARAMETERS: C_CHK1 AS CHECKBOX,

C_CHK2 AS CHECKBOX.

IN THE CODE

if c_chk1 = 'X'.

< write the logic>

else.

< write the logic>

endif.

Reward Points if useful

Regards

Anji

Read only

Former Member
0 Likes
1,076

Is this for a usual ABAP program... or u talkin abt ABAP Query ??

Read only

0 Likes
1,076

In abap query i want to declare the check box.

regards,

vijay

Read only

Former Member
0 Likes
1,076

Hi Vijay,

Refer this code :

Parameters: C1 as chkbox,

C2. as chkbox.

start of selection.

If c1 = 'X'.

do this.........

elseif c2 = 'X'.

do this

endif.

Reward points if helpful.

Regards,

Hemant

Read only

Former Member
0 Likes
1,076

selection-screen : begin of block blk1 with frame title text-001.

parameters : chk1 as checkbox,

chk2 as checkbox.

selection-screen : end of block blk1.

reward with points if helpful

Read only

0 Likes
1,076

I have to declare these statements in SE38 or SQ02.

In se38 it is not allowing.

regards,

vijay

Read only

0 Likes
1,076

Hi vijay

so do one thing post ur code give ur requirement we will try to develop according to ur requirement

Regards

Pavan

Read only

0 Likes
1,076

u have to declare there statements in SE38.

reward if useful.

Read only

0 Likes
1,076

As per my exp with SQ02, whenever you change some thing a program gets generated (which will something like A***, and you cannot change that).

if you want to create a checkbox in your query in SQ02 then you need to do in SQ02 and not se38. I have no idea how to do that... i just added a condition to my existing query last time when i worked with SQ02.

Regards,

Raman