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

Reg : Check boxes

Former Member
0 Likes
558

Hi Experts ,

Im Having 3 select-options on my selection screen !!

after that im having 3 check boxes.. first checkbox default it wil be selected.

Now My query is ??

1. when i execute default the first check box & process has to be exexute ?

2. pls give an example abt at selsection-screen output.

Regs,

Narayana

Hi Experts ,

Im Having 3 select-options on my selection screen !!

after that im having 3 check boxes.. first checkbox default it wil be selected.

Now My query is ??

1. when i execute default the first check box & process has to be exexute ?

2. pls give an example abt at selsection-screen output.

Regs,

Narayana

3 REPLIES 3
Read only

Former Member
0 Likes
539

hi,

Chk this sample.

tables: mara, marc.
parameters: p_matnr like mara-matnr obligatory,
            p_matkl like mara-matkl,
            p_werks like marc-werks.
 
at selection-screen output.
   select mara~matnr mara~matkl marc~werks
          into (p_matnr, p_matkl, p_werks)
          from mara
          inner join marc
          on mara~matnr = marc~matnr
          where mara~matnr = p_matnr.
   endselect.

Regards

Reshma

Read only

Former Member
0 Likes
539

Hi,

First you have to check which check box has been set or clicked

using at user-command. Then write subroutnes to perform an action,

Reward if useful!

Read only

Former Member
0 Likes
539

HI

AT SELECTION-SCREEN OUTPUT

EXAMPLE

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN .

IF R1 EQ 'X' AND SCREEN-GROUP1 EQ 'S2'.

SCREEN-INPUT = 0.

MODIFY SCREEN.

ENDIF.

IF R2 EQ 'X' AND SCREEN-GROUP1 EQ 'S1'.

SCREEN-INPUT = 0.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

REWARD IF USEFUL