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

about check box

Former Member
0 Likes
680

Hi Experts,

in my selection screen i have 3 check boxes. which maintain such that by default all the check boxes are tick. if i manually select one or two check box that data should be send to mail. which i not sent it should be disable. and should not be sent. to mail . we r using one function module for mail sending. so u give logic for checking the check boxes

my coding is

*screen declare

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

parameters : p_mail type mail ,

p_text1 type text1,

p_text2 type text2,

p_text3 type text3.

parameters : p_pack as checkbox default 'X',

p_cer as checkbox default 'X',

p_com as checkbox default 'X'.

selection-screen end of block b1.

at selection-screen output.

loop at screen.

if screen-group1 = '1'.

if val = 1.

screen-input = 0.

modify screen.

else.

val = 2.

screen-input = 1.

modify screen.

endif.

endif.

endloop.

1 ACCEPTED SOLUTION
Read only

RahulKeshav
Active Contributor
0 Likes
644

hi,

in the event START-OF-SELECTION.

if p_pack = 'X'.

fill internla table with the data.....

endif.

if p_cer = 'X'.

append to internla table with the data.....

endif.

if p_com = 'X'.

append to internla table with the data.....

endif.

send the mail.......

thnx

Rk

Hi Experts,

in my selection screen i have 3 check boxes. which maintain such that by default all the check boxes are tick. if i manually select one or two check box that data should be send to mail. which i not sent it should be disable. and should not be sent. to mail . we r using one function module for mail sending. so u give logic for checking the check boxes

my coding is

*screen declare

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

parameters : p_mail type mail ,

p_text1 type text1,

p_text2 type text2,

p_text3 type text3.

parameters : p_pack as checkbox default 'X',

p_cer as checkbox default 'X',

p_com as checkbox default 'X'.

selection-screen end of block b1.

at selection-screen output.

loop at screen.

if screen-group1 = '1'.

if val = 1.

screen-input = 0.

modify screen.

else.

val = 2.

screen-input = 1.

modify screen.

endif.

endif.

endloop.

4 REPLIES 4
Read only

RahulKeshav
Active Contributor
0 Likes
645

hi,

in the event START-OF-SELECTION.

if p_pack = 'X'.

fill internla table with the data.....

endif.

if p_cer = 'X'.

append to internla table with the data.....

endif.

if p_com = 'X'.

append to internla table with the data.....

endif.

send the mail.......

thnx

Rk

Read only

I355602
Product and Topic Expert
Product and Topic Expert
0 Likes
644

Hi,

Can you please explain a bit more on your requirement...

Regards,

Tarun

Read only

Former Member
0 Likes
644

i have 4 text fields up and 3 check boxes down in my selectiion screen.

they are

1.email address ?????? <--- entering email address

2. text -


3. text -


4. text -


1. packing list

2. certificate of compliance

3. commercial invoice

by default all check boxes are enable . so, which check box i selected that detail should be sent to mail.

which check box i am not selecting that check box should be disable and should not be sent to mail. .

here i am using for sending mail as CALL FUNCTION 'POPUP_GET_VALUES'

Read only

Former Member
0 Likes
644

This message was moderated.